beautypg.com

H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 214

background image

200

# Configure the server type for the RADIUS scheme. When using the IMC server, you must

configure the RADIUS server type as extended.

[AC2-radius-rs1] server-type extended

# Specify the primary authentication server and primary accounting server, and configure the keys
for communication with the servers.

[AC2-radius-rs1] primary authentication 192.168.0.111

[AC2-radius-rs1] primary accounting 192.168.0.111

[AC2-radius-rs1] key authentication expert

[AC2-radius-rs1] key accounting expert

# 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.)

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

[AC2-radius-rs1] quit

3.

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

[AC2] domain dm1

# Configure AAA methods for the ISP domain.

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

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

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

[AC2-isp-dm1] quit

4.

Enable portal authentication on the interface connecting the host:
# Configure the portal server as needed.

[AC2] 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 2, allowing packets from AC 1 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.

[AC2] 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.

[AC2] interface vlan-interface 10

[AC2-Vlan-interface10] portal domain dm1

[AC2–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.

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

5.

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

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

[AC2–Vlan-interface10] quit

# Set the ID of the device in the stateful failover mode to 2.

[AC2] nas device-id 2

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