beautypg.com

H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 248

background image

234

[AC-radius-radsun] timer realtime-accounting 15

# Exclude the ISP domain name in the username sent to the RADIUS server.

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

[AC-radius-radsun] quit

# Configure ISP domain sun to use RADIUS scheme radsun for authentication, authorization, and
accounting of all types of users.

[AC] domain sun

[AC-isp-sun] authentication default radius-scheme radsun

[AC-isp-sun] authorization default radius-scheme radsun

[AC-isp-sun] accounting default radius-scheme radsun

# Specify that the ISP domain can contain up to 30 users.

[AC-isp-sun] access-limit enable 30

[AC-isp-sun] quit

2.

Set the 802.1X authentication method to CHAP. (This configuration is optional. By default, the
authentication method is CHAP for 802.1X.)

[AC] dot1x authentication-method chap

3.

Configure port security:
# Enable port security.

[AC] port-security enable

# Add five OUI values.

[AC] port-security oui 1234-0100-1111 index 1

[AC] port-security oui 1234-0200-1111 index 2

[AC] port-security oui 1234-0300-1111 index 3

[AC] port-security oui 1234-0400-1111 index 4

[AC] port-security oui 1234-0500-1111 index 5

[AC] interface ethernet 1/1

# Configure the mandatory authentication domain sun for 802.1X users on WLAN-ESS 1. Set the

port security mode to userLoginWithOUI.

[AC] interface WLAN-ESS 1

[AC-WLAN-ESS1] dot1x mandatory-domain sun

[AC-WLAN-ESS1] port-security port-mode userlogin-withoui

# Create service template 2, set its template type to clear and SSID to mactest, bind interface

WLAN-ESS 1 to it, and enable open system authentication.

[AC] wlan service-template 2 clear

[AC-wlan-st-2] ssid mactest

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

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

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

[AC-wlan-st-2] quit

# Create an AP template named ap1 and set its model to WA2100 and serial ID to
210235A29G007C000020.

[AC] wlan ap ap1 model WA2100

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

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

# Map service template 2 to radio 1 and enable the radio of AP 1.

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