Data Rate Trimming
The following scenarios show how to configure WLAN-capable devices to remove slow rates, improve air time, and increase overall performance.
802.11g Data Rate Trimming
Description
In this example, a WLAN interface will be created on top of the 2.4 GHz
radio module. Then, several sets of 802.11g data rates will be disabled
so that slow rates do not penalize performance. Note that the
management rate will be automatically set to the slowest data rate allowed.
Scenario
Step 1: Set the following configuration in DUT0 :
set controllers wlan radios wifi1 band 2.4GHz set controllers wlan radios wifi1 channel 1 set controllers wlan radios wifi1 mode 802.11n set interfaces bridge br0 set interfaces wlan wlan4 bridge-group bridge br0 set interfaces wlan wlan4 phy wifi1 set interfaces wlan wlan4 type access-point security akm none set interfaces wlan wlan4 type access-point ssid network_2.4GHz set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
By default, when no 802.11g rate is disabled, the following rates are announced:
1(B), 2(B), 5.5(B), 11(B), 6, 9, 12, 18, 24, 36,
48, 54. Note that the basic rates are labeled (B) and must be supported
by clients in order to connect to the access point. The management data rate will be automatically set
to 1 Mbps.
Step 2: Run the command configure on DUT0 and expect no output.
Step 3: Run the command delete interfaces wlan wlan4 type access-point disable-rates on DUT0 and expect the following output:
Show output
Nothing to delete (the specified node does not exist)
Step 4: Run the command commit on DUT0 and expect no output.
Step 5: Set the following configuration in DUT0 :
set controllers wlan radios wifi1 band 2.4GHz set controllers wlan radios wifi1 channel 1 set controllers wlan radios wifi1 mode 802.11n set interfaces bridge br0 set interfaces wlan wlan4 bridge-group bridge br0 set interfaces wlan wlan4 phy wifi1 set interfaces wlan wlan4 type access-point disable-rates 802.11g 1,2,5.5,11 set interfaces wlan wlan4 type access-point security akm none set interfaces wlan wlan4 type access-point ssid network_2.4GHz set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
To disable the 802.11b rates, just disable the 1, 2, 5.5 and 11 data rates.
Note that no 802.11b station will be able to connect to the device. Performance can be further
increased by removing even more rates. Note that this operation has a direct impact on coverage, since
slower rates are less affected by noise. Also, the slowest data rate allowed will always be labeled
basic rate (since at least one of the supported rates must be marked as such).
Step 6: Set the following configuration in DUT0 :
set controllers wlan radios wifi1 band 2.4GHz set controllers wlan radios wifi1 channel 1 set controllers wlan radios wifi1 mode 802.11n set interfaces bridge br0 set interfaces wlan wlan4 bridge-group bridge br0 set interfaces wlan wlan4 phy wifi1 set interfaces wlan wlan4 type access-point disable-rates 802.11g 1,2,5.5,11,6,9 set interfaces wlan wlan4 type access-point security akm none set interfaces wlan wlan4 type access-point ssid network_2.4GHz set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
The previous example set the minimum speed to 12 Mbps.
Step 7: Set the following configuration in DUT0 :
set controllers wlan radios wifi1 band 2.4GHz set controllers wlan radios wifi1 channel 1 set controllers wlan radios wifi1 mode 802.11n set interfaces bridge br0 set interfaces wlan wlan4 bridge-group bridge br0 set interfaces wlan wlan4 phy wifi1 set interfaces wlan wlan4 type access-point disable-rates 802.11g 1,2,5.5,11,6,9,12,18 set interfaces wlan wlan4 type access-point security akm none set interfaces wlan wlan4 type access-point ssid network_2.4GHz set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
The previous example set the minimum speed to 24 Mbps.
Step 8: Expect a failure in the following command:
Set the following configuration in DUT0 :
set controllers wlan radios wifi1 band 2.4GHz set controllers wlan radios wifi1 channel 1 set controllers wlan radios wifi1 mode 802.11n set interfaces bridge br0 set interfaces wlan wlan4 bridge-group bridge br0 set interfaces wlan wlan4 phy wifi1 set interfaces wlan wlan4 type access-point disable-rates 802.11g 1,2,5.5,11,6,9,12,18,24,36,48,54 set interfaces wlan wlan4 type access-point security akm none set interfaces wlan wlan4 type access-point ssid network_2.4GHz set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
Disabling all rates is not allowed. A minimum of one is required for operation.
802.11a Data Rate Trimming
Description
In this example, a WLAN interface will be created on top of the 5 GHz
radio module. Then, several sets of 802.11a data rates will be disabled
so that slow data rates do not penalize performance. Note that
the management rate will be automatically set to the slowest data rate allowed.
Scenario
Step 1: Set the following configuration in DUT0 :
set controllers wlan installation indoor set controllers wlan radios wifi0 band 5GHz set controllers wlan radios wifi0 channel 36 set controllers wlan radios wifi0 mode 802.11ac set controllers wlan radios wifi0 mode 802.11ax set controllers wlan radios wifi0 mode 802.11n set interfaces bridge br0 set interfaces wlan wlan1 bridge-group bridge br0 set interfaces wlan wlan1 phy wifi0 set interfaces wlan wlan1 type access-point security akm none set interfaces wlan wlan1 type access-point ssid network_5GHz set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
By default, when no 802.11a rate is disabled, the following rates are announced:
6(B), 9, 12(B), 18, 24(B), 36, 48, 54. The management data
rate will be automatically set to 6 Mbps.
Step 2: Run the command configure on DUT0 and expect no output.
Step 3: Run the command delete interfaces wlan wlan1 type access-point disable-rates on DUT0 and expect the following output:
Show output
Nothing to delete (the specified node does not exist)
Step 4: Run the command commit on DUT0 and expect no output.
Note
Performance can be further increased by removing even more rates. Like the 802.11g rates, this
operation has a direct impact on coverage (since slower rates are less affected by noise).
Step 5: Set the following configuration in DUT0 :
set controllers wlan installation indoor set controllers wlan radios wifi0 band 5GHz set controllers wlan radios wifi0 channel 36 set controllers wlan radios wifi0 mode 802.11ac set controllers wlan radios wifi0 mode 802.11ax set controllers wlan radios wifi0 mode 802.11n set interfaces bridge br0 set interfaces wlan wlan1 bridge-group bridge br0 set interfaces wlan wlan1 phy wifi0 set interfaces wlan wlan1 type access-point disable-rates 802.11a 6,9 set interfaces wlan wlan1 type access-point security akm none set interfaces wlan wlan1 type access-point ssid network_5GHz set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
The previous example set the minimum speed to 12 Mbps.
Step 6: Set the following configuration in DUT0 :
set controllers wlan installation indoor set controllers wlan radios wifi0 band 5GHz set controllers wlan radios wifi0 channel 36 set controllers wlan radios wifi0 mode 802.11ac set controllers wlan radios wifi0 mode 802.11ax set controllers wlan radios wifi0 mode 802.11n set interfaces bridge br0 set interfaces wlan wlan1 bridge-group bridge br0 set interfaces wlan wlan1 phy wifi0 set interfaces wlan wlan1 type access-point disable-rates 802.11a 6,9,12,18 set interfaces wlan wlan1 type access-point security akm none set interfaces wlan wlan1 type access-point ssid network_5GHz set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
The previous example set the minimum speed to 24 Mbps.
Step 7: Expect a failure in the following command:
Set the following configuration in DUT0 :
set controllers wlan installation indoor set controllers wlan radios wifi0 band 5GHz set controllers wlan radios wifi0 channel 36 set controllers wlan radios wifi0 mode 802.11ac set controllers wlan radios wifi0 mode 802.11ax set controllers wlan radios wifi0 mode 802.11n set interfaces bridge br0 set interfaces wlan wlan1 bridge-group bridge br0 set interfaces wlan wlan1 phy wifi0 set interfaces wlan wlan1 type access-point disable-rates 802.11a 6,9,12,18,24,36,48,54 set interfaces wlan wlan1 type access-point security akm none set interfaces wlan wlan1 type access-point ssid network_5GHz set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
Disabling all rates is not allowed. A minimum of one is required for operation.