portal local-server enable
Syntax
portal local-server enable
undo portal
View
Layer 2 Ethernet interface view
Default level
2: System level
Parameters
None
Description
Use portal local-server enable to enable Layer 2 portal authentication on the current port.
Use undo portal to restore the default.
By default, portal authentication is disabled on a Layer 2 port.
For normal operation of portal authentication on a Layer 2 port, you must disable portal authentication on all Layer 3 interfaces and Hewlett Packard Enterprise recommends disabling port security, guest VLAN of 802.1X, and EAD fast deployment of 802.1X on the port. For information about port security and 802.1X features, see Security Configuration Guide.
Before enabling portal authentication on a Layer 2 port, be sure to specify the listening IP address of the local portal server.
Related command: portal local-server ip.
Examples
# Enable Layer 2 portal authentication on Ethernet1/0/1.
<Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] portal local-server enable