Configuring MAC authentication on a port

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable MAC authentication.

  • In system view:mac-authentication interface interface-list

  • In interface view:

    1. interface interface-type interface-number

    2. 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: ]

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 loopback group.