95
# Assign GigabitEthernet 1/0/4 to VLAN 4 and VLAN 10 as an untagged VLAN member.
[SwitchB-GigabitEthernet1/0/4] port hybrid vlan 4 untagged
[SwitchB-GigabitEthernet1/0/4] port hybrid vlan 10 untagged
[SwitchB-GigabitEthernet1/0/4] quit
# Configure VLAN 10 as an IPv6 multicast VLAN.
[SwitchB] ipv6 multicast-vlan 10
# Assign GigabitEthernet 1/0/2 and GigabitEthernet 1/0/3 to VLAN 10.
[SwitchB-ipv6-mvlan-10] port gigabitethernet 1/0/2 to gigabitethernet 1/0/3
[SwitchB-ipv6-mvlan-10] quit
# Assign GigabitEthernet 1/0/4 to VLAN 10.
[SwitchB] interface gigabitethernet 1/0/4
[SwitchB-GigabitEthernet1/0/4] ipv6 port multicast-vlan 10
[SwitchB-GigabitEthernet1/0/4] quit
Verifying the configuration
# Display information about IPv6 multicast VLANs on Switch B.
[SwitchB] display ipv6 multicast-vlan
Total 1 IPv6 multicast VLANs.
IPv6 multicast VLAN 10:
Sub-VLAN list(0 in total):
Port list(0 in total):
GE1/0/2
GE1/0/3
GE1/0/4
# Display information about MLD snooping group entries for dynamic IPv6 multicast groups on
Switch B.
[SwitchB] display mld-snooping group
Total 1 entries.
VLAN 2: Total 1 entries.
(::, FF1E::101)
Host slots (0 in total):
Host ports (3 in total):
GE1/0/2 (00:03:23)
GE1/0/3 (00:04:07)
GE1/0/4 (00:04:16)
The output shows that MLD snooping maintains the user ports in VLAN 10. Switch B will forward the
IPv6 multicast data of VLAN 10 through these user ports.