3com S7906E Reference Guide

Page of 2327
 
1-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: 
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 2/0/1.