Switch(config)#
interface gigabitethernet 1/0/1
Switch(config-if)#
dot1x critical
Switch(config-if)#
dot1x critical recovery action reinitialize
Switch(config-if)#
dot1x critical vlan 20
Switch(config-if)#
end
Configuring 802.1x Authentication with WoL
Beginning in privileged EXEC mode, follow these steps to enable 802.1x authentication with WoL. This
procedure is optional.
SUMMARY STEPS
1.
configure terminal
2.
interface interface-id
3.
authentication control-direction
{
both
|
in
}
4.
end
5.
show authentication sessions interface interface-id
6.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Specifies the port to be configured, and enter interface
configuration mode.
interface interface-id
Example:
Switch(config)#
interface gigabitethernet2/0/3
Step 2
Enables 802.1x authentication with WoL on the port, and use
these keywords to configure the port as bidirectional or
unidirectional.
authentication control-direction
{
both
|
in
}
Example:
Switch(config-if)#
authentication
Step 3
•
both
—
Sets the port as bidirectional. The port cannot
receive packets from or send packets to the host. By
default, the port is bidirectional.
control-direction both
•
in
—
Sets the port as unidirectional. The port can send
packets to the host but cannot receive packets from the
host.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29434-01
277
Configuring IEEE 802.1x Port-Based Authentication
Configuring 802.1x Authentication with WoL