Displaying and maintaining IGMP snooping
To do...
Display IGMP snooping group
information
Display the statistics information of
IGMP messages learned by IGMP
snooping
Display static multicast MAC address
entries
Remove all the dynamic group entries
of a specified IGMP snooping group
or all IGMP snooping groups
Clear the statistics information of all
kinds of IGMP messages learned by
IGMP snooping
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
•
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.
Use the command...
display igmp-snooping group [ vlan vlan-id ] [
slot slot-number ] [ verbose ] [ | { begin |
exclude | include } regular-expression ]
display igmp-snooping statistics [ | { begin |
exclude | include } regular-expression ]
display mac-address [ mac-address [ vlan vlan-
id ] | [ multicast ] [ vlan vlan-id ] [ count ] ] [ | {
begin | exclude | include } regular-expression ]
reset igmp-snooping group { group-address |
all } [ vlan vlan-id ]
reset igmp-snooping statistics
Figure
14, Router A connects to the multicast source through GigabitEthernet 1/0/2
36
Remarks
Available in
any view
Available in
any view
Available in
any view
Available in
user view
Available in
user view