7-3
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:
z
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.
z
You can enable MAC authentication for ports before enabling it globally. However, MAC
authentication begins to function only after you also enable it globally.
z
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.
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...