112
Step Command Remarks
2. Enable MAC authentication.
• 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 Ethernet
interface view.
3. Set the maximum number of
concurrent MAC authentication
users allowed on a port.
mac-authentication max-user
user-number
Optional.
By default, the maximum number
of concurrent MAC
authentication users is 2048.
NOTE:
You cannot add a MAC authentication enabled port in to a link aggregation group or service loopback
group, or enable MAC authentication on a port already in a link aggregation group or service loopbac
group.
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.
• Specify an authentication domain for an individual port in Ethernet interface view.
MAC authentication chooses an authentication domain for users on a port in this order: the
interface-specific domain, the global domain, and the default domain. For more information about
authentication domains, see "Configuring AAA."
To specify an authentication domain for MAC authentication users:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Specify an authentication
domain for MAC
authentication users.
• In system view:
mac-authentication domain
domain-name
• In interface view:
a. interface interface-type
interface-number
b. mac-authentication domain
domain-name
Use either method.
By default, the system default
authentication domain is used for
MAC authentication users.
Configuring a MAC authentication guest VLAN
Follow the guidelines in Table 10 when configuring a MAC authentication guest VLAN on a port.