QTECH QSW-2800 Инструкция по настройке User Manual

Page 311

Advertising
background image

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1

297

Switch(config)#radius-server accounting host 10.1.1.3

Switch(config)#radius-server key test

Switch(config)#aaa enable

Switch(config)#aaa-accounting enable

# Create VLAN100.

Switch(config)#vlan 100

# Enable the global 802.1x function

Switch(config)#dot1x enable

# Enable the 802.1x function on port Ethernet1/2

Switch(config)#interface ethernet1/2

Switch(Config-If-Ethernet1/2)#dot1x enable

# Set the link type of the port as access mode.

Switch(Config-If-Ethernet1/2)#switch-port mode access

# Set the access control mode on the port as portbased.

Switch(Config-If-Ethernet1/2)#dot1x port-method portbased

# Set the access control mode on the port as auto.

Switch(Config-If-Ethernet1/2)#dot1x port-control auto


# Set the port’s Guest VLAN as 100.

Switch(Config-If-Ethernet1/2)#dot1x guest-vlan 100

Switch(Config-If-Ethernet1/2)#exit

Using the command of show running-config or show interface ethernet 1/2, users can

check the configuration of Guest VLAN. When there is no online user, no failed user

authentication or no user gets offline successfully, and more authentication-triggering

messages (EAP-Request/Identity) are sent than the upper limit defined, users can check

whether the Guest VLAN configured on the port takes effect with the command show vlan id

100.

Advertising