Command Manual (For Soliton) – MAC Address Authentication
H3C S3100 Series Ethernet Switches
Chapter 1 MAC Address Authentication
Configuration Commands
1-4
1.1.2 mac-authentication
Syntax
mac-authentication
undo mac-authentication
View
System view, Ethernet port view
Parameters
None
Description
Use the
mac-authentication
command to enable MAC address authentication globally
or on the current port.
Use the
undo mac-authentication
command to disable MAC address authentication
globally or on the current port.
By default, MAC address authentication is disabled both globally and on a port.
When being executed in system view, the
mac-authentication
command enables
MAC address authentication globally.
When being executed in Ethernet port view, the
mac-authentication
command
enables MAC address authentication on the current port.
To make the MAC address authentication take effect, you must enable MAC address
authentication globally and on the relevant ports.
Note:
You can configure MAC address authentication on a port before enabling it globally.
However, the configuration will not take effect unless MAC address authentication is
enabled globally.
Examples
# Enable MAC address authentication globally.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] mac-authentication
MAC-Authentication is enabled globally.
# Enable MAC address authentication on port Ethernet 1/0/1.