beautypg.com

H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 212

background image

198

# Configure the access device to not carry the ISP domain name in the username sent to the

RADIUS server. (Optional, configure the username format as needed.)

[AC1-radius-rs1] user-name-format without-domain

[AC1-radius-rs1] quit

3.

Configure an authentication domain:
# Create ISP domain dm1 and enter its view.

[AC1] domain dm1

# Configure AAA methods for the ISP domain.

[AC1-isp-dm1] authentication portal radius-scheme rs1

[AC1-isp-dm1] authorization portal radius-scheme rs1

[AC1-isp-dm1] accounting portal radius-scheme rs1

[AC1-isp-dm1] quit

4.

Enable portal authentication on the interface connecting the host:
# Configure a portal server on AC 1. Make sure that the IP address, port number and URL match
those of the actual portal server.

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

http://192.168.0.111:8080/portal

# Configure a portal-free rule on AC 1, allowing packets from AC 2 to pass through without portal
authentication. This configuration is required only when the roles (master/backup) of the ACs for

stateful failover are different from those for VRRP.

[AC1] portal free-rule 0 source interface GigabitEthernet1/0/1 destination any

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

[AC1] interface vlan-interface 10

[AC1–Vlan-interface10] portal domain dm1

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

# Specify the source IP address of outgoing portal packets as 192.168.0.1, the virtual IP address
of the VRRP group.

[AC1–Vlan-interface10] portal nas-ip 192.168.0.1

5.

Configure portal stateful failover:
# Assign interface VLAN-interface 10 to portal group 1.

[AC1–Vlan-interface10] portal backup-group 1

[AC1–Vlan-interface10] quit

# Set the device ID for AC 1 in stateful failover mode to 1.

[AC1] nas device-id 1

# Specify the source IP address of outgoing RADIUS packets as 192.168.0.1, the virtual IP
address of the VRRP group.

[AC1] radius nas-ip 192.168.0.1

NOTE:

Make sure that you have added the access device with IP address 192.168.0.1 on the RADIUS server.

6.

Configure the WLAN service:
# Specify the backup AC address.

[AC1] wlan backup-ac ip 1.1.1.2

# Enable hot backup.