116
MAC authentication configuration commands
display mac-authentication
Syntax
display mac-authentication
[
interface
interface-list
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
2: System level
Parameters
interface
interface-list
: Specifies a 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.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the
display mac-authentication
command to display MAC authentication settings and statistics,
including the global settings, and port-specific settings and MAC authentication and online user
statistics.
If you specify a list of ports, the command displays port-specific settings and statistics only for the
specified ports.
If you do not specify any port, the command displays port-specific settings and statistics for all ports.
Examples
# Display all MAC authentication settings and statistics.
<Sysname> display mac-authentication
MAC address 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