Enabling PIM-SM
With PIM-SM enabled, a router sends hello messages periodically to discover PIM neighbors and
processes messages from the PIM neighbors. To deploy a PIM-SM domain, enable PIM-SM on all
non-border interfaces of the routers.
Enabling PIM-SM globally on the public network
To do...
1.
Enter system view.
2.
Enable IP multicast routing.
3.
Enter interface view.
4.
Enable PIM-SM.
Enabling PIM-SM in a VPN instance
To do...
Enter system view.
1.
2.
Create a VPN instance and
enter VPN instance view.
3.
Configure a
route-distinguisher
4.
(RD) for the VPN instance.
5.
Enable IP multicast routing.
6.
Enter interface view.
7.
Bind the interface with a VPN
instance.
8.
Enable PIM-SM.
All the interfaces in the same VPN instance on the same router must work in the same PIM mode.
For more information about ip vpn-instance, route-distinguisher and ip binding vpn-instance, see MPLS
Command Reference.
For more information about multicast routing-enable, see IP Multicast Command Reference.
Configuring an RP
An RP can be manually configured or dynamically elected through the BSR mechanism. For a large PIM
network, static RP configuration is a tedious job. Generally, static RP configuration is just a backup means
Use the command...
system-view
multicast routing-enable
interface interface-type
interface-number
pim sm
Use the command...
system-view
ip vpn-instance vpn-instance-name
route-distinguisher
route-distinguisher
multicast routing-enable
interface interface-type
interface-number
ip binding vpn-instance
vpn-instance-name
pim sm
111
Remarks
—
Required.
Disable by default.
—
Required.
Disabled by default.
Description
—
—
Required.
Not configured by default.
Required.
Disabled by default.
—
Required.
By default, an interface belongs to
the public network, and is not
bound with any VPN instance.
Required.
Disabled by default.