1-10In Ethernet port view, the interface-list argument is not available and the commands apply to only thecurrent port.Related commands: display dot1x.Examples# Configure the maximum number of users that Ethernet 1/01 port can accommodate to be 32. system-viewSystem View: return to User View with Ctrl+Z.[Sysname] dot1x max-user 32 interface Ethernet 1/0/1dot1x port-controlSyntaxdot1x port-control { auto | authorized-force | unauthorized-force } [ interface interface-list ]undo dot1x port-control [ interface interface-list ]ViewSystem view, Ethernet port viewParametersauto: Specifies to operate in auto access control mode. When a port operates in this mode, all theunauthenticated hosts connected to it are unauthorized. In this case, only EAPoL packets can beexchanged between the switch and the hosts. And the hosts connected to the port are authorized toaccess the network resources after the hosts pass the authentication. Normally, a port operates in thismode.authorized-force: Specifies to operate in authorized-force access control mode. When a portoperates in this mode, all the hosts connected to it can access the network resources without beingauthenticated.unauthorized-force: Specifies to operate in unauthorized-force access control mode. When a portoperates in this mode, the hosts connected to it cannot access the network resources.interface-list: Ethernet port list, in the form of interface-list= { interface-type interface-number [ tointerface-type interface-number ] } &<1-10>, in which interface-type specifies the type of an Ethernetport and interface-number is the number of the port. The string “&<1-10>” means that up to 10 port listscan be provided.DescriptionUse the dot1x port-control command to specify the access control mode for specified Ethernet ports.Use the undo dot1x port-control command to revert to the default access control mode.The default access control mode is auto.Use the dot1x port-control command to configure the access control mode for specified802.1x-enabled ports.In system view:z If you do not provide the interface-list argument, these two commands apply to all the ports of theswitch.z If you specify the interface-list argument, these commands apply to the specified ports.