Configure IGMP snooping Policy
IGMP snooping policy is mainly used to control the receiver on the port, so as to control the multicast flow and limit the receiver action. In the setup L2 multicast flow forwarding environment, you also can apply the IGMP snooping policy.
Configuration Condition
Before configuring the IGMP snooping policy, first complete the following task:
- Enable global and VLAN IGMP snooping function
Configure Port Filter Rule
When the receiver hopes to get the multicast service, actively initiate the IGMP member report packet and the device judges according to the applied port filter rule in the port: refuse the user to add the destination multicast group; permit the user to add the destination multicast group; limit the times and time of the user adding the destination multicast group.
Table 2-16 Configure port filter rule
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter the IGMP profile configuration mode
|
ip igmp profile profile-id
|
-
|
Configure the range of the refused multicast group
|
deny { all | low-ip-address [ high-ip-address ] }
|
Optional
By default, the range of the refused multicasts group is not configured.
|
Configure the range of the permitted multicast group
|
permit { all | low-ip-address [ high-ip-address ] }
|
Optional
By default, the range of the permitted multicasts group is not configured.
|
Configure the preview multicast group rule
|
preview { all | low-ip-address [ high-ip-address ] | count count-number | interval interval-time | time time-duration }
|
Optional
By default, the preview multicast group rule is not configured.
|
Return to global configuration mode
|
exit
|
-
|
Enter L2 Ethernet interface configuration mode
|
interface interface-name
|
You should select one of them.
After entering L2 Ethernet interface configuration mode, the subsequent configuration just takes effect on the current port; after entering the aggregation group configuration mode, the subsequent configuration just takes effect on the aggregation group.
|
Enter aggregation group configuration mode
|
interface link-aggregation link-aggregation-id
|
In the port, apply the IGMP port filter rule
|
ip igmp filter profile-number
|
Mandatory
By default, the IGMP port filter rule is not applied in the port.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
Multicast group address can only be in one IGMP profile filter rule: deny, permit and preview. The new rule covers the old rule.
- Reset period of preview times > preview time × preview times + preview interval × (preview time – 1).
Configure Maximum Number of Port Multicast Groups
The maximum number of the port multicast groups can limit the number of the multicast groups the receiver is added to.
Table 2-17 Maximum number of port multicast groups
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter L2 Ethernet interface configuration mode
|
interface interface-name
|
You should select one of them.
After entering L2 Ethernet interface configuration mode, the subsequent configuration just takes effect on the current port; after entering the aggregation group configuration mode, the subsequent configuration just takes effect on the aggregation group.
|
Enter aggregation configuration mode
|
interface link-aggregation link-aggregation-id
|
Configure maximum number of the multicast groups in the port
|
ip igmp max-groups number
|
Optional
By default, the maximum number of the multicast groups the port can dynamically be added to is 6144.
|
Configure Upper-limitation Policy of Port Multicast Groups
When the number of the multicast groups the receiver is added to exceeds the configured maximum number of the multicast groups: If the upper-limitation policy of the port multicast group is replace, the new added multicast group on the device automatically replaces the existing multicast group; if the upper-limitation policy of the port multicast group is refuse, refuse the new added multicast group.
Table 2-18 Configure upper-limitation policy of port multicast group
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter L2 Ethernet interface configuration mode
|
interface interface-name
|
You should select one of them.
After entering L2 Ethernet interface configuration mode, the subsequent configuration just takes effect on the current port; after entering the aggregation group configuration mode, the subsequent configuration just takes effect on the aggregation group.
|
Enter aggregation group configuration mode
|
interface link-aggregation link-aggregation-id
|
Configure the upper-limitation policy of the port multicast group
|
ip igmp max-groups action { deny | replace }
|
Optional
By default, the processing action after the number of the multicast groups the port is dynamically added to reaches the maximum is refuse.
|
Configure Interface to Control PIM JOIN Packet
After configuring the interface to control PIM JOIN packet, the JOIN packet is forwarded by software, not by hardware.
Table 2-19 Configure the interface to control PIM JOIN packet
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Configure the interface to control PIM JOIN packet
|
ip igmp snooping vlan vlan-id ctrl-pim
|
Mandatory
By default, do not control the PIN JOIN packet of the specified VLAN.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
Before enabling, flood the JOIN packet in VLAN. After enabling, the packet is forwarded to CPU, but will not flood in VLAN.