Example #1: Allow the Switch to Accept RADIUS-Assigned VLANs
The RADIUS server can place a port in a particular VLAN based on the result of the authentication. The
command in this example allows the switch to accept VLAN assignment by the RADIUS server.
NOTE:
The feature is available in release 2.1 and later.
console#config
console(config)#aaa authorization network default radius
Example #2: Enable Guest VLANs
This example shows how to set the guest VLAN on interface 1/g20 to VLAN 100. This command
automatically enables the Guest VLAN Supplicant Mode on the interface.
NOTE:
Define the VLAN before configuring an interface to use it as the guest VLAN.
console#configure
console(config)#interface ethernet 1/g20
console(config-if-1/g20)#dot1x guest-vlan 100
console(config-if-1/g20)# <CTRL+Z>
console#show dot1x advanced ethernet 1/g20
Port
Guest
VLAN
---------
---------
1/g20
102
Device Security
Unauthenticated
Vlan
---------------
Disabled
Disabled