PLANET WGSW-52040 User Manual

Page 375

Advertising
background image

The following are configuration steps:

# Configure RADIUS server.

Switch(config)#radius-server authentication host 10.1.1.3

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

42-154

Advertising