H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 94

85
# Configure Ten-Gigabitethernet 2/0/1 as a trunk port, and configure it to allow packets from
VLAN 2, VLAN 3, and VLAN 10 to pass.
[AC] interface Ten-GigabitEthernet 2/0/1
[AC-Ten-GigabitEthernet2/0/1] port link-type trunk
[AC-Ten-GigabitEthernet2/0/1] port trunk permit vlan 2 3 10
[AC-Ten-GigabitEthernet2/0/1] quit
# Log in to the configuration interface of the switching interface board from the WX6103 main
control board using the oap command, and enable IGMP snooping globally. Create VLAN 10,
assign GigabitEthernet 0/0/1 to this VLAN, and enable IGMP snooping in this VLAN.
[Device] igmp-snooping
[Device] vlan 10
[Device-vlan10] port GigabitEthernet 0/0/1
[Device-vlan10] igmp-snooping enable
[Device-vlan10] quit
# Configure GigabitEthernet 0/0/2 as a trunk port, and configure it to allow packets from VLAN
2, VLAN 3, and VLAN 10 to pass.
[Device] interface GigabitEthernet 0/0/2
[Device-GigabitEthernet0/0/2] port link-type trunk
[Device-GigabitEthernet0/0/2] port trunk permit vlan 2 3 10
[Device-GigabitEthernet0/0/2] quit
# Use Ctrl + K to return to the configuration interface of the main control board.
# Configure VLAN 2, VLAN 3, and WLAN-ESS 1 on AC. Configure WLAN-ESS 1 as a hybrid port
with VLAN 10 as the default VLAN, and configure the port to permit packets from VLAN 2, VLAN
3, and VLAN 10 to pass and untag the packets.
[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.
[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.
- 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