Enabling Layer 2 portal authentication
Before enabling Layer 2 portal authentication, make sure that:
The listening IP address of the local portal server is specified.
Layer 3 portal authentication is not enabled on any interface.
To enable Layer 2 portal authentication:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Layer 2 Ethernet interface view. | interface interface-type interface-number | N/A |
3. Enable Layer 2 portal authentication on the port. | portal local-server enable | Not enabled by default. |
NOTE: To ensure normal operation of portal authentication on a Layer 2 port, do not enable port security, guest VLAN of 802.1X, or EAD fast deployment of 802.1X on the port. To support assignment of authorized VLANs, you must enable the MAC-based VLAN function on the port. | ||