99
Configuration prerequisites
Before you configure basic IGMP functions, complete the following tasks:
•
Configure any unicast routing protocol so that all devices in the domain are interoperable at the
network layer.
•
Configure PIM-DM or PIM-SM.
•
Determine the IGMP version.
•
Determine the multicast group and multicast source addresses for static group member
configuration.
•
Determine the ACL rule for multicast group filtering.
•
Determine the maximum number of multicast groups that an interface can join.
Enabling IGMP
To configure IGMP, you must enable IGMP on the interface where the multicast group memberships
will be established and maintained.
Enabling IGMP for the public network
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable IP multicast routing.
multicast routing-enable
Disabled by default.
3.
Enter interface view.
interface
interface-type
interface-number
N/A
4.
Enable IGMP.
igmp enable
Disabled by default.
Enabling IGMP in a VPN instance
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a VPN instance and
enter VPN instance view.
ip vpn-instance
vpn-instance-name
N/A
3.
Configure an RD for the VPN
instance.
route-distinguisher
route-distinguisher
No RD is configured by default.
4.
Enable IP multicast routing.
multicast routing-enable
Disabled by default.
5.
Enter interface view.
interface
interface-type
interface-number
N/A
6.
Bind the interface with a VPN
instance.
ip binding vpn-instance
vpn-instance-name
By default, an interface belongs to
the public network, and is not
bound with any VPN instance.
7.
Enable IGMP.
igmp enable
Disabled by default.
For more information about the
ip vpn-instance
,
route-distinguisher
, and
ip binding
vpn-instance
commands, see
MPLS Command Reference.