R2511-HP MSR Router Series Security Configuration Guide(V5)
118
Configuring MAC authentication on a port
The following matrix shows the feature and router compatibility:
Feature MSR900 MSR93
X
MSR20-1
X
MSR20
MSR30 MSR50 MSR1000
Configuring MAC
authentication for
a list of ports in
system view
Yes No Yes Yes Yes Yes No
You cannot add a MAC authentication enabled port in to a link aggregation group, or enable MAC
authentication on a port already in a link aggregation group.
To configure MAC authentication on a port:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable MAC authentication in
system view or interface view.
• In system view:
mac-authentication interface
interface-list
• In interface view:
a. interface interface-type
interface-number
b. mac-authentication
Disabled by default.
Enable MAC authentication for
ports in bulk in system view or an
individual port in interface view.
3. Set the maximum number of
concurrent MAC authentication
users allowed on a port.
mac-authentication max-user
user-number
Optional.
The default setting is 256.
4. Enable MAC authentication
multi-VLAN mode.
mac-authentication host-mode
multi-vlan
Optional.
By default, this function is
disabled on a port.
The MAC authentication
multi-VLAN mode enables a
MAC authentication-enabled
port to forward packets for an
authenticated user in multiple
VLANs without
re-authentication.
NOTE:
W
hen both (and only both) 802.1X authentication and MAC authentication are enabled on a port, the
device waits for 30 seconds before performing MAC authentication for a non-802.1X user that first
accesses the network from the port.
Specifying a MAC authentication domain
By default, MAC authentication users are in the system default authentication domain. To implement
different access policies for users, you can specify authentication domains for MAC authentication users
in the following ways:
• Specify a global authentication domain in system view. This domain setting applies to all ports.










