53
# Configure VLAN 10 as a multicast VLAN.
[SwitchB] multicast-vlan 10
# Assign GigabitEthernet 1/0/2 and GigabitEthernet 1/0/3 to VLAN 10.
[SwitchB-mvlan-10] port gigabitethernet 1/0/2 to gigabitethernet 1/0/3
[SwitchB-mvlan-10] quit
# Assign GigabitEthernet 1/0/4 to VLAN 10.
[SwitchB] interface gigabitethernet 1/0/4
[SwitchB-GigabitEthernet1/0/4] port multicast-vlan 10
[SwitchB-GigabitEthernet1/0/4] quit
Verifying the configuration
# Display information about multicast VLANs on Switch B.
[SwitchB] display multicast-vlan
Total 1 multicast VLANs.
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 IGMP snooping group entries for dynamic multicast groups on Switch B.
[SwitchB] display igmp-snooping group
Total 1 entries.
VLAN 2: Total 1 entries.
(0.0.0.0, 224.1.1.1)
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 IGMP snooping maintains the user ports in VLAN 10. Switch B will forward the
multicast data of VLAN 10 through these user ports.