Configure PIM-SM Basic Functions
Configuration Condition
Before configuring PIM-SM, first complete the following task:
- Configure the network layer address of the interface, making the neighboring node network layer reachable
- Configure any unicast route protocol, making the intra-domain route reachable
Enable PIM-SM Protocol
Table 7–2 Enable the PIM-SM protocol
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enable the IP multicast forwarding
|
ip multicast-routing
|
Mandatory
By default, the IP multicast forwarding is not enabled.
|
Enter interface configuration mode
|
interface interface-name
|
-
|
Enable the PIM-SM protocol
|
ip pim sparse-mode
|
Either
By default, PIM-SM is disabled on the interface.
|
ip pim sparse-mode passive
|
-
After enabling the PIM-SM protocol, automatically enable the IGMP protocol.
- After enabling the PIM-SM function, all PIM-SM configurations can take effect.