Enabling PIM Sparse on a Specific VRF

PIM must be enabled globally and PIM Sparse Mode (PIM SM) can be enabled for a specific virtual routing and forwarding instance (VRF).

By default, PIM is disabled. To enable PIM:

  • Enable the feature globally.
  • Configure the IP interfaces that will use PIM.
  • Enable PIM DM locally on the ports that have the IP interfaces you configured for PIM.

To configure PIM SM on a virtual routing instance (VRF), the vrf option and vrf-name variable are added to the router pim command. All PIM parameters available for the default router instance are configurable for a VRF-based PIM instance.

  1. Enter global configuration mode.
    device# configure terminal
  2. Enable PIM for a specific VRF.
    device(config)# router pim vrf blue
    In this example, PIM is enabled for the VRF named blue. The VRF must be created before you specify it in this task step or you will receive an error message stating that the VRF does not exist.

The following example enables PIM for the VRF named blue.

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