Specifying an access control method
You can specify an access control method for one port in Ethernet interface view, or for multiple ports in system view. If different access control methods are specified for a port in system view and Ethernet interface view, the one specified later takes effect.
To use both 802.1X and portal authentication on a port, you must specify MAC-based access control. For information about portal authentication, see "Configuring port security."
To specify the access control method:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Specify an access control method. |
| Optional. Use either method. By default, MAC-based access control applies. |