Enabling PIM Sparse

PIM must be enabled globally and PIM Sparse Mode (PIM SM) enabled locally on specific interfaces.

By default, PIM SM is disabled. To enable PIM SM:

  • Enable PIM globally.
  • Configure the IP interfaces that will use PIM SM.
  • Enable PIM SM locally on the individual interfaces connected to the PIM Sparse network.

The steps in this task do not configure the device as a candidate PIM Sparse Bootstrap Router (BSR) and candidate Rendezvous Point (RP). You can configure a device as a PIM Sparse device without configuring the device as a candidate BSR and RP. If you do configure the device as a candidate BSR or RP, it is recommended that you configure the device as both a BSR and an RP. Refer to Configuring BSRs and RPs for PIM Sparse.

  1. Enter global configuration mode.
    device# configure terminal
  2. Globally enable PIM.
    device(config)# router pim
  3. Exit to global configuration mode to enter the interface.
    device(config-router-pim)# exit
  4. Enter interface configuration mode.
    device(config)# interface ethernet 1/2/2
    This step configures Ethernet interface 1/2/2 and this interface is to run PIM SM.
  5. Enter the IP address for the interface.
    device(config-if-e10000-1/2/2)# ip address 207.95.7.1 255.255.255.0
  6. Configure PIM SM on the interface.
    device(config-if-e10000-1/2/2)# ip pim-sparse
  7. (Optional) Specify that the interface is on the border of the PIM Sparse domain.
    device(config-if-e10000-1/2/2)# ip pim border

The following example enables PIM globally and PIM SM on Ethernet interface 1/2/2 which is on the border of the PIM Sparse domain.

device# configure terminal
device(config)# router pim
device(config-pim-router)# exit
device(config)# interface ethernet 1/2/2
device(config-if-e10000-1/2/2)# ip address 207.95.7.1 255.255.255.0
device(config-if-e10000-1/2/2)# ip pim-sparse
device(config-if-e10000-1/2/2)# ip pim border