MAC authentication commands
display mac-authentication
Use display mac-authentication to display MAC authentication settings and statistics, including the
global settings, port-specific settings, MAC authentication statistics, and online user statistics.
Syntax
display mac-authentication [ interface interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface interface-type interface-number: Specifies a port by its type and number.
Usage guidelines
If you do not specify any port, this command displays all global and port-specific MAC authentication
information.
Examples
# Display all MAC authentication settings and statistics.
<Sysname> display mac-authentication
MAC authentication is enabled
User name format is MAC address in lowercase, like xxxxxxxxxxxx
Fixed username: mac
Fixed password: Not configured
Offline detect period is 300s
Quiet period is 60s
Server response timeout value is 100s
Max number of users is 1024 per slot
Current number of online users is 1
Current authentication domain is domain1
Silent MAC user info:
MAC Addr From Port Port Index
Ten-GigabitEthernet1/0/1 is link-up
MAC authentication is enabled
Max number of online users is 256
108