Quality of Service
Quality of service (QoS) refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics.
The controller supports four QoS levels:
-
Platinum/Voice—Ensures a high quality of service for voice over wireless.
-
Gold/Video—Supports high-quality video applications.
-
Silver/Best Effort—Supports normal bandwidth for clients. This is the default setting.
-
Bronze/Background—Provides the lowest bandwidth for guest services.
Note
VoIP clients should be set to Platinum.
You can configure the bandwidth of each QoS level using QoS profiles and then apply the profiles to WLANs. The profile settings are pushed to the clients associated to that WLAN. In addition, you can create QoS roles to specify different bandwidth levels for regular and guest users. Follow the instructions in this section to configure QoS profiles and QoS roles. You can also define the maximum and default QoS levels for unicast and multicast traffic when you assign a QoS profile to a WLAN.
The wireless rate limits can be defined on both upstream and downstream traffic. Rate limits can be defined per SSID and/or specified as a maximum rate limit for all clients. These rate limits can be individually configured.
This section contains the following subsections:
QoS Profiles
Cisco UWN solution WLANs support four levels of QoS: Platinum/Voice, Gold/Video, Silver/Best Effort (default), and Bronze/Background. You can configure the voice traffic WLAN to use Platinum QoS, assign the low-bandwidth WLAN to use Bronze QoS, and assign all other traffic between the remaining QoS levels.
The WLAN QoS level defines a specific 802.11e user priority (UP) for over-the-air traffic. This UP is used to derive the over-the-wire priorities for non-WMM traffic, and it also acts as the ceiling when managing WMM traffic with various levels of priorities.
The wireless rate limits can be defined on both upstream and downstream traffic. Rate limits can be defined per SSID and/or specified as a maximum rate limit for all clients. These rate limits can be individually configured.
The access point uses this QoS-profile-specific UP in accordance with the values in the following table to derive the IP DSCP value that is visible on the wired LAN.
AVVID Traffic Type |
AVVID IP DSCP |
QoS Profile |
AVVID 802.1p |
IEEE 802.11e UP |
---|---|---|---|---|
Network control |
56 (CS7) |
Platinum |
7 |
7 |
Inter-network control (CAPWAP control, 802.11 management) |
48 (CS6) |
Platinum |
6 |
7 |
Voice |
46 (EF) |
Platinum |
5 |
6 |
Interactive video |
34 (AF41) |
Gold |
4 |
5 |
Mission critical |
26 (AF31) |
Gold |
3 |
4 |
Transactional |
18 (AF21) |
Silver |
2 |
3 |
Bulk data |
10 (AF11) |
Bronze |
1 |
2 |
Best effort |
0 (BE) |
Silver |
0 |
0 |
Scavenger |
2 |
Bronze |
0 |
1 |
Note |
The IEEE 802.11e UP value for DSCP values that are not mentioned in the table is calculated by considering 3 most significant bits of DSCP. For example, the IEEE 802.11e UP value for DSCP 32 (100 000 in binary), would be the decimal equivalent of the MSB (100) which is 4. The 802.11e UP value of DSCP 32 is 4. |
This section contains the following subsections:
Configuring QoS Profiles (GUI)
Procedure
Step 1 |
Disable the 802.11a and 802.11b/g networks so that you can configure the QoS profiles. To disable the radio networks, choose Wireless > 802.11a/n/ac or 802.11b/g/n > Network, unselect the 802.11a (or 802.11b/g) Network Status check box, and click Apply. |
||
Step 2 |
Choose Wireless > QoS > Profiles to open the QoS Profiles page. |
||
Step 3 |
Click the name of the profile that you want to configure to open the Edit QoS Profile page. |
||
Step 4 |
Change the description of the profile by modifying the contents of the Description text box. |
||
Step 5 |
Define the data rates on a per-user basis as follows: |
||
Step 6 |
Define the data rates on a per-SSID basis as follows: |
||
Step 7 |
Define the maximum and default QoS levels for unicast and multicast traffic when you assign a QoS profile to a WLAN. |
||
Step 8 |
Choose 802.1p from the Protocol Type drop-down list and enter the maximum priority value in the 802.1p Tag text box to define the maximum value (0–7) for the priority tag associated with packets that fall within the profile. The tagged packets include CAPWAP data packets (between access points and the controller) and packets sent toward the core network.
|
||
Step 9 |
Click Apply. |
||
Step 10 |
Click Save Configuration. |
||
Step 11 |
Reenable the 802.11 networks. To enable the radio networks, choose Wireless > 802.11a/n/ac or 802.11b/g/n > Network, select the 802.11a (or 802.11b/g) Network Status check box, and click Apply. |
||
Step 12 |
Choose WLANs and select a WLAN ID to apply the new QoS profile to it. |
||
Step 13 |
In the WLAN > Edit page, go to the QoS tab and select the QoS Profile type from the Quality of Service drop-down list. The QoS profile will add the rate limit values configured on the controller on per WLAN, per radio and per AP basis. For example, if upstream rate limit of 5Mbps is configured for a QoS profile of type silver, then every WLAN that has silver profile will limit traffic to 5Mbps (5Mbps for each wlan) on each radio and on each AP where the WLAN is applicable. |
||
Step 14 |
Click Apply. |
||
Step 15 |
Click Save Configuration. |
Configuring QoS Profiles (CLI)
Procedure
Step 1 |
Disable the 802.11a and 802.11b/g networks so that you can configure the QoS profiles by entering these commands: config 802.11{a | b} disable network |
||||
Step 2 |
Change the profile description by entering this command: config qos description {bronze | silver | gold | platinum }description |
||||
Step 3 |
Define the average data rate for TCP traffic per user or per SSID by entering this command: config qos average-data-rate {bronze | silver | gold | platinum} {per-ssid | per-client} {downstream | upstream} rate
|
||||
Step 4 |
Define the peak data rate for TCP traffic per user or per SSID by entering this command: config qos burst-data-rate {bronze | silver | gold | platinum} {per-ssid | per-client} {downstream | upstream} rate |
||||
Step 5 |
Define the average real-time data rate for UDP traffic per user or per SSID by entering this command: config qos average-realtime-rate {bronze | silver | gold | platinum} {per-ssid | per-client} {downstream | upstream} rate |
||||
Step 6 |
Define the peak real-time data rate for UDP traffic per user or per SSID by entering this command: config qos burst-realtime-rate {bronze | silver | gold | platinum} {per-ssid | per-client} {downstream | upstream} rate |
||||
Step 7 |
Define the maximum and default QoS levels for unicast and multicast traffic when you assign a QoS profile to a WLAN by entering this command: config qos priority {bronze | gold | platinum | silver} maximum-priority default-unicast-priority default-multicast-priority You choose from the following options for the maximum-priority , default-unicast-priority , and default-multicast-priority parameters:
|
||||
Step 8 |
Define the maximum value (0–7) for the priority tag associated with packets that fall within the profile, by entering these commands: config qos protocol-type {bronze | silver | gold | platinum} dot1p config qos dot1p-tag {bronze | silver | gold | platinum} tag The tagged packets include CAPWAP data packets (between access points and the controller) and packets sent toward the core network.
|
||||
Step 9 |
Reenable the 802.11a and 802.11b/g networks so that you can configure the QoS profiles by entering these commands: config 802.11{a | b} enable network |
||||
Step 10 |
Apply the new QoS profile to a WLAN, by entering these commands: |
Assigning a QoS Profile to a WLAN (GUI)
Before you begin
If you have not already done so, configure one or more QoS profiles using the instructions in the Configuring QoS Profiles (GUI) section.
Procedure
Step 1 |
Choose WLANs to open the WLANs page. |
||
Step 2 |
Click the ID number of the WLAN to which you want to assign a QoS profile. |
||
Step 3 |
When the WLANs > Edit page appears, choose the QoS tab. |
||
Step 4 |
From the Quality of Service (QoS) drop-down list, choose one of the following:
|
||
Step 5 |
To define the data rates on a per-user basis, do the following: |
||
Step 6 |
To define the data rates on a per-SSID basis, do the following: |
||
Step 7 |
Save the configuration. |
Assigning a QoS Profile to a WLAN (CLI)
Procedure
Step 1 |
Assign a QoS profile to a WLAN by entering this command: config wlan qos wlan_id {bronze | silver | gold | platinum} Silver is the default value. |
Step 2 |
To override QoS profile rate limit parameters, enter this command: config wlan override-rate-limit wlan-id {average-data-rate | average-realtime-rate | burst-data-rate | burst-realtime-rate} {per-ssid | per-client} {downstream | upstream} rate |
Step 3 |
Enter the save config command. |
Step 4 |
Verify that you have properly assigned the QoS profile to the WLAN by entering this command: show wlan wlan_id Information similar to the following appears:
|
Quality of Service Roles
After you configure a QoS profile and apply it to a WLAN, it limits the bandwidth level of clients associated to that WLAN. Multiple WLANs can be mapped to the same QoS profile, which can result in bandwidth contention between regular users (such as employees) and guest users. In order to prevent guest users from using the same level of bandwidth as regular users, you can create QoS roles with different (and presumably lower) bandwidth contracts and assign them to guest users.
You can configure up to ten QoS roles for guest users.
Note |
If you choose to create an entry on the RADIUS server for a guest user and enable RADIUS authentication for the WLAN on which web authentication is performed rather than adding a guest user to the local user database from the controller, you need to assign the QoS role on the RADIUS server itself. To do so, a “guest-role” Airespace attribute called the Airespace-Guest-Role-Name with the attribute identifier value of 11 and the datatype of string, which should match the name of the “guest-role” configured on the controller, needs to be added on the RADIUS server. This attribute is sent to the controller when authentication occurs. If a role with the name returned from the RADIUS server is found configured on the controller, the bandwidth associated with that role is enforced for the guest user after authentication completes successfully. Ensure that the Layer 3 security of Web Policy is configured on the WLAN before the AAA parameter is processed by the controller. If the WLAN does not have a Layer 3 Security of Web Policy, the AAA parameter is ignored. |
This section contains the following subsections:
Configuring QoS Roles (GUI)
Procedure
Step 1 |
Choose to open the QoS Roles for the Guest Users page.This page shows any existing QoS roles for guest users.
|
||||
Step 2 |
Click New to create a new QoS role. The QoS Role Name > New page appears. |
||||
Step 3 |
In the Role Name text box, enter a name for the new QoS role. The name should uniquely identify the role of the QoS user (such as Contractor, Vendor, and so on). |
||||
Step 4 |
Click Apply. |
||||
Step 5 |
Click the name of the QoS role to edit the bandwidth of a QoS role. The Edit QoS Role Data Rates page appears.
|
||||
Step 6 |
Define the average data rate for TCP traffic on a per-user basis by entering the rate in Kbps in the Average Data Rate text box. You can enter a value between 0 and 60,000 Kbps (inclusive). A value of 0 imposes no bandwidth restriction on the QoS role. |
||||
Step 7 |
Define the peak data rate for TCP traffic on a per-user basis by entering the rate in Kbps in the Burst Data Rate text box. You can enter a value between 0 and 60,000 Kbps (inclusive). A value of 0 imposes no bandwidth restriction on the QoS role.
|
||||
Step 8 |
Define the average real-time rate for UDP traffic on a per-user basis by entering the rate in Kbps in the Average Real-Time Rate text box. You can enter a value between 0 and 60,000 Kbps (inclusive). A value of 0 imposes no bandwidth restriction on the QoS role. |
||||
Step 9 |
Define the peak real-time rate for UDP traffic on a per-user basis by entering the rate in Kbps in the Burst Real-Time Rate text box. You can enter a value between 0 and 60,000 Kbps (inclusive). A value of 0 imposes no bandwidth restriction on the QoS role.
|
||||
Step 10 |
Click Apply. |
||||
Step 11 |
Click Save Configuration. |
||||
Step 12 |
Apply a QoS role to a guest user by following the instructions in the Configuring Local Network Users for the Controller (GUI) section. |
Configuring QoS Roles (CLI)
Procedure
Step 1 |
Create a QoS role for a guest user by entering this command: config netuser guest-role create role_name
|
||||||
Step 2 |
Configure the bandwidth contracts for a QoS role by entering these commands:
|
||||||
Step 3 |
Apply a QoS role to a guest user by entering this command: config netuser guest-role apply username role_name For example, the role of Contractor could be applied to guest user jsmith .
|
||||||
Step 4 |
Save your changes by entering this command: save config |
||||||
Step 5 |
See a list of the current QoS roles and their bandwidth parameters by entering this command: show netuser guest-roles Information similar to the following appears:
|
QoS Map
The QoS Map feature maintains the QoS policies in situations where appropriate QoS markings that match the application type are not marked by clients or applications. The administrator gets to map the differentiated services code point (DSCP) to user priority (UP) values and also is able to mark from UP to DSCP in a controller.
With QoS in enabled state, the QoS feature is advertised by the AP in the frame. The map is propagated through a frame to a compatible device when it associates or re-associates with the network.
With QoS in disabled state, the default map is propagated to the AP and the clients from controller.
This feature is supported on all Cisco AP models.
This section contains the following subsections:
Guidelines and Restrictions for QoS Map
-
You can configure QoS Map only when this feature is in disabled state.
-
This feature does not function with non-801.11u supported hardware. The frames with QoS map is not sent to these clients, yet, the packets sent by these clients follow the DSCP-UP map that you have configured.
-
Ensure that you configure all UP values from 0 to 7 before QoS Map is enabled.
-
Ensure the DSCP range for each user priority is non-overlapping.
-
Ensure the DSCP High Value is greater than or equal to the DSCP Low Value.
-
You can configure up to 21 exceptions at a time.
-
You must disable your network before you can enable QoS maps.
-
The Trust DSCP Upstream feature does not have any dependency on the QoS Map feature. If you do not want to use any QoS Map features and want to leave it disabled, but do want to trust the upstream client DSCP markings, we recommend that you enable Trust DSCP Upstream using the CLI. Use of the CLI to enable or disable Trust DSCP Upstream circumvents the GUI restriction to disable the 802.11 networks.
Configuring QoS Map (GUI)
Before you begin
We recommend that you disable QoS Map to change the QoS map configuration. When the QoS map is disabled, the DSCP values reset to default values automatically.
Note |
|
Procedure
Step 1 |
Disable the 802.11a/n/ac and 802.11b/g/n networks so that you can configure the QoS map. To disable the radio networks, choose Wireless > 802.11a/n/ac or 802.11b/g/n > Network, uncheck the 802.11a (or 802.11b/g) Network Status check box, and click Apply. |
Step 2 |
Choose QoS map page. to open the |
Step 3 |
To disable the QoS Map feature, perform the following steps:
|
Step 4 |
To modify the UP to DSCP Map, perform the following steps:
|
Step 5 |
To create a DSCP exception, perform the following steps:
|
Step 6 |
To delete a DSCP Exception, hover your cursor over the blue drop-down arrow for the DSCP Exception and click Remove. Click OK when you are prompted to confirm your action. |
Step 7 |
To clear the DSCP Exception list, click Clear ALL. |
Step 8 |
Check or uncheck the Trust DSCP UpStream check box to enable or disable the marking of the upstream packets. |
Step 9 |
To enable the QoS Map feature, choose Enable from the QoS Map drop-down list. |
Step 10 |
Click Apply. |
Step 11 |
Reenable the 802.11 networks. To enable the radio networks, choose Wireless > 802.11a/n/ac or 802.11b/g/n > Network, check the 802.11a (or 802.11b/g) Network Status check box. |
Step 12 |
Save your configuration. |