28
Task Command
Display information about Layer 2 IP
multicast groups.
display l2-multicast ip
[
group
group-address |
source
source-address ] * [
vlan
vlan-id ] [
slot
slot-number ]
Display information about Layer 2 IP
multicast group entries.
display l2-multicast ip forwarding
[
group
group-address |
source
source-address ] * [
vlan
vlan-id ] [
slot
slot-number ]
Display information about Layer 2 MAC
multicast groups.
display l2-multicast mac
[ mac-address ] [
vlan
vlan-id ] [
slot
slot-number ]
Display information about Layer 2 MAC
multicast group entries.
display l2-multicast mac forwarding
[ mac-address ] [
vlan
vlan-id ] [
slot
slot-number ]
Delete dynamic IGMP snooping group
entries.
reset igmp-snooping group
{ group-address
[ source-address ] |
all
} [
vlan
vlan-id ]
Delete dynamic router ports.
reset igmp-snooping router-port
{
all
|
vlan
vlan-id }
Clear statistics for the IGMP messages
learned through IGMP snooping.
reset igmp-snooping statistics
IGMP snooping configuration examples
Group policy and simulated joining configuration example (for
VLANs)
Network requirements
As shown in Figure 12, Router A runs IGMPv2 and acts as the IGMP querier. Switch A runs IGMPv2
snooping.
Configure a multicast group policy to meet the following requirements:
• Host A and Host B receive only the multicast data addressed to multicast group 224.1.1.1. In
addition, multicast data is uninterruptedly forwarded through GigabitEthernet 1/0/3 and
GigabitEthernet 1/0/4 of Switch A, even though Host A and Host B temporarily fail.
• Switch A drops unknown multicast data instead of flooding it in VLAN 100.