H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 106
97
[AC-mld-snooping] quit
# Create VLAN 10, assign GigabitEthernet 1/0/1 to VLAN 10, and enable MLD snooping in this
VLAN.
[AC] vlan 10
[AC-vlan10] port GigabitEthernet1/0/1
[AC-vlan10] mld-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.
[AC] mac-vlan mac-address 6A-74-B3 vlan 2
[AC] mac-vlan mac-address A6-5B-89 vlan 3
# Enable MLD snooping in VLAN 2 and VLAN 3.
[AC] vlan 2
[AC-vlan2] mld-snooping enable
[AC-vlan2] quit
[AC] vlan 3
[AC-vlan3] mld-snooping enable
[AC-vlan3] quit
# Configure VLAN 10 as an IPv6 multicast VLAN.
[AC] multicast-vlan ipv6 10
# Assign WLAN-ESS 1 to IPv6 multicast VLAN 10.
[AC-ipv6-mvlan-10] port WLAN-ESS 1
[AC-ipv6-mvlan-10] quit
4.
Verify the configuration:
# View the IPv6 multicast VLAN information on AC.
[AC] display multicast-vlan ipv6
Total 1 IPv6 multicast-vlan(s)
IPv6 Multicast vlan 10
port list:
WLAN-ESS1
# View the MLD snooping multicast group information on AC.
[AC] display mld-snooping group
Total 1 IP Group(s).
Total 1 IP Source(s).