DXS-1210 Series Smart Managed Switch CLI Reference Guide
22
This example shows how to reset the 802.1X parameters on port 1/0/1.
Switch# configure terminal
Switch(config)#interface eth 1/0/1
Switch(config-if)# dot1x default
Switch(config-if)#
3-4 dot1x port-control
This command is used to control the authorization state of a port. Use the no form of this command to
revert to the default setting.
dot1x port-control {auto | force-authorized | force-unauthorized}
no dot1x port-control
Parameters
auto
Specifies to enable IEEE 802.1X authentication for the port.
force-authorized
Specifies the port to the force authorized state.
force-unauthorized
Specifies the port to the force unauthorized state.
Default
By default, this option is set as auto.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command takes effect only when IEEE 802.1X PAE authenticator is globally enabled by the
dot1x system-auth-control command and is enabled for a specific port by using the dot1x PAE
authenticator.
This command is only available for physical port interface configuration.
If the port control is set to force-authorized, then the port is not controlled in both directions. If the
port control is set to auto, then the access to the port for the controlled direction needs to be
authenticated. If the port control is set to force-unauthorized, then the access to the port for the
controlled direction is blocked.
Example
This example shows how to deny all access on Ethernet port 1/0/1.
Switch# configure terminal
Switch(config)#interface eth 1/0/1
Switch(config-if)# dot1x port-control force-unauthorized
Switch(config-if)#
3-5 dot1x forward-pdu
This command is used to enable the forwarding of the dot1x PDU. Use the no form of this command
to disable the forwarding of the dot1x PDU.