H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 99

Advertising
background image

90

# Configure the aggregate interface on AC as a trunk port, and configure it to allow packets from

VLAN 2, VLAN 3, and VLAN 10 to pass.

[AC]interface Bridge-Aggregation 1

[AC-Bridge-Aggregation1] port link-type trunk

[AC-Bridge-Aggregation1] port trunk permit vlan 2 3 10

[AC-Bridge-Aggregation1]quit

# Log in to the configuration interface of the switching engine from the AC engine using the oap
command, and enable IGMP snooping globally. Create VLAN 10, assign GigabitEthernet 1/0/1

to this VLAN, and enable IGMP snooping in this VLAN.

<AC> oap connect slot 0

Press CTRL+K to quit.

Connected to OAP!

User interface aux0 is available.

Press ENTER to get started.

<Device> system-view

[Device] igmp-snooping

[Device] vlan 10

[Device-vlan10] port GigabitEthernet 1/0/1

[Device-vlan10] igmp-snooping enable

[Device-vlan10] quit

# Configure GigabitEthernet 1/0/2 as a hybrid port, and configure it to allow packets from VLAN

2, VLAN 3, and VLAN 10 to pass.

[Device]interface GigabitEthernet 1/0/2

[Device-GigabitEthernet1/0/2] port link-type hybrid

[Device-GigabitEthernet1/0/2] port hybrid vlan 2 3 10 tagged

[Device-GigabitEthernet1/0/2] quit

# Use Ctrl + K to return to the configuration interface of the AC engine.
# Create VLAN 10, assign GigabitEthernet 1/0/1 to VLAN 10, and enable IGMP snooping in this
VLAN.

[AC] vlan 10

[AC-vlan10] port GigabitEthernet 1/0/1

[AC-vlan10] igmp-snooping enable

[AC-vlan10] quit

# Configure VLAN 2, VLAN 3, and WLAN-ESS 1 on AC. Configure WLAN-ESS 1 as a hybrid port

that permits packets from VLAN 2, VLAN 3, and VLAN 10 to pass and untags the packets.

Configure VLAN 10 as the default VLAN.

[AC] vlan 2

[AC-vlan2] vlan 3

[AC-vlan3] quit

[AC] interface WLAN-ESS 1

[AC-WLAN-ESS1] port link-type hybrid

[AC-WLAN-ESS1] port hybrid pvid vlan 10

[AC-WLAN-ESS1] port hybrid vlan 2 3 10 untagged

[AC-WLAN-ESS1] mac-vlan enable

# Configure the MAC-based VLAN feature so that Client A and Client B belong to VLAN 2 and

VLAN 3 respectively.

Advertising