H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 96

Advertising
background image

87

[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.

[AC] mac-vlan mac-address 6A-74-B3 vlan 2

[AC] mac-vlan mac-address A6-5B-89 vlan 3

# Enable IGMP snooping in VLAN 2 and VLAN 3.

[AC] vlan 2

[AC-vlan2] igmp-snooping enable

[AC-vlan2] quit

[AC] vlan 3

[AC-vlan3] igmp-snooping enable

[AC-vlan3] quit

# Configure VLAN 10 as a multicast VLAN.

[AC] multicast-vlan 10

# Assign WLAN-ESS 1 to VLAN 10.

[AC-mvlan-10] port WLAN-ESS 1

[AC-mvlan-10] quit

5.

Configure Switch:
# Enable IGMP snooping globally.

<Switch> system-view

[Switch] igmp-snooping

[Switch-igmp-snooping] quit

# Create VLAN 10, VLAN 2, and VLAN 3, and enable IGMP snooping in these VLANs.

[Switch] vlan 10

[Switch-vlan10] igmp-snooping enable

[Switch-vlan10] vlan 2

[Switch-vlan2] igmp-snooping enable

[Switch-vlan2] vlan 3

[Switch-vlan3] igmp-snooping enable

[Switch-vlan3] quit

# Configure Ethernet 1/1 and Ethernet 1/2 as trunk ports, and configure them to permit packets
from VLAN 2, VLAN 3, and VLAN 10 to pass.

[Switch] interface ethernet 1/1

[Switch-Ethernet1/1] port link-type trunk

[Switch-Ethernet1/1] port trunk permit vlan 2 3 10

[Switch-Ethernet1/1] quit

[Switch] interface ethernet 1/2

[Switch-Ethernet1/2] port link-type trunk

[Switch-Ethernet1/2] port trunk permit vlan 2 3 10

[Switch-Ethernet1/2] quit

6.

Verify the configuration:
# View the multicast VLAN information on the access controller.

[AC] display multicast-vlan

Advertising