beautypg.com

Verifying the configuration – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 224

background image

210

[AC-isp-dm1] quit

3.

Configure portal authentication:
# Configure a portal server on the AC, making sure that the IP address, port number and URL
match those of the actual portal server.

[AC] portal server newpt ip 192.168.0.111 key portal port 50100 url

http://192.168.0.111:8080/portal

# On the interface connected to the client, specify the authentication domain dm1 for portal users

and enable portal authentication.

[AC] interface vlan-interface 10

[AC–Vlan-interface10] portal domain dm1

[AC–Vlan-interface10] portal server newpt method direct

[AC–Vlan-interface10] quit

4.

Configure the portal server detection function:
# Configure the access device to detect portal server newpt, specifying the detection method as
portal heartbeat probe, setting the server probe interval to 40 seconds, and specifying the access

device to send a server unreachable trap message and disable portal authentication to permit

unauthenticated portal users if two consecutive probes fail.

[AC] portal server newpt server-detect method portal-heartbeat action trap permit-all

interval 40 retry 2

NOTE:

The product of interval and retry must be greater than or equal to the portal server heartbeat interval, and
H3C recommends configuring the interval as a value greater than the portal server heartbeat interval

configured on the portal server.

5.

Configure portal user synchronization:
# Configure the access device to synchronize portal user information with portal server newpt,
setting the synchronization probe interval to 600 seconds, and specifying the access device to log
off users if the users do not appear in the user synchronization packets sent from the server in two

consecutive probe intervals.

[AC] portal server newpt user-sync interval 600 retry 2

NOTE:

The product of interval and retry must be greater than or equal to the portal user heartbeat interval, and
H3C recommends configuring the interval as a value greater than the portal user heartbeat interval

configured on the portal server.

Verifying the configuration

Use the following command to view information about the portal server.

display portal server newpt

Portal server:

1)newpt:

IP : 192.168.0.111

Key : portal

Port : 50100

URL : http://192.168.0.111:8080/portal

Status : Up