36
Displaying and maintaining IGMP snooping
To do... Use the command... Remarks
Display IGMP snooping group
information
display igmp-snooping group [ vlan vlan-id ] [
slot slot-number ] [ verbose ] [ | { begin |
exclude | include } regular-expression ]
Available in
any view
Display the statistics information of
IGMP messages learned by IGMP
snooping
display igmp-snooping statistics [ | { begin |
exclude | include } regular-expression ]
Available in
any view
Display static multicast MAC address
entries
display mac-address [ mac-address [ vlan vlan-
id ] | [ multicast ] [ vlan vlan-id ] [ count ] ] [ | {
begin | exclude | include } regular-expression ]
Available in
any view
Remove all the dynamic group entries
of a specified IGMP snooping group
or all IGMP snooping groups
reset igmp-snooping group { group-address |
all } [ vlan vlan-id ]
Available in
user view
Clear the statistics information of all
kinds of IGMP messages learned by
IGMP snooping
reset igmp-snooping statistics
Available in
user view
NOTE:
The reset igmp-snooping group command works only on an IGMP snooping–enabled VLAN, but
not on a VLAN with IGMP enabled on its VLAN interface.
The reset igmp-snooping group command cannot remove the static group entries of IGMP snooping
groups.
IGMP snooping configuration examples
Group policy and simulated joining configuration example
Network requirements
• As shown in Figure 14, Router A connects to the multicast source through GigabitEthernet 1/0/2
and to Switch A through GigabitEthernet 1/0/1.
• IGMPv2 runs on Router A, IGMPv2 snooping runs on Switch A, and Router A will act as the IGMP
querier on the subnet.
• Receivers, Host A and Host B, are attached to Switch A, and they can receive multicast traffic
addressed to multicast group 224.1.1.1 only.
• Multicast data for group 224.1.1.1 can be forwarded through GigabitEthernet 1/0/3 and
GigabitEthernet 1/0/4 of Switch A even if Host A and Host B accidentally, temporarily stop
receiving multicast data.