Determine the multicast group and multicast source addresses for static group member
•
configuration.
Determine the ACL for multicast group filtering.
•
Enabling IGMP
To configure IGMP, enable IGMP on the interface where the multicast group memberships are
established and maintained.
To enable IGMP:
Step
1.
Enter system view.
2.
Enable IP multicast routing and
enter MRIB view.
3.
Return to system view.
4.
Enter interface view.
5.
Enable IGMP.
Specifying the IGMP version
Because the protocol packets of different IGMP versions vary in structure and type, specify the same
IGMP version for all routers on the same subnet. Otherwise, IGMP cannot operate correctly.
To specify an IGMP version:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Specify an IGMP version.
Configuring an interface as a static member interface
To test multicast data forwarding, you can configure an interface as a static member of a multicast group.
Then, the interface can always receive multicast data addressed to the multicast group.
Configuration guidelines
•
A static member interface 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."
A static member interface does not respond to queries that the IGMP querier sends. When you
•
configure an interface as a static member or cancel this configuration, the interface does not send
Command
system-view
multicast routing [ vpn-instance
vpn-instance-name ]
quit
interface interface-type
interface-number
igmp enable
Command
system-view
interface interface-type
interface-number
igmp version version-number
63
Remarks
N/A
By default, IP multicast is disabled.
N/A
N/A
By default, IGMP is disabled.
Remarks
N/A
N/A
The default setting is IGMPv2.