Configure IGMP Basic Functions
Configuration Condition
Before configuring the IGMP basic functions, first complete the following task:
- Configure the interface network layer address, making the neighboring node network layer reachable
Enable IGMP Protocol
Table 5–2 Enable the IGMP protocol
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enable the IP multicast forwarding
|
ip multicast-routing
|
Mandatory
By default, the IP multicast forwarding is disabled.
|
Enter interface configuration mode
|
interface interface-name
|
-
|
Enable the IGMP protocol
|
ip pim sparse-mode
|
Mandatory
By default, IGMP is disabled.
When the interface enables the multicast route protocol, automatically enable IGMP. Only after enabling IGMP, all IGMP configurations can take effect.
|
Configure IGMP Version
Table 5–3 Configure the IGMP version
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter interface configuration mode
|
interface interface-name
|
-
|
Configure the IGMP version
|
ip igmp version version-number
|
Mandatory
By default, the IGMP version is 2.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
Because the packet structure and kind of different versions of IGMP protocols are different, it is suggested to configure the same version of IGMP for all devices on the same subnet.
Configure Static Group Adding
After configuring one static group or source group in the interface, the device regards that the interface has the receiver of the multicast group or source group.
Table 5–4 Configure static group adding
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter interface configuration mode
|
interface interface-name
|
-
|
Configure the static group adding
|
ip igmp static-group group-ip-address [ source-ip-address ]
|
Mandatory
By default, the interface is not added to any multicast group or source group in the static mode.
|
Configure Multicast Group Filter
The interface configured with the IGMP multicast group filter filters the group member relation report in the segment according to the ACL rules and only the group member relation report permitted by ACL is processed and the un-permitted is directly dropped. For the existing but not permitted by ACL multicast group, immediately delete the multicast group information.
Table 5–5 Configure multicast group filter
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter interface configuration mode
|
interface interface-name
|
-
|
Configure the IGMP multicast group filter
|
ip igmp access-group { access-list-number | access-list-name }
|
Mandatory
By default, the multicast group filter is not configured.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
ip igmp access-group Command only supports the standard ACL.
Configure SSM Multicast Group Filter
After configuring the range of the source groups received by IGMP, filter the received source group member relation report to limit the source group range the interface serves. For the groups belonging to the PIM-SSM range, only not the (IS_EX, TO_EX) member relation report of IGMPv3 permitted by the access list (S, G ) can be accepted.
Table 5–6 Configure the SSM multicast group filter
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter interface configuration mode
|
interface interface-name
|
-
|
Configure the SSM multicast group filter
|
ip igmp ssm-access-group { access-list-number | access-list-name }
|
Mandatory
By default, do not filter to limit the SSM group members.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
ip igmp ssm-access-group can take effect only when the interface enables IGMPv3.
- ip igmp ssm-access-group takes effect only for the source groups in the PIM SSM range.
- ip igmp ssm-access-group only supports the extended ACL.