dot1x
Syntax
In system view:
dot1x [ interface interface-list ]
undo dot1x [ interface interface-list ]
In Ethernet interface view:
dot1x
undo dot1x
View
System view, Ethernet interface view
Default level
2: System level
Parameters
interface interface-list: Specifies a port list, which can contain multiple ports. The interface-list argument is in the format of interface-list = { interface-type interface-number [ to interface-type interface-number ] } & <1-10>, where interface-type represents the port type, interface-number represents the port number, and & <1-10> means that you can provide up to 10 ports or port ranges. The start port number must be smaller than the end number and the two ports must be of the same type.
Description
Use dot1x in system view to enable 802.1X globally.
Use undo dot1x in system view to disable 802.1X globally.
Use dot1x interface in system view or dot1x in interface view to enable 802.1X for specified ports.
Use undo dot1x interface in system view or the undo dot1x command in interface view to disable 802.1X for specified ports.
By default, 802.1X is neither enabled globally nor enabled for any port.
802.1X must be enabled both globally in system view and for the intended ports in system view or interface view. Otherwise, it does not function.
You can configure 802.1X parameters either before or after enabling 802.1X.
Related commands: display dot1x.
Examples
# Enable 802.1X for ports Ethernet 1/0/1, and Ethernet 1/0/5 to Ethernet 1/0/7.
<Sysname> system-view [Sysname] dot1x interface ethernet 1/0/1 ethernet 1/0/5 to ethernet 1/0/7
Or
<Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] dot1x [Sysname-Ethernet1/0/1] quit [Sysname] interface ethernet 1/0/5 [Sysname-Ethernet1/0/5] dot1x [Sysname-Ethernet1/0/5] quit [Sysname] interface ethernet 1/0/6 [Sysname-Ethernet1/0/6] dot1x [Sysname-Ethernet1/0/6] quit [Sysname] interface ethernet 1/0/7 [Sysname-Ethernet1/0/7] dot1x
# Enable 802.1X globally.
<Sysname> system-view [Sysname] dot1x