Displaying PIM Information

You can use various show commands to view information about PIM.

Use one of the following commands to view PIM information. The commands do not need to be entered in the specified order. Using these commands is optional and they can be entered in any order. For more information on the full list of show ip pim commands, refer to the Ruckus FastIron Command Reference
  1. Enter the show ip pim counter nsr command to display multicast nonstop routing (NSR) counter and statistics information.
    
    device> show ip pim counter nsr
    
    Mcache sync (entity id: 203)
      pack: 0
      unpack: 0
      ack: 0
    RPset sync (entity id: 201)
      pack: 0
      unpack: 0
      ack: 0
    BSR status (entity id: 202)
      pack: 1
      unpack: 0
      ack: 1
    
    
  2. Enter the show ip pim nsr command to display the multicast nonstop routing (NSR) status.
    
    device> show ip pim nsr
    
    Global Mcast NSR Status
      NSR: ON
      Switchover In Progress Mode: FALSE
    
  3. Enter the show ip pim interface command to display information for PIM interfaces.
    
    device> show ip pim interface
    
    Flags    : SM  - Sparse Mode v2, DM - Dense Mode v2, P - Passive Mode
    
    --------+---------------+-----+---+-------+---+-----+-------+-------+----+--------+
     
    Int'face|Local          |Mode |St |Des Rtr|TTL|Mcast| Filter| VRF   |DR  |Override
            |Address        |     |   |AddPort|Thr|Bndry|  ACL  |       |Prio|Interval
    --------+---------------+-----+---+-------+---+-----+-------+-------+----+--------+
    e1/1/1   5.5.5.5         SM   Ena  Itself   1  None   None   default  1   3000ms
    e1/1/9   15.1.1.5        SM   Ena  Itself   1  None   10     default  1   3000ms
    e1/1/12  12.12.12.1      SM   Dis  Itself   1  None   None   default  1   3000ms
    v20      21.21.21.22     SM   Ena  Itself   1  None   None   default  1   3000ms
    v60      60.60.60.1      SM   Ena  Itself   1  None   None   default  1   3000ms
    v310     110.110.110.2   SM   Dis  Itself   1  None   None   default  1   3000ms
    v360     160.160.160.1   SM   Dis  Itself   1  None   None   default  1   3000ms
    l2       4.4.4.4         SM   Ena  Itself   1  None   None   default  1   3000ms
    l3       10.10.10.10     SM   Ena  Itself   1  None   None   default  1   3000ms
    Total Number of Interfaces : 9
    
  4. Enter the show ip pim sparse command to display PIM Sparse configuration information.
    
    device> show ip pim sparse
    
    Global PIM Sparse Mode Settings
      Maximum Mcache         : 12992       Current Count              : 0
      Hello interval         : 30          Neighbor timeout           : 105
      Join/Prune interval    : 60          Inactivity interval        : 180
      Hardware Drop Enabled  : Yes         Prune Wait Interval        : 3
      Bootstrap Msg interval : 60          Candidate-RP Msg interval  : 60
      Register Suppress Time : 60          Register Probe Time        : 10
      Register Stop Delay    : 10          Register Suppress interval : 60
      SSM Enabled            : Yes         SPT Threshold              : 1
      SSM Group Range        : 232.0.0.0/8
      Route Precedence       : mc-non-default mc-default uc-non-default uc-default
    
  5. Enter the show ip pim bsr command to display bootstrap router (BSR) information. The following example shows information for a device that has been elected as the BSR.
    
    device> show ip pim bsr
    
    PIMv2 Bootstrap information for Vrf Instance : default-vrf
    ------------------------------------------------------------------------------ 
      This system is the Elected BSR
      BSR address: 1.51.51.1. Hash Mask Length 32. Priority 255. 
      Next bootstrap message in 00:01:00 
      Configuration: 
        Candidate loopback 2 (Address 1.51.51.1). Hash Mask Length 32. Priority 255.
    Next Candidate-RP-advertisment in 00:01:00 
      RP: 1.51.51.1
        group prefixes:
        224.0.0.0 / 4
      Candidate-RP-advertisement period: 60
    
  6. Enter the show ip pim neighbor command to display information about PIM neighbors.
    
    device> show ip pim neighbor
    
    --------+--------+---------------+--------+---+---------+---------+-----+------------+-----------+----
    Port    |PhyPort |Neighbor       |Holdtime|T  |PropDelay|Override |Age  |UpTime      |VRF        |Prio
            |        |               |sec     |Bit|msec     |msec     |sec  |            |           |    
    --------+--------+---------------+--------+---+---------+---------+-----+------------+-----------+----
    v2       e1/1/1     2.1.1.2         105      1   500       3000      0     00:44:10  default-vrf 1    
    v4       e1/2/2     4.1.1.2         105      1   500       3000      10    00:42:50  default-vrf 1    
    v5       e1/1/4     5.1.1.2         105      1   500       3000      0     00:44:00  default-vrf 1    
    v22      e1/1/1     22.1.1.1        105      1   500       3000      0     00:44:10  default-vrf 1    
    Total Number of Neighbors : 4
    
  7. Enter the show ip pim traffic command to display information about IPv4 PIM traffic statistics.
    
    device> show ip pim traffic
    
    Port    HELLO     JOIN-PRUNE  ASSERT    REGISTER  REGISTER  BOOTSTRAP CAND. RP  Err
                                          GRAFT(DM) STOP(SM)  MSGS (SM) ADV. (SM)    
    -------+---------+-----------+---------+---------+---------+---------+---------+---
           Rx        Rx          Rx        Rx        Rx        Rx        Rx        Rx
    ------+---------+-----------+---------+---------+---------+---------+---------+---
    v30     0         0           0         0         0         0         0         0  
    v50     2526      1260        0         0         0         1263      0         0  
    v150    2531      0           0         0         0         1263      0         0  
    v200    2531      0           0         0         0         1         0         0  
    Port    HELLO     JOIN-PRUNE  ASSERT    REGISTER  REGISTER  BOOTSTRAP CAND. RP  Err
                                          GRAFT(DM) STOP(SM)  MSGS (SM) ADV. (SM)    
    -------+---------+-----------+---------+---------+---------+---------+---------+---
           Tx        Tx          Tx        Tx        Tx        Tx        Tx       
    ------+---------+-----------+---------+---------+---------+---------+---------+---
    v30     2528      0           0         0         0         0         0        
    v50     2540      1263        0         0         0         2         0        
    v150    2529      0           0         0         0         1262      0        
    v200    2529      0           0         0         0         1262      0     
    
  8. Enter the show ip pim dense command to display PIM Dense configuration information.
    
    device> show ip pim dense
    
    Global PIM Dense Mode Settings
      Maximum Mcache            : 12992    Current Count                      : 2
      Hello interval            : 30       Neighbor timeout                   : 105
      Join/Prune interval       : 60       Inactivity interval                : 180
      Hardware Drop Enabled     : Yes      Prune Wait Interval                : 3
      Graft Retransmit interval : 180      Prune Age                          : 180
      Route Precedence          : mc-non-default mc-default uc-non-default uc-default
    
  9. Enter the show ip pim prune command to display multicast cache entries that are currently in a pruned state and have not yet aged out.
    
    device> show ip pim prune
    
        1 (104.1.1.2 231.0.1.1): 
       e1/2/2,1/2/2(150)      
        2 (108.1.1.100 231.0.1.1): 
       e1/2/2,1/2/2(150)      
        3 (104.1.1.2 231.0.1.2): 
       e1/2/2,1/2/2(150)      
        4 (108.1.1.100 231.0.1.2): 
       e1/2/2,1/2/2(150)      
        5 (108.1.1.100 231.0.1.3): 
       e1/2/2,1/2/2(150)      
        6 (104.1.1.2 231.0.1.4): 
       e1/2/2,1/2/2(150)      
        7 (108.1.1.100 231.0.1.4): 
       e1/2/2,1/2/2(150)      
        8 (104.1.1.2 231.0.1.5): 
       e1/2/2,1/2/2(150)      
        9 (108.1.1.100 231.0.1.5): 
       e1/2/2,1/2/2(150)     
    Total Prune entries: 9
    
  10. Enter the show ip pim mcache command to display the PIM multicast cache.
    
    device> show ip pim mcache
    
    IP Multicast Mcache Table
    Entry Flags : SM - Sparse Mode, SSM - Source Specific Multicast, DM - Dense Mode
           RPT - RPT Bit, SPT - SPT Bit, LSRC - Local Source, LRCV - Local Receiver
           HW - HW Forwarding Enabled, FAST - Resource Allocated, TAG - Need For 
            Replication Entry
           REGPROB - Register In Progress, REGSUPP - Register Suppression Timer
           MSDPADV - Advertise MSDP, NEEDRTE - Route Required for Src/RP, PRUN - DM 
            Prune Upstream
    Interface Flags: IM - Immediate, IH - Inherited, WA - Won Assert
           MJ - Membership Join, MI - Membership Include, ME - Membership Exclude
           BR - Blocked RPT, BA - Blocked Assert, BF - Blocked Filter, BI - Blocked IIF
    Total entries in mcache: 20
    1  (140.140.140.3, 225.0.0.1) in v340 (tag e1/8/1), Uptime 00:00:02 
      Source is directly connected
      Flags (0x200004e1) DM HW FAST TAG
      fast ports: ethe 1/4/6 ethe 1/8/26
      AgeSltMsk: 1, L2 FID: 8188, DIT: 3 
      Forwarding_oif: 2
      L3 (HW) 2:
        TR(e1/4/6,e1/4/6)(VL330), 00:00:02/0, Flags: IM
        e1/8/26(VL310), 00:00:02/0, Flags: IM 
      Src-Vlan: 340
    
  11. Enter the show ip pim mcache command with the did-idx keyword, and specify a value, to display the PIM multicast cache for the specified DIT.
    
    device> show ip pim mcache dit-idx 2
    
    IP Multicast Mcache Table 
    Entry Flags    : SM  - Sparse Mode, SSM - Source Specific Multicast, DM - Dense Mode 
                     RPT    - RPT Bit, SPT - SPT Bit, LSRC - Local Source, LRCV - Local Receiver 
                     HW - HW Forwarding Enabled, FAST - Resource Allocated, TAG - Need For Replication Entry 
                     REGPROB - Register In Progress, REGSUPP - Register Suppression Timer 
                     MSDPADV - Advertise MSDP, NEEDRTE - Route Required for Src/RP,  PRUN - DM Prune Upstream 
    Interface Flags: IM - Immediate, IH - Inherited, WA - Won Assert 
                     MJ - Membership Join, MI - Membership Include, ME - Membership Exclude 
                     BR - Blocked RPT, BA - Blocked Assert, BF - Blocked Filter, BI - Blocked IIF 
    Total entries in mcache: 30
    1     (20.20.20.100, 225.1.1.1) in v220 (tag e1/1/13), Uptime 07:12:07
          upstream neighbor 220.220.220.1
          Flags (0x200680e1) SM SPT LRCV HW FAST TAG
          fast ports: ethe 1/1/11 
          AgeSltMsk: 1,  IPMC:   414 , RegPkt: 0 
          Forwarding_oif: 1, Immediate_oif: 0, Blocked_oif: 0 
          L3 (HW) 1: 
              e1/1/11(VL40), 07:12:07/0, Flags: MJ
          Src-Vlan: 220
    2     (20.20.20.100, 225.1.1.2) in v220 (tag e1/1/13), Uptime 00:01:00
          upstream neighbor 220.220.220.1                             
          Flags (0x200680e1) SM SPT LRCV HW FAST TAG
          fast ports: ethe 1/1/11 
          AgeSltMsk: 1, IPMC:   414 , RegPkt: 0 
          Forwarding_oif: 1, Immediate_oif: 0, Blocked_oif: 0 
          L3 (HW) 1: 
              e1/1/11(VL40), 00:01:00/0, Flags: MJ
          Src-Vlan: 220
    3     (20.20.20.100, 225.1.1.3) in v220 (tag e1/1/13), Uptime 00:01:00
          upstream neighbor 220.220.220.1
          Flags (0x200680e1) SM SPT LRCV HW FAST TAG
          fast ports: ethe 1/1/11 
          AgeSltMsk: 1, IPMC:   414 , RegPkt: 0
          Forwarding_oif: 1, Immediate_oif: 0, Blocked_oif: 0 
          L3 (HW) 1: 
              e1/1/11(VL40), 00:01:00/0, Flags: MJ
          Src-Vlan: 220
    
  12. Enter the show ip pim rp-set command to display RP-set list for the device elected as the bootstrap router (BSR)..
    
    device> show ip pim rp-set
    
    Static RP and associated group ranges
    -------------------------------------
    Static RP count: 4
    130.1.1.1
    120.1.1.1
    120.2.1.1
    124.1.1.1
    Number of group prefixes Learnt from BSR: 0
    No RP-Set present.
  13. Enter the show ip pim rp-map command to display RP-to-group mapping.
    
    device> show ip pim rp-map
    
    Number of group-to-RP mappings: 5
    -------------------------------------------
    S.No  Group address                         RP address                              
    -------------------------------------------
    1     225.1.1.1                            25.0.0.25                               
    2     225.1.1.2                            25.0.0.25                               
    3     225.1.1.3                            25.0.0.25                               
    4     225.1.1.4                            25.0.0.25                               
    5     225.1.1.5                            25.0.0.25 
    
  14. Enter the show ip pim anycast-rp command to display information for a PIM Anycast RP interface.
    
    device> show ip pim anycast-rp
    
    Number of Anycast RP: 1
    Anycast RP: 100.1.1.1
      ACL ID: 200
      ACL Name: my-anycast-rp-set
      ACL Filter: SET
      Peer List:
        1.1.1.1
        2.2.2.2
        3.3.3.3