210
Field
Description
Type
VLAN/VSI
VLAN or VSI information for MAC authentication users. The
Type
argument has the following values:
•
Critical VLAN.
•
Critical VSI.
•
Guest VLAN.
•
Guest VSI.
Aging time
MAC address aging time in seconds.
This field displays
N/A
if the MAC addresses do not age out.
MAC addresses
Number of matching MAC addresses on a port.
xxxx-xxxx-xxxx
MAC address.
Related commands
mac-authentication critical vlan
mac-authentication critical vsi
mac-authentication guest-vlan
mac-authentication guest-vsi
mac-authentication
Use
mac-authentication
to enable MAC authentication globally or on a port.
Use
undo mac-authentication
to disable MAC authentication globally or on a port.
Syntax
mac-authentication
undo mac-authentication
Default
MAC authentication is disabled globally or on any port.
Views
System view
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
To use MAC authentication on a port, you must enable the feature both globally and on the port.
Examples
# Enable MAC authentication globally.
<Sysname> system-view
[Sysname] mac-authentication
# Enable MAC authentication on Ten-GigabitEthernet 1/0/1.
<Sysname> system-view