H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – 802.1x
H3C S7500 Series Ethernet Switches Chapter 1
802.1x Configuration Commands
1-5
View
System view, Ethernet port view
Parameters
interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this
argument in the form of interface-list = { interface-name [ to interface- name] & < 1-10 >.
The interface-name argument is the port index of an Ethernet port and can be specified
in this form: interface-name = { interface-type interface-num }, where interface-type
specifies the type of a port and interface-num identifies the port number. "&<1-10>"
means that up to 10 port indexes/port index lists can be provided,
Description
Use the dot1x command to enable 802.1x globally or for the specified Ethernet ports.
Use the undo dot1x command to disable 802.1x globally or for the specified Ethernet
ports.
By default, 802.1x is disabled globally and also on all ports
When being executed in system view, the dot1x command enables 802.1x globally if
you do not provide the interface-list argument. And if you specify the interface-list
argument, the command enables 802.1x for the specified Ethernet ports.
When being executed in Ethernet port view, this command enables 802.1x for the
current Ethernet port only. In this case, the interface-list argument is not needed.
You can perform 802.1x-related configurations (globally or on the specified ports) either
before or after 802.1x is enabled. If you do not perform other 802.1x-related
configurations before enabling 802.1x globally, the switch adopts default 802.1x
settings.
802.1x-related configurations take effect on a port only after 802.1x is enabled both
globally and on the port.
Configurations of 8021.x and the maximum number of MAC addresses that can be
learnt are mutually exclusive. And if you configure the maximum number of MAC
addresses that can be learnt for a port, 802.1x is unavailable to it.
Related commands: display dot1x.
Examples
# Enable 802.1x for port Ethernet 3/0/1.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] dot1x interface Ethernet 3/0/1
# Enable 802.1x globally.
<H3C>system-view