Default: When 802.1x is enabled for the port,auto is set by default.
Usage Guide: If the port needs to provide 802.1x authentication for the user, the port
authentication mode should be set to auto.
Example: Setting port1/1 to require 802.1x authentication mode.
Switch(Config)#interface ethernet 1/1
Switch(Config-Ethernet1/1)#dot1x port-control auto
23.3.12 dot1x port-method
Command: dot1x port-method { userbased | macbased | portbased}
no dot1x port-method
Function: Sets the access management method for the specified port; the "no dot1x
port-method" command restores the default access management method.
Parameters: userbased sets user-based access management; macbased sets the
MAC-based access management method; portbased sets port-based access
management.
Command mode: Port configuration Mode
Default: None.
Usage Guide: MAC-based access management is better than port-based access
management in both security and management, port-based access management is
suggested only for special usages.
Example: Setting port-based access management for port 1/4.
Switch(Config-Ethernet1/4)#dot1x port-method portbased
23.3.13 dot1x re-authenticate
Command: dot1x re-authenticate [interface <interface-name>]
Function: Enables real-time 802.1x re-authentication (no wait timeout requires) for all
ports or a specified port.
Parameters: <interface-nam> stands for port number, omitting the parameter for all
ports.
Command mode: Global Mode
Usage Guide: This command is an Admin Mode command. It makes the switch to
re-authenticate the client at once without waiting for re-authentication timer timeout. This
command is no longer valid after authentication.
Example: Enabling real-time re-authentication on port 1/8.
Switch(Config)#dot1x re-authenticate interface ethernet 1/8
23.3.14 dot1x re-authentication
860