2-86
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
dot1x control-direction
dot1x control-direction
Use the dot1x control-direction interface configuration command to change the port control to
unidirectional or bidirectional control. Use the no form of this command to return to the default setting.
dot1x control-direction {in | both}
no dot1x control-direction {in | both}
Syntax Description
Defaults The port is set to bidirectional mode.
Command Modes Interface configuration
Command History
Usage Guidelines Using the keyword both or using the no form of this command are the same command.
The keyword both and the no form of this command change the port to its bidirectional default setting.
Examples This example shows how to enable unidirectional control:
Switch(config-if)# dot1x control-direction in
These examples show how to enable bidirectional control:
Switch(config-if)# dot1x control-direction both
Switch(config-if)# no dot1x control-direction
You can verify your settings by entering the show dot1x all privileged EXEC command.
The show dot1x all privileged EXEC command output is the same for all switches except for the port
names and the state of the port. If a host is attached to the port but is not yet authenticated, a display
similar to this appears:
Supplicant MAC 0002.b39a.9275
AuthSM State = CONNECTING
BendSM State = IDLE
PortStatus = UNAUTHORIZED
If you enter the dot1x control-direction in interface configuration command to enable unidirectional
control, this appears in the show dot1x all command output:
ControlDirection = In
in Enable unidirectional control on port.
both Enable bidirectional control on port.
Release Modification
12.2(25)SEC This command was introduced.