Description
Example
mac-authentication domain
Syntax
View
Parameter
defined without the to interface-type interface-number portion comprises only
one port.
Use the
mac-authentication
or for one or more ports.
Use the
undo mac-authentication
globally or for one or more ports.
By default, MAC authentication is neither enabled globally nor enabled on any
port.
Note that:
In system view, if you provide the interface-list argument, the command
■
enables MAC authentication for the specified ports; otherwise, the command
enables MAC authentication globally. In Ethernet interface view, the command
enables MAC authentication for the port without requiring the interface-list
argument.
You can configure MAC authentication parameters globally or for specified
■
ports either before or after enabling MAC authentication. If no MAC
authentication parameters are configured before MAC authentication is
enabled globally, the default values are used.
You can enable MAC authentication for ports before enabling it globally.
■
However, MAC authentication begins to function only after you also enable it
globally.
# Enable MAC authentication globally.
<Sysname> systme-view
[Sysname] mac-authentication
Or
<Sysname> systme-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] mac-authentication
mac-authentication domain isp-name
undo mac-authentication domain
System view
isp-name: ISP domain name, a case-insensitive string of 1 to 24 characters that
cannot contain any forward slash (/), colon (:), asterisk (*), question mark (?),
less-than sign (<), greater-than sign (>), or at-sign (@).
command to enable MAC authentication globally
command to disable MAC authentication
2011