beautypg.com

H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 111

background image

97

Suppose that the PKI domain is eappki. For more information about the configuration steps, see

"Configuring PKI."
# Specify an LDAP scheme.

system-view

[AC] ldap scheme ldap1

# Specify the IP address of the LDAP authentication server.

[AC-ldap-ldap1] authentication-server 10.1.1.1

# Specify the administrator DN.

[AC-ldap-ldap1] login-dn cn=administrator,cn=users,dc=ldap,dc=com

# Specify the administrator password.

[AC-ldap-ldap1] login-password simple admin!123456

# Configure the base directory for user search.

[AC-ldap-ldap1] user-parameters search-base-dn dc=ldap,dc=com

[AC-ldap-ldap1] quit

# Specify the domain to use local authentication/authorization. (Authorization for 802.1X users by an

LDAP server is not supported. Local authorization is used here)

[AC] domain bbb

[AC-isp-bbb] authentication lan-access local

[AC-isp-bbb] authorization lan-access local

[AC-isp-bbb] quit

# Configure the SSL server policy sp1, specifying the PKI domain to be used as eappki.

[AC] ssl server-policy sp1

[AC-ssl-server-policy-sp1] pki-domain eappki

[AC-ssl-server-policy-sp1] quit

# Create an EAP profile and configure it to use EAP-TLS for authentication.

[AC] eap-profile eapsvr

[AC-eap-prof-eapsvr] method tls

# Specify the SSL server policy for EAP authentication as sp1.

[AC-eap-prof-eapsvr] ssl-server-policy sp1

# Use the LDAP database for user credential verification and reference the LDAP scheme ldap1.

[AC-eap-prof-eapsvr] user-credentials ldap-scheme ldap1

[AC-eap-prof-eapsvr] quit

# Configure the local EAP authentication server, specifying to use EAP profile eapsvr.

[AC] local-server authentication eap-profile eapsvr

# Enable port security globally.

[AC] port-security enable

# Specify the 802.1X authentication method.

[AC] dot1x authentication-method eap

# Create a WLAN interface and configure the port security mode as userLoginSecureExt.

[AC] interface wlan-ess 1

[AC-WLAN-ESS1] port-security port-mode userlogin-secure-ext

# Enable the key negotiation function for the port.

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