H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 375

361
[AC1] ipsec proposal tran1
# Configure the IPsec proposal to use security protocol ESP and authentication algorithm SHA-1.
[AC1-ipsec-proposal-tran1] esp authentication-algorithm sha1
[AC1-ipsec-proposal-tran1] quit
# Create a DPD named dpd.
[AC1] ike dpd dpd
[AC1-ike-dpd-dpd] quit
# Create an IKE peer named peer1.
[AC1] ike peer peer1
# Apply dpd to IKE peer peer1.
[AC1-ike-peer-peer1] dpd dpd
# Configure a plaintext pre-shared key 123456 for IKE negotiation.
[AC1-ike-peer-peer1] pre-shared-key simple 123456
# Specify the security gateway IP address as 133.1.1.33.
[AC1-ike-peer-peer1] remote-address 133.1.1.33
[AC1-ike-peer-peer1] quit
# Create an IPsec policy template named pt with the sequence number 1.
[AC1] ipsec policy-template pt 1
# Reference the IPsec proposal tran1 for the IPsec policy template.
[AC1-ipsec-policy-template-pt-1] proposal tran1
# Specify the IKE peer peer1 for the IPsec policy template.
[AC1-ipsec-policy-template-pt-1] ike-peer peer1
[AC1-ipsec-policy-template-pt-1] quit
# Create an IPsec policy named map with the sequence number 1 by referencing IPsec policy template
pt.
[AC1] ipsec policy map 1 isakmp template pt
# Apply the IPsec policy to VLAN-interface 1.
[AC1] interface Vlan-interface 1
[AC1-Vlan-interface1] ipsec policy map
[AC1-Vlan-interface1] quit
# Create an AP template named ap with the model WA2620-AGN, specify the AP serial number as
210235A35V0088000005, specify the IP address of the backup AC, and configure the connection
priority for the AP.
[AC1] wlan ap ap model WA2620-AGN
[AC1-wlan-ap-ap] serial-id 210235A35V0088000005
[AC1-wlan-ap-ap] backup-ac ip 133.1.1.2
[AC1-wlan-ap-ap] priority level 7
# Create and enter the provision view for the AP.
[AC1-wlan-ap-ap] provision
# Configure the IPsec pre-shared key as 123456 for the AP.
[AC1-wlan-ap-ap-prvs] tunnel encryption ipsec pre-shared-key simple 123456
# Enable IPsec encryption for the AP data tunnel.
[AC1-wlan-ap-ap-prvs] data-tunnel encryption en
- 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