In setting up these controllers for a VoWLAN deployment, QOS has come up.
IEEE 802.11e, IEEE 802.1P, and DSCP Mapping
WLAN data in a Unified Wireless network is tunneled via LWAPP (IP UDP packets). To maintain the QoS classification that has been applied to WLAN frames, a process of mapping classifications to and from DSCP to CoS is required.
For example, when WMM classified traffic is sent by a WLAN client, it has an IEEE 802.1P classification in its frame. The AP needs to translate this classification into a DSCP value for the LWAPP packet carrying the frame to ensure that the packet is treated with the appropriate priority on its way to the WLC. A similar process needs to occur on the WLC for LWAPP packets going to the AP.
A mechanism to classify traffic from non-WMM clients is also required, so that their LWAPP packets can also be given an appropriate DSCP classification by the AP and the WLC.
Figure 2-22 shows a numbered example of the traffic classification flow for a WMM client, an AP, and a WLC.
Figure 2-22 WMM and IEEE 802.1P Relationship
Step 1 A frame with a 802.1p marking and a packet with an IP DSCP marking arrive at the WLC wired interface. The IP DSCP of the packet is used to determine the DSCP of the LWAPP packet leaving the WLC, and the 802.1p value of the frame depends on the QoS translation table ( see Table 2-7), the QoS profile for the WLAN, and the Wired QoS Protocol configured for that QoS profile (Figure 2-16). If the Wired QoS Protocol is configured as “None”, then no 802.1p value is set, but if the protocol is set to 802.1p, then the 802.1p used depends on the translation table capped at a maximum value of 802.1p table value shown in Figure 2-16.
Step 2 The IP DSCP of the LWAPP packet reaching the AP will translate to an 802.11e CoS marking based on Table 2-7.
Step 3 The 802.11e CoS marking of a frame arriving at the AP translates to an LWAPP DSCP value based on Table 2-7, capped at the maximum value for that QoS profile.
Step 4 The DSCP of the packet leaving the WLC will be equal to the DSCP of the packet that left the WLAN client, but the 802.1p value depends on the QoS translation table (Table 2-7), QoS profile for the WLAN, and the Wired QoS Protocol configured for that QoS profile (Figure 2-16). If the Wired QoS Protocol is configured as “None”, then no 802.1p value is set, but if the protocol is set to 802.1p, then the 802.1p used depends on the translation table.
The multiple classification mechanisms and client capabilities require multiple strategies:
•LWAPP control frames require prioritization, and LWAPP control frames are marked with a DSCP classification of CS6.
•WMM-enabled clients have the classification of their frames mapped to a corresponding DSCP classification for LWAPP packets to the WLC. This mapping follows the standard IEEE CoS-to-DSCP mapping, with the exception of the changes necessary for QoS baseline compliance. This DSCP value is translated at the WLC to a CoS value on IEEE 802.1Q frames leaving the WLC interfaces.
•Non-WMM clients have the DSCP of their LWAPP tunnel set to match the default QoS profile for that WLAN. For example, the QoS profile for a WLAN supporting Cisco Unified Wireless IP Phone 7920s would be set to platinum, resulting in a DSCP classification of EF for data frames packets from that AP WLAN.
•LWAPP data packets from the WLC have a DSCP classification that is determined by the DSCP of the wired data packets sent to the WLC. The IEEE 80211.e classification used when sending frames from the AP to a WMM client is determined by the AP table converting DSCP to WMM classifications.
Note The WMM classification used for traffic from the AP to the WLAN client is based on the DSCP value of the LWAPP packet, and not the DSCP value of the contained IP packet. Therefore, it is critical that an end-to-end QoS system is in place.
So for QOS to work properly, DSCP must be trusted on the access point switch ports, while COS must be trusted on the WLC ports.
AP Switch Configuration
The QoS configuration of the AP switch is relatively trivial because the switch must trust the DSCP of the LWAPP packets that are passed to it from the AP. There is no CoS marking on the LWAPP frames coming from the AP. The following is an example of this configuration.
Note This configuration addresses only the classification, and that queueing commands may be added, depending on local QoS policy.
interface GigabitEthernet1/0/1
switchport access vlan 100
In trusting the AP DSCP values, the access switch is simply trusting the policy set for that AP by the WLC. The maximum DSCP value assigned to client traffic is based on the QoS policy applied to the WLANs on that AP.
WLC Switch Configuration
The QoS classification decision at the WLC-connected switch is a bit more complicated than at the AP-connected switch, because the choice can be to either trust the DSCP or the CoS of traffic coming from the WLC. In this decision there are a number of points to consider:
•Traffic leaving the WLC can be either upstream (to the WLC or network) or downstream (to the AP and WLAN clients). The downstream traffic is LWAPP encapsulated, and the upstream traffic is from AP and WLAN clients, either LWAPP encapsulated or decapsulated WLAN client traffic, leaving the WLC.
•DSCP values of LWAPP packets are controlled by the QoS policies on the WLC; the DSCP values set on the WLAN client traffic encapsulated by the LWAPP tunnel header has not been altered from those set by the WLAN client.
•CoS values of frames leaving the WLC are set by the WLC QoS policies, regardless of whether they are upstream, downstream, encapsulated, or decapsulated.
The following example illustrates choosing to trust the CoS of settings of the WLC. This allows a central location for the management of WLAN QoS, rather than having to manage the WLC configuration and an additional policy at the WLC switch connection. Other customers, intending to have a more precise degree of control, might implement QoS classification policies on the WLAN-client VLANs.
interface GigabitEthernet1/0/13
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 11-13,60,61