132
MAC authentication configuration
commands
MAC authentication commands are available only for SAP modules that are operating in
bridge
mode.
display mac-authentication
Use
display mac-authentication
to display MAC authentication settings and statistics, including
global settings, and port-specific settings and MAC authentication and online user statistics.
Syntax
display mac-authentication
[
interface
interface-list
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command 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
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, a case-sensitive string of 1 to 256 characters.
Usage guidelines
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