40
[SwitchC-vlan100] quit
# Configure HundredGigE 1/0/3 and HundredGigE 1/0/5 as static member ports for multicast
group 224.1.1.1.
[SwitchC] interface hundredgige 1/0/3
[SwitchC-HundredGigE1/0/3] igmp-snooping static-group 224.1.1.1 vlan 100
[SwitchC-HundredGigE1/0/3] quit
[SwitchC] interface hundredgige 1/0/5
[SwitchC-HundredGigE1/0/5] igmp-snooping static-group 224.1.1.1 vlan 100
[SwitchC-HundredGigE1/0/5] quit
Verifying the configuration
# Display brief information about static router ports for VLAN 100 on Switch A.
[SwitchA] display igmp-snooping static-router-port vlan 100
VLAN 100:
Router ports (1 in total):
HGE1/0/3
The output shows that HundredGigE 1/0/3 on Switch A has become a static router port.
# Display brief information about static IGMP snooping group entries for VLAN 100 on Switch C.
[SwitchC] display igmp-snooping static-group vlan 100
Total 1 entries.
VLAN 100: Total 1 entries.
(0.0.0.0, 224.1.1.1)
Host ports (2 in total):
HGE1/0/3
HGE1/0/5
The output shows that HundredGigE 1/0/3 and HundredGigE 1/0/5 on Switch C have become static
member ports of multicast group 224.1.1.1.
IGMP snooping querier configuration example (for VLANs)
Network requirements
•
The network is a Layer 2-only network.
•
Source 1 and Source 2 send multicast data to multicast groups 224.1.1.1 and 225.1.1.1,
respectively.
•
Host A and Host C are receivers of multicast group 224.1.1.1, and Host B and Host D are
receivers of multicast group 225.1.1.1.
•
All host receivers run IGMPv2, and all switches run IGMPv2 snooping. Switch A (which is close
to the multicast sources) acts as the IGMP snooping querier.
Configure the switches to meet the following requirements:
•
To prevent the switches from flooding unknown data in the VLAN, enable all the switches to
drop unknown multicast data.
•
A switch does not mark a port that receives an IGMP query with source IP address 0.0.0.0 as a
dynamic router port. This adversely affects the establishment of Layer 2 forwarding entries and
multicast traffic forwarding. To avoid this, configure the source IP address of IGMP queries as a
non-zero IP address.