beautypg.com

Configuring bas – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 127

background image

117

# Configure GigabitEthernet 1/0/1 as a trunk port, and configure the port to send the packets from

VLANs 100 and 200 with VLAN tags kept.

[AC] interface Ten-GigabitEthernet 1/0/1

[AC-Ten-GigabitEthernet 1/0/1] port link-type trunk

[AC-Ten-GigabitEthernet 1/0/1] port trunk permit vlan 100 200

[AC-Ten-GigabitEthernet 1/0/1] quit

# Enable QinQ termination on VLAN-interface 100, and configure VLAN-interface 100 to terminate
packets whose Layer 2 VLAN IDs are 1001. (After you enable QinQ termination, AC can send ARP

packets in QinQ format to communicate with AP.)

[AC] interface Vlan-interface 100

[AC-Vlan-interface100] second-dot1q 1001

# Configure the IP address of VLAN-interface 100 as 10.1.1.10/24.

[AC-Vlan-interface100] ip address 10.1.1.10 24

[AC-Vlan-interface100] quit

# Create a WLAN-ESS interface.

[AC] interface WLAN-ESS 1

[AC-WLAN-ESS1] quit

# Create a WLAN service template of the clear type, configure its SSID as ABC, and bind interface

WLAN-ESS 1 to the service template.

[AC]wlan service-template 1 clear

[AC-wlan-st-1] ssid ABC

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

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

[AC-wlan-st-1] quit

# Create an AP template named ap1, set the AP model to WA2620-AGN, and set the AP serial ID to
210235A29DB099002291.

[AC] wlan ap ap1 model wa2620-agn

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

# Map service template 1 to radio 1, and specify the two service VLANs (outer VLAN 200 and inner
VLAN 2001) for the clients.

[AC-wlan-ap-ap1] radio 1

[AC-wlan-ap-ap1-radio-1] service-template 1 vlan-id 200 2001

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

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

Configuring BAS

# Configure IP address pool 1 to assign IP addres 10.1.1.0/24 to AP.

system-view

[BAS] dhcp server ip-pool 1

[BAS-dhcp-pool-1] network 10.1.1.0 mask 255.255.255.0

[BAS-dhcp-pool-1] gateway-list 10.1.1.1

[BAS-dhcp-pool-1] quit

# Enable DHCP.

[BAS] dhcp enable

# Configure QinQ termination on Ten-GigabitEthernet 0/0.100 to terminate packets whose Layer 1
VLAN IDs are 100 and Layer 2 VLAN IDs are 1001.