User Guide
574
Configuring 802.1x
Configuration Example
Figure 3-6
Configuring Port
6) Click
to save the settings.
3.5 Using the CLI
1) Configure the RADIUS parameters.
Switch_A(config)#radius-server host 192.168.0.10 auth-port 1812 key 123456
Switch_A(config)#aaa group radius RADIUS1
Switch_A(aaa-group)#server 192.168.0.10
Switch_A(aaa-group)#exit
Switch_A(config)#aaa authentication dot1x default RADIUS1
2) Globally enable 802.1x authentication and set the authentication protocol.
Switch_A(config)#dot1x system-auth-control
Switch_A(config)#dot1x auth-protocol eap
3) Disable 802.1x authentication on port 1/0/2 and port 1/0/3. Enable 802.1x
authentication on port 1/0/1, set the control mode as auto, and set the control type as
MAC based.
Switch_A(config)#interface fastEthernet 1/0/2
Switch_A(config-if)#no dot1x
Switch_A(config-if)#exit
Downloaded from