beautypg.com

H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 76

background image

62

[AC-WLAN-ESS1] port-security tx-key-type 11key

# Disable the 802.1X multicast trigger function.

[AC-WLAN-ESS1] undo dot1x multicast-trigger

# Disable the online user handshake function.

[AC-WLAN-ESS1] undo dot1x handshake

# Configure the port to use mandatory authentication domain test. Then, the AC will use the
authentication, authorization, and accounting methods of this domain for all users accessing this port.

This step is optional.

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

[AC-WLAN-ESS1] quit

# Configure the WLAN service template.

[AC] wlan service-template 1 crypto

[AC-wlan-st-1] ssid sectest

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

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

[AC-wlan-st-1] cipher-suite tkip

[AC-wlan-st-1] security-ie wpa

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

# Specify the 802.1X authentication method.

[AC] dot1x authentication-method eap

# Create RADIUS scheme rad.

[AC] radius scheme rad

# Specify the primary authentication server and the service port number.

[AC-radius-rad] primary authentication 8.1.1.1 1812

# Specify the primary accounting server and the service port number.

[AC-radius-rad] primary accounting 8.1.1.1 1813

# Set the shared keys for authentication and accounting to expert.

[AC-radius-rad] key authentication ACkey

[AC-radius-rad] key accounting ACkey

# Set the server type to extended.

[AC-radius-rad] server-type extended

# Configure the scheme to remove the domain name from a username before sending the username to
the RADIUS server.

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

[AC-radius-rad] quit

# Create an ISP domain and configure AAA methods for LAN users, or configure the default AAA

methods for all types of users.

To configure AAA methods for login users:

[AC] domain test

[AC-isp-test] authentication default radius-scheme rad

[AC-isp-test] authorization default radius-scheme rad

[AC-isp-test] accounting default radius-scheme rad

[AC-isp-test] quit

To configure the default AAA methods for all types of users: