Enabling MAC authentication

For MAC authentication to take effect on a port, you must enable this feature globally and on the port.

To enable MAC authentication:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable MAC authentication globally.

mac-authentication

By default, MAC authentication is disabled globally.

3. Enter interface view.

interface interface-type interface-number

N/A

4. Enable MAC authentication on the port.

mac-authentication

By default, MAC authentication is disabled on a port.