86
Specifying an IGMP version
For IGMP to operate correctly, specify the same IGMP version for all routers on the same subnet.
To specify an IGMP version:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Specify an IGMP version on the
interface.
igmp version
version-number
The default setting is 2.
Configuring a static group member
You can configure an interface as a static group member of a multicast group. Then, the interface
can always receive multicast data addressed to the specified multicast group.
A static group member does not respond to IGMP queries. When you complete or cancel this
configuration on an interface, the interface does not send an unsolicited IGMP report or leave
message.
Configuration restrictions and guidelines
The interface to be configured as a static group member has the following restrictions:
•
If the interface is IGMP and PIM-SM enabled, it must be a PIM-SM DR.
•
If the interface is IGMP enabled but not PIM-SM enabled, it must be an IGMP querier.
For more information about PIM-SM and DR, see "Configuring PIM."
Configuration procedure
To configure a static group member:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure the interface as a
static group member.
igmp static-group
group-address
[
source
source-address
]
By default, an interface is not a
static group member of any
multicast groups.
Configuring a multicast group policy
This feature enables an interface to filter IGMP reports by using an ACL that specifies multicast
groups and the optional sources. It is used to control the multicast groups that the hosts attached to
an interface can join.
This configuration does not take effect on static group members, because static group members do
not send IGMP reports.
To configure a multicast group policy: