Specifying an access control method
You can specify an access control method for one port in Layer 2 Ethernet interface view or for multiple ports in system view. If different access control methods are specified for a port in system view and Layer 2 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 portal authentication."
To specify the access control method:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Specify an access control method. |
| Use either approach. By default, MAC-based access control applies. |