120
GigabitEthernet1/0/1 is link-up
Status of the link on port GigabitEthernet 1/0/1. In this
example, the link is up.
MAC address authentication is enabled
Whether MAC authentication is enabled on port
GigabitEthernet 1/0/1
Authenticate success: 0, failed: 0
MAC authentication statistics, including the number of
successful and unsuccessful authentication attempts
Max number of on-line users
Maximum number of concurrent online users allowed
on the port
If MAC authentication is not enabled on the port, the
field displays 0.
Current online user number
Number of online users on the port.
MAC address of the online user.
User status. Possible values including the following:
 CONNECTING—The user is logging in.
 SUCCESS—The user has passed the authentication.
 FAILURE—The user failed the authentication.
 LOGOFF—The user has logged off.
mac-authentication
Syntax
In system view:
mac-authentication [ interface interface-list ]
undo mac-authentication [ interface interface-list ]
In Layer 2 Ethernet interface view:
mac-authentication
undo mac-authentication
View
System view, Layer 2 Ethernet interface view
Default level
2: System level
Parameters
interface interface-list: Specifies an Ethernet port list, in the format of { interface-type interface-number [ to
interface-type interface-number ] }&<1-10>, where &<1-10> indicates that you can specify up to 10 port
ranges. The start port and end port of a port range must be of the same type and the end port number
must be greater than the start port number. A port range defined without the to interface-type interface-
number portion comprises only one port.