
PIM-SM (Sparse Mode)
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, then it is also
necessary to enable IGMP on the VLANs supporting such receivers.
Global Configuration 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.
For more on these topics, refer to 5 in this guide.
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 be enabled first. Note that router PIM must be
disabled before disabling IP multicast routing. (Default: Dis-
abled)
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,
refer to the chapter titled “IP Routing Features” in this guide.
Syntax: [no] router pim
Enables PIM at the global level and puts the CLI into the PIM
context level. Executing the no form of the command at the
global level disables PIM. IP routing must be enabled before
enabling PIM. (Default: Disabled.)
4-26