92
[SwitchB] vlan 4
[SwitchB-vlan4] port gigabitethernet 1/0/4
[SwitchB-vlan4] mld-snooping enable
[SwitchB-vlan4] quit
# Create VLAN 10, and enable MLD snooping for this VLAN.
[SwitchB] vlan 10
[SwitchB-vlan10] mld-snooping enable
[SwitchB-vlan10] quit
# Configure GigabitEthernet 1/0/1 as a hybrid port, and assign it to VLAN 10 as a tagged VLAN
member.
[SwitchB] interface gigabitethernet 1/0/1
[SwitchB-GigabitEthernet1/0/1] port link-type hybrid
[SwitchB-GigabitEthernet1/0/1] port hybrid vlan 10 tagged
[SwitchB-GigabitEthernet1/0/1] quit
# Configure VLAN 10 as an IPv6 multicast VLAN, and configure VLAN 2 through VLAN 4 as
sub-VLANs.
[SwitchB] ipv6 multicast-vlan 10
[SwitchB-ipv6-mvlan-10] subvlan 2 to 4
[SwitchB-ipv6-mvlan-10] quit
Verifying the configuration
# Display information about all IPv6 multicast VLANs on Switch B.
[SwitchB] display ipv6 multicast-vlan
Total 1 IPv6 multicast VLANs.
IPv6 multicast VLAN 10:
Sub-VLAN list(3 in total):
2-4
Port list(0 in total):
# Display information about IPv6 multicast groups in IPv6 multicast VLANs on Switch B.
[SwitchB] display ipv6 multicast-vlan group
Total 1 entries.
IPv6 multicast VLAN 10: Total 1 entries.
(::, FF1E::101)
Sub-VLANs (3 in total):
VLAN 2
VLAN 3
VLAN 4
The output shows that IPv6 multicast group FF1E::101 belongs to IPv6 multicast VLAN 10. IPv6
multicast VLAN 10 contains sub-VLANs VLAN 2 through VLAN 4. Switch B will replicate the IPv6
multicast data of VLAN 10 to VLAN 2 through VLAN 4.
Port-based IPv6 multicast VLAN configuration example
Network requirements
As shown in
:
•
MLDv1 runs on Switch A. MLDv1 snooping runs on Switch B.