Blocked Channels

The following scenarios show how to define a blocked-channels list, which tells the auto-channel selection algorithm the channels to skip when selecting the best channel. In practical terms, the behavior is the opposite of the channel plan where channels are explicitly allowed.

Non-Overlapping Channels On The 2.4GHz Band

Description

In this example, the 2.4 GHz radio controller will be configured to use auto-channel selection with channel plan 1,6,11. This configuration is very common because this is the largest list of non-overlapping channels on the 2.4 GHz band, ensuring the AP will not cause adjacent-channel interference.

Scenario

Step 1: Set the following configuration in DUT0 :

set controllers wlan radios wifi1 auto-channel-selection blocked-channels 2,3,4,5,7,8,9,10,12,13
set controllers wlan radios wifi1 band 2.4GHz
set controllers wlan radios wifi1 bandwidth 20MHz
set controllers wlan radios wifi1 mode 802.11n
set interfaces bridge br0 address 192.168.100.1/24
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'

Step 2: Run command controllers wlan radios wifi1 show at DUT0 and expect this output:

Show output
Radio: wifi1
         Status: up
           Band: 2.4GHz
        Channel: 11
      Bandwidth: 20MHz
       Tx-Power: 17dBm

Non-Radar Channels On The 5GHz Band

Description

In this example, the 5 GHz radio controller will be configured to use auto-channel selection with channel plan ${allowed_channels}. This configuration is used to avoid selecting radar channels (which require at least 1 minute of CAC before they start working): ${blocked_channels}.

Scenario

Step 1: Set the following configuration in DUT0 :

set controllers wlan installation indoor
set controllers wlan radios wifi0 auto-channel-selection blocked-channels 52,56,60,64,100,104,108,112,116,120,124,128,132,136,140,144,149,153,157,161,165
set controllers wlan radios wifi0 band 5GHz
set controllers wlan radios wifi0 bandwidth 20MHz
set controllers wlan radios wifi0 mode 802.11ac
set controllers wlan radios wifi0 mode 802.11n
set interfaces bridge br0 address 192.168.100.1/24
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'

Step 2: Run command controllers wlan radios wifi0 show at DUT0 and expect this output:

Show output
Radio: wifi0
         Status: up
           Band: 5GHz
        Channel: 48
      Bandwidth: 20MHz
       Tx-Power: 20dBm