798
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
20.2.2.10 dot1x port-method
Command:dot1x port-method {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:
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
20.2.2.11 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:
Admin 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:
Enable real-time re-authentication on port 1/8.
Switch#dot1x re-authenticate interface ethernet 1/8
20.2.2.12 dot1x re-authentication
Command: dot1x re-authentication
no dot1x re-authentication
Function:
Enables periodical supplicant authentication; the “
no dot1x re-authentication
”