Enabling 802.1X
Restrictions and guidelines
For 802.1X to take effect on a port, you must enable it both globally and on the port.
Do not enable 802.1X on a port that is in a service loopback group.
If the PVID is a voice VLAN, the 802.1X feature cannot take effect on the port. For more information about voice VLANs, see Layer 2—LAN Switching Configuration Guide.
Procedure
Enter system view.
system-view
Enable 802.1X globally.
dot1x
By default, 802.1X is disabled globally.
Enter interface view.
interface interface-type interface-number
Enable 802.1X on a port.
dot1x
By default, 802.1X is disabled on a port.