10
Assert
PIM-SM uses exactly the same assert mechanism as PIM-DM does. Refer to Assert.
Configuring PIM-DM
Enabling PIM-DM
With PIM-DM enabled, a router sends hello messages periodically to discover PIM neighbors and
processes messages from PIM neighbors. When deploying a PIM-DM domain, you are recommended
to enable PIM-DM on all interfaces of non-border routers.
Follow these steps to enable PIM-DM:
To do... Use the command... Remarks
Enter system view
system-view
—
Enable multicast routing
multicast routing-enable
Required
Disabled by default
Enter interface view
interface interface-type
interface-number
—
Enable PIM-DM
pim dm
Required
Disabled by default
Configuring PIM-SM
Complete the following tasks to configure PIM-SM:
Task Remarks
Enabling PIM-SM
Required
Configuring an RP
Required
Configuring a BSR
Optional
Filtering the Registration Packets from DR to RP
Optional
Disabling RPT-to-SPT Switchover Optional
Enabling PIM-SM
With PIM-SM enabled, a router sends hello messages periodically to discover PIM neighbors and
processes messages from PIM neighbors. When deploying a PIM-SM domain, you are recommended
to enable PIM-SM on all interfaces of non-border routers (border routers are PIM-enabled routers
located on the boundary of BSR admin-scope regions).
Follow these steps to enable PIM-SM:
To do... Use the command... Remarks
Enter system view
system-view
—
Enable multicast routing
multicast routing-enable
Required
Disabled by default