137
MAC authentication commands
In this chapter, "MSR1000" refers to MSR1002-4. "MSR2000" refers to MSR2003, MSR2004-24,
MSR2004-48. "MSR3000" collectively refers to MSR3012, MSR3024, MSR3044, MSR3064.
"MSR4000" collectively refers to MSR4060 and MSR4080.
The commands configured in Ethernet interface view are available only on the following ports:
• The fixed Layer 2 Ethernet ports on the MSR1000, MSR2004-24 and MSR2004-48 routers.
• The ports on the HMIM-24GSW/24GSWP and HMIM-8GSW Layer 2 switching modules installed
on MSR routers.
display mac-authentication
Use display mac-authentication to display MAC authentication settings and statistics. The output
includes 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
Global MAC authentication parameters:
MAC authentication : Disabled
Username format : MAC address in lowercase(xxxxxxxxxxxx)
Username : mac
Password : Not configured
Offline detect period : 300 s
Quiet period : 60 s
Server timeout : 100 s
Authentication domain : Not configured, use default domain
Max MAC-auth users : 1024 per slot