Enabling PIM-SM

Enable IP multicast routing before you configure PIM.

With PIM-SM enabled on interfaces, routers can establish PIM neighbor relationship and process PIM messages from their PIM neighbors. As a best practice, enable PIM-SM on all non-border interfaces of routers when you deploy a PIM-SM domain.


[IMPORTANT: ]

IMPORTANT:

All the interfaces on the same router must operate in the same PIM mode in the public network or the same VPN instance.


To enable PIM-SM:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable IP multicast routing and enter MRIB view.

multicast routing [ vpn-instance vpn-instance-name ]

By default, IP multicast routing is disabled.

3. Return to system view.

quit

N/A

4. Enter interface view.

interface interface-type interface-number

N/A

5. Enable PIM-SM.

pim sm

By default, PIM-SM is disabled.