Configuring Control-Direction (Wake-on-LAN)
This example shows how to configure Control-Direction (Wake-on-LAN):
Router> enable
Router# configure terminal
Router(config)# interface gigabitethernet 0
Router(config-if)# authentication control-direction both
Router(config-if)# end
Router#
Use the show authentication sessions and show dot1x commands to verify the default control-direction setting-both:
Router# show authentication sessions interface Gi0
Interface: GigabitEthernet0
MAC Address: 0201.0201.0201
IP Address: Unknown
User-Name: testUser1
Status: Authz Success
Domain: DATA
Oper host mode: single-host
Oper control dir: both
Authorized By: Authentication Server
Vlan Group: N/A
AAA Policies:
Session timeout: N/A
Idle timeout: N/A
Common Session ID: 03030303000000000000BA04
Acct Session ID: 0x00000001
Handle: 0x6D000001
Runnable methods list:
Method State
dot1x Authc Success
Router#
Router# show dot1x int g0
Dot1x Info for GigabitEthernet0
-----------------------------------
PAE = AUTHENTICATOR
PortControl = AUTO
ControlDirection = Both
HostMode = SINGLE_HOST
QuietPeriod = 60
ServerTimeout = 0
SuppTimeout = 30
ReAuthMax = 2
MaxReq = 2
TxPeriod = 30
Use the show authentication sessions and show dot1x commands to verify the authentication control-direction setting-in:
Router# show authentication sessions interface gi0
Interface: GigabitEthernet0
MAC Address: 0201.0201.0201
IP Address: Unknown
User-Name: testUser1
Status: Authz Success
Domain: DATA
Oper host mode: single-host
Oper control dir: in
Authorized By: Authentication Server
Vlan Group: N/A
AAA Policies:
Session timeout: N/A
Idle timeout: N/A
Common Session ID: 030303030000000C00310024
Acct Session ID: 0x0000000F
Handle: 0x8C00000D
Runnable methods list:
Method State
dot1x Authc Success
Router# show dot1x interface g0
Dot1x Info for GigabitEthernet0
-----------------------------------
PAE = AUTHENTICATOR
PortControl = AUTO
ControlDirection = In
HostMode = SINGLE_HOST
QuietPeriod = 60
ServerTimeout = 0
SuppTimeout = 30
ReAuthMax = 2
MaxReq = 2
TxPeriod = 30