44
# Create VLAN 100, and assign HundredGigE 1/0/1 through HundredGigE 1/0/4 to the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port hundredgige 1/0/1 to hundredgige 1/0/4
# Enable IGMP snooping and IGMP snooping proxying for the VLAN.
[SwitchA-vlan100] igmp-snooping enable
[SwitchA-vlan100] igmp-snooping proxy enable
[SwitchA-vlan100] quit
Verifying the configuration
# Send IGMP reports from Host A and Host B to multicast group 224.1.1.1. (Details not shown.)
# Display brief information about IGMP snooping group entries on Switch A.
[SwitchA] display igmp-snooping group
Total 1 entries.
VLAN 100: Total 1 entries.
(0.0.0.0, 224.1.1.1)
Host ports (2 in total):
HGE1/0/3 (00:04:00)
HGE1/0/4 (00:04:04)
The output shows that HundredGigE1/0/3 and HundredGigE1/0/4 have become member ports of
multicast group 224.1.1.1.
# Display IGMP group membership information on Router A.
[RouterA] display igmp group
IGMP groups in total: 1
HundredGigE1/0/1(10.1.1.1):
IGMP groups reported in total: 1
Group address Last reporter Uptime Expires
224.1.1.1 0.0.0.0 00:00:31 00:02:03
The output shows that HundredGigE1/0/1 has become the router port of multicast group 224.1.1.1.
# Display IGMP snooping group entries on Switch A.
[SwitchA] display igmp-snooping group
Total 1 entries.
VLAN 100: Total 1 entries.
(0.0.0.0, 224.1.1.1)
Host ports (1 in total):
HGE1/0/3 ( 00:01:23 )
The output shows that HundredGigE1/0/3 is the only member port of multicast group 224.1.1.1.
Troubleshooting IGMP snooping
Layer 2 multicast forwarding cannot function
Symptom
Layer 2 multicast forwarding cannot function on the Layer 2 device.