Specifying the local portal server for Layer 2 portal authentication
Layer 2 portal authentication uses the local portal server. Specify the IP address of a Layer 3 interface on the device that is routable to the portal client as the listening IP address of the local portal server. Hewlett Packard Enterprise recommends using the IP address of a loopback interface rather than a physical Layer 3 interface, because:
The status of a loopback interface is stable. There will be no authentication page access failures caused by interface failures.
A loopback interface does not forward received packets to any network, avoiding impact on system performance when there are many network access requests.
To specify the local portal server for Layer 2 portal authentication:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Specify the listening IP address of the local portal server for Layer 2 portal authentication. | portal local-server ip ip-address | By default, no listening IP address is specified. |
The specified listening IP address can be changed or deleted only if Layer 2 portal authentication is not enabled on any port.