Command Manual - Security 
Quidway S6500 Series Ethernet Switches  Chapter 1  802.1x Configuration Commands
 
Huawei Technologies Proprietary 
1-8 
interface-num specifies a single Ethernet interface in the format interface-num = 
{  interface-type  interface-num | interface-name }, where interface-type specifies the 
interface type, interface-num specifies the interface number and interface-name 
specifies the interface name. For the respective meanings and value ranges, read the 
Parameter of the Port Command Manual section.  
Description 
Using dot1x port-control command, you can configure the mode for 802.1x to perform 
access control on the specified interface. Using undo dot1x port-control command, 
you can restore the default access control mode.  
By default, the value is auto. 
This command is used to set the mode, or the interface state, for 802.1x to perform 
access control on the specified interface. This command has effect on the interface 
specified by the parameter interface-list when executed in system view. It has effect on 
all the interfaces when no interface is specified. The parameter interface-list cannot be 
input when the command is executed in Ethernet port view and it has effect only on the 
current interface.  
For the related commands, see display dot1x. 
Example 
# Configure the interface Ethernet 3/0/1 to be in unauthorized-force state.  
[Quidway] dot1x port-control unauthorized-force interface Ethernet 3/0/1 
1.1.8  dot1x port-method 
Syntax 
dot1x port-method { macbased | portbased } [ interface interface-list ] 
undo dot1x port-method [ interface interface-list ] 
View 
System view/Ethernet Port view 
Parameter 
macbased: Configures the 802.1x authentication system to perform authentication on 
the supplicant based on MAC address.  
portbased: Configures the 802.1x authentication system to perform authentication on 
the supplicant based on port.  
interface  interface-list: Ethernet interface list including several Ethernet interfaces, 
expressed in the format interface-list = {  interface-num [ to interface-num ] } & < 1-10 >. 
interface-num specifies a single Ethernet interface in the format interface-num = 
{  interface-type  interface-num | interface-name }, where interface-type specifies the