Mac-Authentication - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

mac-authentication

Syntax
In system view:
mac-authentication [ interface interface-list ]
undo mac-authentication [ interface interface-list ]
In Ethernet interface view:
mac-authentication
undo mac-authentication
View
System view, Ethernet interface view
Default Level
2: System level
Parameters
interface interface-list: Specifies an Ethernet 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. A port range defined without the to interface-type interface-number portion comprises only
one port.
Description
Use the mac-authentication command to enable MAC authentication globally or for one or more
ports.
Use the undo mac-authentication command to disable 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
because the interface-list argument is not available.
You can enable MAC authentication for ports before enabling it globally. However, MAC
authentication begins to function only after you also enable it globally.
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 when
MAC authentication takes effect, the default values are used.
Examples
# Enable MAC authentication globally.
<Sysname> system-view
[Sysname] mac-authentication
Mac-auth is enabled globally.
# Enable MAC authentication for port GigabitEthernet 1/0/1.
7-3

Advertisement

Table of Contents
loading

Table of Contents