Ssid

The following scenario shows how to configure several WLAN networks to announce multiple virtual access point over the same radio.

../../../_images/wlanvaps.svg

Multi-network Configuration

Description

In this example, two WLAN interfaces will be created on top of the 2.4GHz or 5GHz radio module in access-point mode. The WLAN interfaces are identified by mean of a name with syntax wlan<index> and the SSID, announced in the wlan beacons, is configured by mean of the ssid param. Then, the ssid of both networks will be modified so the suffix _renamed will be added at the end. Finally, both networks will be deleted by mean of the delete command.

Scenario

Warning

Note that the maximum number of virtual access points that can be announced over the same radio module is limited by hardware. Also note that announcing to many networks decreases the overall performance of the deployment.

Step 1: Get the supported bands from wifi1 capabilities list:

admin@DUT0$ controllers wlan radios wifi1 show capabilities
Show output
Phy: wifi1
        modes: 802.11g,802.11n
        stations: 64
        bandwidths: 20MHz,40MHz
        bands: 2.4GHz
        tx-power: 11,10,13,12,15,14,17,16,19,18,1,3,2,5,4,7,6,9,20,8
        supported-channels: 11,10,13,12,14,1,3,2,5,4,7,6,9,8
        vaps: 2
        spatial-streams: 1,2
        ht-capabilities: [LDPC][TX-STBC][RX-STBC1]
        max-tx-power: 20

Step 2: Set the following configuration in DUT0:

set controllers wlan installation indoor
set controllers wlan radios wifi1 band 2.4GHz
set controllers wlan radios wifi1 channel 1
set interfaces 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_wlan4
set interfaces wlan wlan5 phy wifi1
set interfaces wlan wlan5 type access-point security akm none
set interfaces wlan wlan5 type access-point ssid network_2.4GHz_wlan5

Step 3: Set the following configuration in DUT0:

set interfaces wlan wlan4 type access-point ssid network_2.4GHz_wlan4_renamed
set interfaces wlan wlan5 type access-point ssid network_2.4GHz_wlan5_renamed

Note

Renaming the SSID will disconnect all stations associated to the access point.

Step 4: Set the following configuration in DUT0:

delete interfaces wlan wlan4
delete interfaces wlan wlan5

Note

WLAN interfaces are deleted just removing the parent node.

Step 5: Get the supported bands from wifi0 capabilities list:

admin@DUT0$ controllers wlan radios wifi0 show capabilities
Show output
Phy: wifi0
        modes: 802.11a,802.11ax,802.11ac,802.11n
        stations: 64
        bandwidths: 20MHz,80MHz,40MHz
        bands: 5GHz
        ht-capabilities: [LDPC][TX-STBC][RX-STBC1]
        tx-power: 11,10,13,12,15,14,17,16,19,18,1,3,2,5,4,7,6,9,20,8
        vht-capabilities: [SU-BEAMFORMEE][RXLDPC][BF-ANTENNA-4][TX-STBC-2BY1][SOUNDING-DIMENSION-2][SU-BEAMFORMER][HTC-VHT][MAX-MPDU-3895][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][MAX-A-MPDU-LEN-EXP7]
        supported-channels: 153,157,60,132,116,64,136,112,48,44,40,144,140,149,120,108,124,128,165,100,161,104,56,36,52
        spatial-streams: 1,2
        vaps: 2
        max-tx-power: 20

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 interfaces 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_wlan1
set interfaces wlan wlan2 phy wifi0
set interfaces wlan wlan2 type access-point security akm none
set interfaces wlan wlan2 type access-point ssid network_5GHz_wlan2

Step 7: Set the following configuration in DUT0:

set interfaces wlan wlan1 type access-point ssid network_5GHz_wlan1_renamed
set interfaces wlan wlan2 type access-point ssid network_5GHz_wlan2_renamed

Note

Renaming the SSID will disconnect all stations associated to the access point.

Step 8: Set the following configuration in DUT0:

delete interfaces wlan wlan1
delete interfaces wlan wlan2

Note

WLAN interfaces are deleted just removing the parent node.