Configuration Guide Configuring WLAN-VLAN Mapping
Ruijie(config)# dot11 wlan 100
Ruijie(dot11-wlan-config)# vlan-group-id 100
Ruijie(dot11-wlan-config)# end
Ruijie(config)# interface dot11radio 1/0.1
Ruijie(config-subif)# encapsulation dot1Q group 10
Ruijie(config-subif)# end
Ruijie(config)# interface dot11radio 1/0
Ruijie(config-if-Dot11radio 1/0)# wlan-id 100
On an AC, use the following commands to map a WLAN to a VLAN group.
Command Function
Ruijie# configure terminal
Enters global configuration mode.
Ruijie(config)# ap-group group-name
Creates an AP group and enter the AP group
configuration mode.
Ruijie(config-ap-group)# interface-mapping wlan-id
group group-id
Maps the WLAN to the VLAN group.
Ruijie(config-ap-group)# end
Exits from AP group configuration mode.
The example below shows how to map WLAN 100 to VLAN group 100 for the AP group default on an AC:
Ruijie(config)# ap-group default
Ruijie(config-ap-group)# interface-mapping 100 vlan-group 100
Showing VLAN Group Configuration
In privileged EXEC mode, use the following command to show VLAN group configuration.
Command Function
Ruijie# show vlan-group [ group-id ]
Shows configuration information about a specific VLAN
group or all VLAN groups.
The example below shows how to show configuration information about all VLAN groups.
Ruijie# show vlan-group
VLAN-Group ID Default-VLAN Assign-Mode VLAN-List
------------- ------------ ----------------- ---------------------------------------
100 10 dhcp-server-state 1-10,21-30,51-70
120 NA dot1x 110-130,141-150
Typical WLAN-VLAN Mapping Configuration Examples
Examples for Configuring the 802.1x-Based VLAN Assignment Mode
Networking Requirements