Configuring a portal authentication server

Perform this task to configure the following portal authentication server parameters:

The device supports multiple portal authentication servers.

Do not delete a portal authentication server in use. Otherwise, users authenticated by that server cannot log out normally.

To configure a portal authentication server:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a portal authentication server, and enter its view.

portal server server-name

By default, no portal authentication server is created.

3. Specify the IP address of the portal authentication server.

  • To specify an IPv4 portal server:ip ipv4-address [ key { cipher | simple } key-string ]

  • To specify an IPv6 portal server:ipv6 ipv6-address [ key { cipher | simple } key-string ]

Specify an IPv4 portal authentication server, an IPv6 authentication portal server, or both.

By default, no portal authentication server is specified.

4. (Optional.) Set the destination UDP port number used by the device to send unsolicited portal packets to the portal authentication server.

port port-id

By default, the UDP port number is 50100.

This port number must be the same as the listening port number specified on the portal authentication server.