Table 2-20 Display and maintain IGMP Snooping
Operation
Display the current IGMP
Snooping configuration
Display IGMP Snooping message
statistics
Display the information about IP
and MAC multicast groups in one
or all VLANs
Clear IGMP Snooping statistics
IGMP Snooping Configuration Examples
Configuring IGMP Snooping
Network requirements
To prevent multicast traffic from being flooded at Layer 2, enable IGMP snooping on Layer 2 switches.
As shown in
and to Switch A through Ethernet1/0/1.
Run PIM-DM and IGMP on Router A. Run IGMP snooping on Switch A. Router A acts as the IGMP
querier.
The multicast source sends multicast data to the multicast group 224.1.1.1. Host A and Host B are
receivers of the multicast group 224.1.1.1.
Network diagram
Figure 2-3 Network diagram for IGMP Snooping configuration
Source
Eth1/0/2
1.1.1.2/24
1.1.1.1/24
Multicast packets
Configuration procedure
1)
Configure the IP address of each interface
Configure an IP address and subnet mask for each interface as per
configuration steps are omitted.
display igmp-snooping
configuration
display igmp-snooping
statistics
display igmp-snooping group
[ vlan vlanid ]
reset igmp-snooping statistics
Figure
2-3, Router A connects to a multicast source (Source) through Ethernet1/0/2,
VLAN100
Eth1/0/1
10.1.1.1/24
Eth1/0/1
Router A
IGMP querier
Command
Receiver
Host A
Eth1/0/4
Eth1/0/3
Switch A
Eth1/0/2
Host C
2-16
Remarks
You can execute the display
commands in any view.
You can execute the reset
command in user view.
Receiver
Host B
Figure
2-3. The detailed