H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 214

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.
- H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C S10500 Series Switches H3C S5800 Series Switches H3C S5820X Series Switches H3C S12500 Series Switches H3C S9500E Series Switches H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C SR8800 H3C SR6600-X H3C SR6600 H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000