Contents
- Introduction
- Introduction to Air Time Fairness (ATF) Phase 1
- Cisco Air Time Fairness (ATF) Use Cases
- ATF Modes of Operation
- Monitor Mode Configuration
- Per AP Monitoring Configuration
- Per AP Group Monitoring Configuration
- ATF Network Monitoring Configuration
- Monitoring ATF Statistics
- Disabling ATF Monitor Mode
- ATF Enforce-Policy Mode
- Steps to Configure ATF
- Create Policy
- Policy Enforcement on SSID
- Air Time Fairness–Client Fair Sharing (ATF—Phase 2)
- Feature Description
- Benefit
- ATF Configuration Overview
- Configuration for ATF Phase 2
- Creating ATF Client Fair Sharing Policies
- Configure and Enable ATF policy on the Network and per specific Radio Type
- Apply ATF Policy on WLANs
- Enable WLANs in Disabled State
- Client ATF Statistics
- ATF Client Statistics from WLC CLI
- Client Statistics on AP
Introduction
This document introduces ATF (Air Time Fairness) feature, and provides general guidelines for its deployment. The purpose of this document is to:
Introduction to Air Time Fairness (ATF) Phase 1
Traditional (wired) implementations of QOS regulate egress bandwidth. With wireless networking, the transmission medium is via radio waves that transmit data at varying rates. Instead of regulating egress bandwidth, it makes more sense to regulate the amount of airtime needed to transmit frames. Air Time Fairness (ATF) is a form of wireless QOS that regulates downlink airtime (as opposed to egress bandwidth). Large scale, high density Wi-Fi deployments are driving this feature. Wireless Network owners are mandating that their applications be allocated some fixed percentage of the total bandwidth of the Wi-Fi network. At the same time, with capital sharing being considered with multiple cellular providers, ATF is needed to ensure fairness of usage across operators.
Before a frame is transmitted, the ATF budget for that SSID is checked to ensure that there is sufficient airtime budget to transmit the frame. Each SSID can be thought of as having a token bucket (1 token = 1 microsecond of airtime). If the token bucket contains enough airtime to transmit the frame, it is transmitted over the air. Otherwise, the frame can either be dropped or deferred. While the concept of dropping a frame is obvious, deferring a frame deserves further explanation. Deferring a frame means that the frame is not admitted into the Access Category Queue (ACQ) . Instead, it remains in the Client Priority Queue (CPQ) and may be transmitted at a later time when the corresponding token bucket contains a sufficient number of tokens (unless the CPQ reaches capacity, at which point the frame will be dropped regardless). The majority of the work involved for ATF takes place on the access points. The wireless controller is used simply to configure the feature and display results.
Cisco Air Time Fairness (ATF) Use Cases
Public Hotspots (Stadium/Airport/Convention Center/Other)
In this instance a public network is sharing a WLAN between two (or more) service providers and the venue. Subscribers to each service provider can be grouped and each group can be allocated a certain percentage of airtime.
Education
In this instance, a university is sharing a WLAN between students, faculty, and guests. The guest network can be further partitioned by service provider. Each group can be assigned a certain percentage of airtime.
Enterprise or Hospitality or Retail
In this instance, the venue is sharing a WLAN between employees and guests. The guest network can be further partitioned by service provider. The guests could be sub-grouped by tier of service type with each subgroup being assigned a certain percentage of airtime, for example a paid group is entitled to more airtime than the free group.
Time Shared Managed Hotspot
In this instance, the business entity managing the hotspot, such as a service provider or an enterprise, can allocate and subsequently lease airtime to other business entities.
ATF Functionality and Capabilities
ATF policies are applied only in the downlink direction (AP transmitting frames to client). Only airtime in the downlink direction, that is AP to client, can be controlled accurately by the AP. Although airtime in the uplink direction, that is client to AP, can be measured, it cannot be strictly controlled. Although the AP can constrain airtime for packets that it sends to clients, the AP can only measure airtime for packets that it ‘hears’ from clients because it cannot strictly limit their airtime.
ATF policies are applied only on wireless data frames; management and control frames gets ignored.
When ATF is configured per-SSID, each SSID is granted airtime according to the configured policy.
ATF can be configured to either drop or defer frames that exceed their airtime policies. If the frame is deferred, it will be buffered and transmit at some point in the future when the offending SSID has a sufficient airtime budget. Of course, there is a limit as to how many frames can be buffered. If this limit is crossed, frames will be dropped regardless.
ATF can be globally enabled or disabled
ATF can be enabled or disabled on an individual access point, AP group or entire network
ATF will be supported on the 1260, 1570, 1700, 2600, 2700,3700,3600,3500, series access points in local and FlexConnect mode. (Mesh mode not supported)
ATF results and statistics are available on the wireless controller.
Monitor Mode Configuration
ProcedureThe Framework behind the ATF monitor mode is to allow the user to view and get the stats of overall Air Time being used i.e. to report the Air Time usage for all the AP transmissions. The ATF in monitor mode can be enabled on following levels:To configure ATF in monitor mode, perform the following steps:
Per AP Monitoring Configuration
Procedure
Per AP Group Monitoring Configuration
Procedure
ATF Network Monitoring Configuration
Procedure
Monitoring ATF Statistics
Procedure
Disabling ATF Monitor Mode
Procedure
Step 1 To disable the ATF monitoring navigate to WIRELESS > ATF > Monitor Configuration. Step 2 Choose the options AP Name, AP group and Network from the drop down menu, whichever the user has previously enabled. Select the Radio Type the user want to disable and click Disable.
Step 3 Click OK on the pop up conformation to disable the ATF.
ATF Enforce-Policy Mode
The Enforcement of Air Time is based on the configured Policy. The ATF Policy/Policies are set by user according to the network requirements.
Air-Time can be Enforced on following parameters:
Strict Enforcement per WLAN—Air-Time used by the WLANs on a Radio will be strictly enforced up to the configured limits in the Policies
Optimal Enforcement per WLAN—Share unused air-time from other SSIDs
Steps to Configure ATF
Create Policy
Procedure
Step 1 Navigate WIRELESS > ATF > Policy Configuration. Step 2 The Default policy is 10 and the user has to assign weight from 5 to 100.
Step 3 To create user own policy select the policy Id from the drop down menu and assign a name and weight. Here Weight is the percentage of Air Time which user want to assign to a policy.
Step 4 Click Create.
In the example we have created multiple policies with the name atf-80 and atf-20 with the Weights 80 and 20 respectively.
Policy Enforcement on SSID
Procedure
Note
First disable the WLANs on which you want to enable policy enforcement.
Once the policy is configured user can apply the policy to a particular WLAN or on all WLANs per AP group or on an individual AP.
Step 1 Naviage to the WLC main menu WIRELESS > ATF > Enforcement SSID Configuration.
Step 2 To configure it on the network Select the parameters Radio Type, Enforcement Type (can select either Optimized or Strict; by default Optimized is selected. Step 3 Click Enable under the Mode.
When applied, the webpage gives the popup warning to disable the WLAN id before configuring policy enforcement. Click Ok, if the WLAN is disabled the enforcement gets applied.
The policy Enforcement shows on Radios and also the Optimization shows Enabled.
Step 4 To enable strict enforcement policy then select Strict option under Enforcement type. Strict option does not allow sharing of its weighted ratio slot with other WLANs (SSIDs).
When the ATF configuration is done, then Enable the WLANs on which ATF was applied. Once the clients are associated to these WLANs user can view the ATF statistics under the ATF statistics page as previously shown in Monitoring ATF Statistics section.
The user can also run a speed test to verify the ATF by configuring two WLANs with different ATF policies.
In the example we have configured two ATF policies, one with weight 80 and other with weight 20.
We connected a wireless client to SSID with ATF policy with weight 80 configured and observe the effect of the ATF on this WLAN by run http://www.speedtest.net/
Connected the same wireless client to SSID with ATF policy with configured as 20 and observed the affects of the ATF on that WLAN. You should see speedtest performance on the download side is much slower. The test results might vary due to the air time availablity, interefrence and so on.
Air Time Fairness–Client Fair Sharing (ATF—Phase 2)
Feature Description
ATF Client Fair Sharing/per client entitlement is introduced in 8.2 release. Client fair share ensures the clients within a SSID/WLAN are treated equally based on their utilization of the radio bandwidth.
Benefit
Currently, as part of 8.1 MR2 and MR3 release, SSID based Airtime entitlement is accomplished. However, with SSID based Airtime Fairness, there is no guarantee for the clients within the SSID to be treated equally based on their utilization of the radio bandwidth. There is a potential risk where one or few clients shall end up utilizing the complete airtime allocated for a SSID/WLAN by ruining the opportunity of Wi-Fi experience for rest of the clients within the same SSID.
ATF Phase 1 (Without Client Fair Sharing)
To overcome this problem, in 8.2 release each ATF policy have a new option to turn on or off client fair sharing among clients associated to a policy. This option can be executed while creating, modifying the policy in the Wireless LAN Controller. Customer can use this option or feature to provide fair sharing of Airtime between clients associated to a SSID. As shown below all the clients associated to SSID gets equal air time.
ATF Phase 2 (With Client Fair Sharing)
ATF Configuration Overview
Procedure
Step 1 First configure WLANs on the controller. Step 2 Configure ATF Policies and enable ATF assign those policies to the WLANs. Step 3 Connect clients to the ATF enabled WLAN and use media stream applications such as YouTube or www.speedtest.net and observe throughput performance with different ATF policies and weights for downstream data traffic.
Creating ATF Client Fair Sharing Policies
Procedure
Step 1 On the Controller GUI under WIRELESS > ATF click Policy Configuration and configure Id Name. Id Name can be any intuitive name, in our example we are configuring the name atf20 and atf80) for weights of 20 and 80 respectively.
Step 2 Check the Client Fair Sharing box and hit Create to Create two policies. User can assign there own ATF policy weights in example below we are using 20 and 80.
The configuration sets the policy, which can be applied per radio.
The two Policy IDs and Weights define policy Id 1 with weight 20 and the second policy Id 2 with weight 80 and Client Fair Sharing shows Enabled.
Note Please note these policies have weighted ratios and not percentages, so the total can exceed 100. The minimum weight can be set to 10.
Configure and Enable ATF policy on the Network and per specific Radio Type
Procedure
Step 1 Navigate Wireless > ATF > Enforce SSID configuration. Step 2 Select Network and select Radio Type as 802.11a/b. Step 3 Choose the policy Enforcement Type asOptimized or Strict. Apply policy as Strict in the setup.
Note When policy configured as optimized then WLAN with that option applied to it can share its weighted slot with other WLANs if its own slot is not being used in the given time. Strict option does not allow sharing of its weighted ratio slot.
The policy displays that it has been enabled on 5GHz radio and is not Optimized but in Strict mode.
Apply ATF Policy on WLANs
Procedure
Step 1 Navigate Wireless > ATF > Policy Enforcement. Step 2 Select the WLAN Id and Policy Id. Step 3 Click Apply. We use ATF policy (atf20) for one WLAN and policy (atf80) for another WLAN as shown.
Once the policies are created and applied to the WLANs, users can check this by running show atf config wlan command from WLC CLI and also on the GUI.
You can see from the output that ATF policy configured WLANs are set with configured weights of 20 and 80 and the WLAN on which we did not apply the policy is set to default weight of 10. Also check that Client Fair Sharing shows Enabled for ATF polices we created.
Here is an example is from CLI to confirm the policies have been applied
Enable WLANs in Disabled State
Procedure
Step 1 Navigate toATF > Enforcement SSID Configuration settings.
Step 2 Connect two wireless clients to SSID that is configured with policy 80 and observe the effect of the ATF on this WLAN. Step 3 Run www.speedtest.net simultaneously on the clients at the same time. The test results might vary due to the clients capability, interference and other factors.
Step 4 Connect a wireless Client to SSID configured with ATF policy and observe the effects of the ATF on that WLAN. You should see speedtest performance on the download the test results might vary due to the clients capability, interference and other factors.
Client ATF Statistics
Procedure
Step 1 Navigate WIRELESS > ATF > ATF Statistics and then select the AP Name from the drop down menu to which the clients are connected.
ATF Statistics page appears where user can view all the ATF enabled WLAN statistics.Step 2 To have a granular view of ATF client fair sharing statistics click WLAN id which has client fair sharing enabled as shown.
Step 3 Clicking the client MAC address, users can view the WLAN ATF stats as well as client ATF statistics for all the clients associated with that particular WLAN.
Copyright © 2015, Cisco Systems, Inc. All rights reserved.