router pim

Configures basic global Protocol Independent Multicast (PIM) Sparse parameters on a device within the PIM Sparse domain and enters PIM-router configuration mode.
Syntax
router pim [ vrf vrf-name ]
no router pim [ vrf vrf-name ]
Command Default

PIM Sparse is not configured.

Parameters
vrf vrf-name
Specifies a non-default virtual routing and forwarding (VRF) instance.
Modes

Global configuration mode

Interface configuration mode

Usage Guidelines

You do not need to globally enable IP multicast routing when configuring PIM Sparse.

After you enable IP multicast routing and PIM Sparse at the global level, you must enable it on the individual interfaces connected to the PIM Sparse network.

If you configure PIM Sparse on an interface that is on the border of the PIM Sparse domain, you also must also configure the ip pim border command on the interface.

You must configure the bsr-candidate ethernet command to identify an interface on at least one device as a candidate PIM Sparse Bootstrap Router (BSR) and candidate PIM Sparse rendezvous point (RP).

You can configure the rp-address command to explicitly identify an RP, including an ACL-based RP, by its IP address instead of having it identified by the RP election process.

Entering the router pim vrf command to enable PIM does not require a software reload.

All PIM parameters available for the default router instance are configurable for a VRF-based PIM instance.

The no form of the command disables PIM and removes all configuration for PIM multicast on the device (router pim level) only. Using the no router pimvrf vrf-name command removes all configuration for PIM multicast on the specified VRF.

Examples

The following example configures basic global PIM Sparse parameters.

device# configure terminal
device(config)# router pim

The following example configures PIM Sparse for a non-default VRF instance.

device# configure terminal
device(config)# router pim vrf blue