Command Manual – 802.1x - MAC Authentication
H3C S7500E Series Ethernet Switches
Chapter 1 802.1x Configuration Commands
1-5
interface-type
represents the port type,
interface-number
represents the port number,
and & <1-10> means that you can provide up to 10 port indexes/port index lists for this
argument. The start port number must be smaller than the end number and the two
ports must of the same type.
Description
Use the
dot1x
command in system view to enable 802.1x globally.
Use the
undo dot1x
command in system view to disable 802.1x globally.
Use the
dot1x interface
interface-list
command in system view or the
dot1x
command
in interface view to enable 802.1x for specified ports.
Use the
undo dot1x interface
interface-list
command 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.
Note that:
z
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.
z
You can configure 802.1x parameters either before or after enabling 802.1x.
Related commands:
display dot1x
.
Examples
# Enable 802.1x for ports Ethernet 2/0/1, and Ethernet 2/0/5 to Ethernet 2/0/7.
<Sysname> system-view
[Sysname] dot1x interface Ethernet2/0/1 Ethernet2/0/5 to Ethernet2/0/7
Or
<Sysname> system-view
[Sysname] interface Ethernet2/0/1
[Sysname-Ethernet2/0/1] dot1x
[Sysname-Ethernet2/0/1] quit
[Sysname] interface Ethernet2/0/5
[Sysname-Ethernet2/0/5] dot1x
[Sysname-Ethernet2/0/5] quit
[Sysname] interface Ethernet2/0/6
[Sysname-Ethernet2/0/6] dot1x
[Sysname-Ethernet2/0/6] quit
[Sysname] interface Ethernet2/0/7
[Sysname-Ethernet2/0/7] dot1x
# Enable 802.1x globally.
<Sysname> system-view
[Sysname] dot1x