Multicast and Routing Guide K/KA/KB.15.15
Configuring PIM-SM on the router
Global configuration context for supporting PIM-SM
Before configuring specific PIM-SM settings, it is necessary to enable IP routing, IP multicast routing,
an IP routing protocol, and PIM in the global configuration context. Also, if the router operates as
an edge router for any end points (receivers) expected to join multicast groups, it is also necessary
to enable IGMP on the VLANs supporting such receivers.
Configuring global context commands
NOTE: PIM-SM operation requires an IP routing protocol enabled on the router. You can use RIP,
OSPF, and/or static routing. The examples in this section use RIP. See “Routing Basics” (page 107).
Syntax:
[no] ip routing
Enables IP routing on the router.
The no form of the command disables IP routing. Note that before disabling IP
routing, it is necessary to disable all other IP routing protocols on the router.
(Default: Disabled)
Syntax:
[no] ip multicast-routing
Enables or disables IP multicast routing on the router. IP routing must first be enabled.
Note that router PIM must be disabled before disabling IP multicast routing.
(Default: Disabled)
Syntax:
[no] router [ ospf | rip ]
[no] ip route [ ip-addr/mask-len ] [ ip-addr | vlan | reject |
blackhole ]
These commands are the options for the IP routing protocol required to support PIM
operation. For more on these options, see “Routing Basics” (page 107)
.
Syntax:
[no] router pim [[enable] | [disable]]
Puts the CLI into the PIM context level. IP routing must be enabled before enabling
PIM.
The no router pim command deletes the PIM configuration. (Default: Disabled)
[enable] Enables PIM globally.
[disable] Disables PIM globally. Disabling PIM does not delete the PIM
configuration.
66 PIM-SM (Sparse Mode)










