beautypg.com

H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 226

background image

212

[AC] radius scheme rs1

# Set the server type for the RADIUS scheme. When using the IMC server, set the server type to

extended.

[AC-radius-rs1] server-type extended

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

[AC-radius-rs1] primary authentication 1.1.1.2

[AC-radius-rs1] primary accounting 1.1.1.2

[AC-radius-rs1] key authentication radius

[AC-radius-rs1] key accounting radius

# Specify that the ISP domain name should not be included in the username sent to the RADIUS
server.

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

[AC-radius-rs1] quit

2.

Configure an authentication domain on the AC:
# Create an ISP domain named dm1 and enter its view.

[AC] domain dm1

# Configure the ISP domain to use RADIUS scheme rs1.

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

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

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

[AC-isp-dm1] quit

3.

Configure the WLAN service on the AC:
# Create interface WLAN-ESS 1 and add it to VLAN 2.

[AC] interface WLAN-ESS 1

[AC-WLAN-ESS1] port access vlan 2

[AC-WLAN-ESS1] port link-type hybrid

[AC-WLAN-ESS1] port hybrid vlan 2 untagged

[AC-WLAN-ESS1] port hybrid pvid VLAN2

[AC-WLAN-ESS1] quit

# Configure a WLAN service template, and bind the WLAN service template with the WLAN-ESS
interface.

[AC] wlan service-template 1 clear

[AC-wlan-st-1] ssid abc

[AC-wlan-st-1] bind WLAN-ESS 1

[AC-wlan-st-1] authentication-method open-system

[AC-wlan-st-1] service-template enable

# Configure AP on the AC.

[AC] wlan ap ap1 model WA2100

[AC-wlan-ap-ap1] serial-id 210235A29G007C000020

[AC-wlan-ap-ap1] radio 1 type dot11g

[AC-wlan-ap-ap1-radio-1] service-template 1

[AC-wlan-ap-ap1-radio-1] radio enable

[AC-wlan-ap-ap1-radio-1] quit

[AC-wlan-ap-ap1] quit

4.

Configure portal authentication on the AC: