Configuring PIM-SM globally

Configure PIM-SM to enable or disable PIM-SM globally on the switch and change default global parameters.

About this task

PIM-SM is the default mode so you do not need to configure the PIM mode.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enable PIM-SM:

    ip pim enable

  3. Configure the time between bootstrap messages:

    ip pim bootstrap-period <5–32757>

  4. Configure the timeout to discard data:

    ip pim disc-data-timeout <5–65535>

  5. Enable the fast join prune interval:

    ip pim fast-joinprune

  6. Configure the forward cache timeout:

    ip pim fwd-cache-timeout <10–86400>

  7. Configure the interval for join and prune messages:

    ip pim join-prune-interval <1–18724>

  8. Specify how long to suppress register messages:

    ip pim register-suppression-timeout <6–65535>

  9. Specify how often the candidate-rendezvous point (C-RP) sends advertisements:

    ip pim rp-c-adv-timeout <5–26214>

  10. Configure the polling interval for the routing table manager (RTM):

    ip pim unicast-route-change-timeout <2–65535>

  11. Verify the configuration changes:

    show ip pim

Example

Verify the configuration changes:

Switch:1(config)#show ip pim

===============================================================
                     Pim General Group - GlobalRouter
===============================================================
PimStat               : enabled
Mode                  : sparse
StaticRP              : disabled
FastJoinPrune         : disabled
BootstrapPeriod       : 60
CRPAdvTimeout         : 60
DiscDataTimeout       : 60
FwdCacheTimeout       : 210
RegSupprTimeout       : 60
UniRouteChangeTimeout : 5
JoinPruneInt          : 60