Ruijie Community

Title: How to make multiple Vlan in one SSID? [Print this page]

Author: zhangqiao@ruiji    Time: 2025-9-10 16:20
Title: How to make multiple Vlan in one SSID?
Topology



Configuration Steps
Create a VLAN group 1;
Configure the 802.1X mode as the VLAN assignment mode for VLAN group 1 that contains VLANs 10 to 15; Specify VLAN 10 as the default VLAN.

Hostname# configure terminal

Hostname(config)# aaa new-model

Hostname(config)# radius-server host 192.168.32.120

Hostname(config)# radius-server key key123

Hostname(config)# aaa authentication dot1x default group radius

Hostname(config)# aaa accounting network default start-stop group radius

Hostname(config)# vlan-group 1

Hostname(config-vlan-group)# vlan-assign-mode dot1x

Hostname(config-vlan-group)# vlan-list 10-15

Hostname(config-vlan-group)# default-vlan 10

Hostname(config-vlan-group)# exit



Create a WLAN instance.

Hostname(config)# dot11 wlan 1

Hostname(dot11-wlan-config)# ssid test

Hostname(dot11-wlan-config)# exit


Configure the mapping between the WLAN instance and the VLAN group.

Hostname(config)# interface dot11radio 1/0

Hostname(config-if-Dot11radio 1/0)# encapsulation dot1Q group 1

Hostname(config-if-Dot11radio 1/0)# wlan-id 1


Enable 802.1X authentication on the specified WLAN.

Hostname(config)# wlansec 1

Hostname(config-wlansec)# security rsn enable

Hostname(config-wlansec)# security rsn ciphers aes enable

Hostname(config-wlansec)# security rsn akm 802.1x enable

Hostname(config-wlansec)# exit



Verification
Check the configuration of VLAN group 1.

Hostname#show vlan-group 1

vlan-group id       mode        default-vlan vlan-list                                         1                   dot1x           10          10-15







Welcome to Ruijie Community (https://community.ruijie.com/) Powered by Discuz! X3.2