34
Task Command
Remarks
Display information about the hosts
tracked by IGMP snooping.
display igmp-snooping host vlan
vlan-id
group
group-address
[
source
source-address
] [
slot
slot-number
] [
|
{
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.
Display statistics for the IGMP
messages learned by IGMP
snooping.
display igmp-snooping statistics
[
|
{
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.
This command works only on an
IGMP snooping–enabled VLAN,
but not in a VLAN with IGMP
enabled on its VLAN interface.
This command cannot remove the
static group entries of IGMP
snooping groups.
Clear statistics for the IGMP
messages learned by IGMP
snooping.
reset igmp-snooping statistics
Available in user view.
IGMP snooping configuration examples
Group policy and simulated joining configuration example
Network requirements
As shown in
, IGMPv2 runs on Router A, IGMPv2 snooping runs on Switch A, and Router A acts
as the IGMP querier on the subnet.
The receivers, Host A and Host B, 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 Ethernet 1/0/3 and Ethernet 1/0/4 of
Switch A even if Host A and Host B accidentally, temporarily stop receiving multicast data, and that
Switch A drops unknown multicast data and does not broadcast the data to the VLAN where Switch A
resides.