Show, Clear, and Debug Command Reference

Command Hierarchies

Show Commands

show
— router
— pim
anycast [detail]
crp [ip-address]
s-pmsi [data-mt-interface-name] [detail]
group [grp-ip-address] [source ip-address] [type {starstarrp | starg | sg}] [detail] [family]
interface [ip-int-name | mt-int-name | ip-address] [group [grp-ip-address] source ip-address] [type {starstarrp | starg | sg}] [detail] [family]
neighbor [ip-address | ip-int-name [address ip-address]] [detail] [family]
rp [ip-address]
rp-hash grp-ip-address
statistics [ip-int-name | mt-int-name | ip-address] [family]
status [detail] [family]
tunnel-interface [ip-int-name | mt-int-name | int-ip-address] [group[grp-ip-address] source ip-address] [type {starstarrp | starg | sg}] [detail] [family]

Clear Commands

clear
— router
— pim
database [interface ip-int-name | ip-address | mt-int-name] [group grp-ip-address [source ip-address]][family]]
neighbor [interface ip-int-name | ip-address] [family]
s-pmsi [mdSrcAddr] [mdGrpAddr] [vprnSrcAddr vprnGrpAddr]
statistics [{[interface ip-int-name | ip-address | mt-int-name]} {[group grp-ip-address [source ip-address]]}][family]]

Debug Commands

debug
— router
— pim
[no] adjacency
all [group grp-ip-address] [source ip-address] [detail]
— no all
assert [group grp-ip-address] [source ip-address] [detail]
— no assert
bsr [detail]
— no bsr
data [group grp-ip-address] [source ip-address] [detail]
— no data
db [group grp-ip-address] [source ip-address] [detail]
— no db
interface [ip-int-name | mt-int-name| ip-address] [detail]
— no interface
jp [group grp-ip-address] [source ip-address] [detail]
— no jp
mrib[group grp-ip-address] [source ip-address] [detail]
— no mrib
msg [detail]
— no msg
packet [hello | register | register-stop | jp | bsr | assert | crp] [ip-int-name | ip-address]
— no packet
red [detail]
— no red
register [group grp-ip-address] [source ip-address] [detail]
— no register
rtm [detail]
— no rtm
s-pmsi [{vpnSrcAddr [vpnGrpAddr]} [mdSrcAddr]] [detail]
— no s-pmsi

Command Descriptions

Show Commands

The command outputs in the following section are examples only; actual displays may differ depending on supported functionality and user configuration.

anycast

Syntax 
anycast [detail]
Context 
show>router>pim
Description 

This command displays PIM anycast rp-set information.

Parameters 
detail—
Displays detailed information.
Output 

PIM anycast Output

The following table provides PIM anycast field descriptions

Table 10:  PIM Anycast Fields   

Label

Description

Anycast Address

Displays the candidate anycast address.

Anycast RP Peer

Displays the candidate anycast RP peer address.

Sample Output
A:dut-d# show router pim anycast 
===================================================
PIM Anycast RP Entries
===================================================
Anycast RP               Anycast RP Peer                                       
---------------------------------------------------
100.100.100.1            102.1.1.1                 
                         103.1.1.1                 
                         104.1.1.1                 
---------------------------------------------------
PIM Anycast RP Entries : 3
===================================================

crp

Syntax 
crp [ip-address]
Context 
show>router>pim
Description 

Display PIM candidate RP (CRP) information received at the elected Bootstrap router (BSR).

Parameters 
ip-address—
The candidate RP IP address.
Output 

PIM CRP Output

The following table provides PIM CRP field descriptions.

Table 11:  PIM CRP Fields   

Label

Description

RP Address

Displays the Candidate RP address.

Group Address

Displays the range of multicast group addresses for which the CRP is the Candidate RP.

Priority

Displays the Candidate RP's priority for becoming a rendezvous point (RP). This value is used to elect RP for a group range. A value of 0 is considered as the highest priority.

Holdtime

Displays the hold time of the candidate RP. It is used by the Bootstrap router to time out the RP entries if it does not listen to another CRP advertisement within the holdtime period.

Expiry

The minimum time remaining before the CRP will be declared down. If the local router is not the BSR, this value is 0.

Candidate RPs

Displays the number of CRP entries.

Sample Output
A:WAS# show router pim crp
============================================================================
PIM Candidate RPs
============================================================================
RP Address      Group Address      Priority    Holdtime  Expiry Time
----------------------------------------------------------------------------
2.22.187.236    224.0.0.0/4        192         150       0d 00:02:19
2.22.187.239    224.0.0.0/4        192         150       0d 00:02:19
2.22.187.240    224.0.0.0/4        192         150       0d 00:02:09
----------------------------------------------------------------------------
Candidate RPs : 3
============================================================================
A:WAS#
A:WAS# show router pim crp 2.22.187.236
============================================================================
PIM Candidate RPs
============================================================================
RP Address      Group Address      Priority    Holdtime  Expiry Time
----------------------------------------------------------------------------
2.22.187.236    224.0.0.0/4        192         150       0d 00:01:43
----------------------------------------------------------------------------
Candidate RPs : 1
============================================================================
A:WAS#

s-pmsi

Syntax 
s-pmsi [mdSrcAddr [mdGrpAddr]] [detail]
Context 
show>router>pim
Description 

Displays the list of selective provider multicast service interfaces that are currently active.

Parameters 
mdSrcAddr—
Specifies the source address of the multicast sender.
mdGrpAddr—
Specifies the group address of the multicast sender.
detail—
Displays detailed output.
Output 

PIM data MDT Output

The following table provides PIM data MDT descriptions.

Table 12:  PIM Data MDT   

Label

Description

MD Grp Address

Displays the IP multicast group address for which this entry contains information.

MD Src Address

Displays the source address of the multicast sender.

It will be 0 if the type is configured as starg. It will be the address of the Rendezvous Point (RP) if the type is configured as starRP.

MT Index

Displays the index number.

Num VP SGs

Displays the VPN number.

Sample Output PIM Selective Provider Tunnel
*B:node-6# show router 100 pim s-pmsi
===============================================================================
PIM Selective provider tunnels
===============================================================================
MD Src Address        MD Grp Address        MT Index      Num VPN SGs         
-------------------------------------------------------------------------------
200.200.200.7         230.0.89.72           24603         1                   
200.200.200.7         230.0.89.73           24604         1                   
200.200.200.7         230.0.89.74           24605         1                   
200.200.200.7         230.0.89.75           24606         1                   
200.200.200.7         230.0.89.76           24607         1                   
200.200.200.7         230.0.89.77           24608         1                   
200.200.200.7         230.0.89.78           24609         1                   
200.200.200.7         230.0.89.79           24610         1                   
200.200.200.7         230.0.89.80           24611         1                   
200.200.200.7         230.0.89.81           24612         1                   
200.200.200.7         230.0.89.82           24613         1                   
200.200.200.7         230.0.89.83           24614         1                   
200.200.200.7         230.0.89.84           24615         1                   
200.200.200.7         230.0.89.85           24616         1                   
200.200.200.7         230.0.89.86           24617         1                   
200.200.200.7         230.0.89.87           24618         1
...
===============================================================================
*B:node-6# 
Sample Output PIM Selective Provider Tunnel Detail
*B:node-6# show router 100 pim s-pmsi detail
===============================================================================
PIM Selective provider tunnels
===============================================================================
Md Source Address  : 200.200.200.7      Md Group Address   : 230.0.89.72      
Number of VPN SGs  : 1                  Uptime             : 0d 00:00:18      
MT IfIndex         : 24603              Egress Fwding Rate : 163.2 kbps       
VPN Group Address  : 228.1.0.0          VPN Source Address : 11.2.102.1       
State              : RX Joined                                                
Expiry Timer       : 0d 00:02:41 
===============================================================================
PIM Selective provider tunnels
===============================================================================
Md Source Address  : 200.200.200.7      Md Group Address   : 230.0.89.73      
Number of VPN SGs  : 1                  Uptime             : 0d 00:00:18      
MT IfIndex         : 24604              Egress Fwding Rate : 163.2 kbps       
VPN Group Address  : 228.1.0.1          VPN Source Address : 11.2.102.1       
State              : RX Joined                                                
Expiry Timer       : 0d 00:02:41 
===============================================================================
PIM Selective provider tunnels
===============================================================================
Md Source Address  : 200.200.200.7      Md Group Address   : 230.0.89.74      
Number of VPN SGs  : 1                  Uptime             : 0d 00:00:20      
MT IfIndex         : 24605              Egress Fwding Rate : 165.7 kbps       
VPN Group Address  : 228.1.0.2          VPN Source Address : 11.2.102.1       
State              : RX Joined                                                
Expiry Timer       : 0d 00:02:39 
===============================================================================
PIM Selective provider tunnels
===============================================================================
Md Source Address  : 200.200.200.7      Md Group Address   : 230.0.89.75      
Number of VPN SGs  : 1                  Uptime             : 0d 00:00:20      
MT IfIndex         : 24606              Egress Fwding Rate : 165.7 kbps       
VPN Group Address  : 228.1.0.3          VPN Source Address : 11.2.102.1       
State              : RX Joined                                                
Expiry Timer       : 0d 00:02:39                                              
===============================================================================
*B:node-6# 
Sample Output RX Tracking for RSVP S-PMSI Tunnel
*A:Dut-C# show router 1 pim s-pmsi
===============================================================================
PIM RSVP Spmsi tunnels
===============================================================================
P2mp ID   Tunnel ID   Ext Tunnel Adrs       SPMSI Index   Num VPN   State
                                                          SGs
-------------------------------------------------------------------------------
0         0           10.20.1.4             1030144       1         RX Tracking
0         0           10.20.1.4             1030144       1         RX Tracking
===============================================================================
PIM RSVP Spmsi Interfaces : 2
===============================================================================
*A:Dut-C# show router 21 pim s-pmsi
====================================================================
PIM LDP Spmsi tunnels
====================================================================
Lsp ID    Root Addr             SPMSI Index   Num VPN   State
                                              SGs
--------------------------------------------------------------------
0         10.20.1.4             1030144       1         RX Tracking
0         10.20.1.4             1030144       1         RX Tracking
====================================================================
PIM LDP Spmsi Interfaces : 2
====================================================================
*A:Dut-C#
Sample Output RX Tracking for RSVP S-PMSI Tunnel Detail
*A:Dut-C# show router 1 pim s-pmsi detail
===============================================================================
PIM RSVP Spmsi tunnels
===============================================================================
P2MP ID            : 0                  Tunnel ID          : 0
Ext Tunnnel Addrs  : 10.20.1.4          Spmsi IfIndex      : 1030144
Number of VPN SGs  : 1                  Uptime             : 0d 00:02:48
VPN Group Address  : 225.100.0.0
VPN Source Address : 10.1.101.2
State              : RX Tracking        Mdt Threshold      : 0
===============================================================================
PIM RSVP Spmsi tunnels
===============================================================================
P2MP ID            : 0                  Tunnel ID          : 0
Ext Tunnnel Addrs  : 10.20.1.4          Spmsi IfIndex      : 1030144
Number of VPN SGs  : 1                  Uptime             : 0d 00:02:47
VPN Group Address  : ff0e:225:100::
VPN Source Address : 2001:10:1:101::2
State              : RX Tracking        Mdt Threshold      : 0
===============================================================================
PIM RSVP Spmsi Interfaces : 2
===============================================================================
*A:Dut-C# show router 21 pim s-pmsi detail
===============================================================================
PIM LDP Spmsi tunnels
===============================================================================
LSP ID             : 0
Root Addr          : 10.20.1.4          Spmsi IfIndex      : 1030144
Number of VPN SGs  : 1                  Uptime             : 0d 00:03:35
VPN Group Address  : 225.100.0.0
VPN Source Address : 10.1.101.2
State              : RX Tracking        Mdt Threshold      : 0
===============================================================================
PIM LDP Spmsi tunnels
===============================================================================
LSP ID             : 0
Root Addr          : 10.20.1.4          Spmsi IfIndex      : 1030144
Number of VPN SGs  : 1                  Uptime             : 0d 00:03:34
VPN Group Address  : ff0e:225:100::
VPN Source Address : 2001:10:1:101::2
State              : RX Tracking        Mdt Threshold      : 0
===============================================================================
PIM LDP Spmsi Interfaces : 2
===============================================================================
*A:Dut-C#
Sample Output TX Tracking for RSVP S-PMSI Tunnel Detail
*A:Dut-C# show router 1 pim s-pmsi detail
===============================================================================
PIM RSVP Spmsi tunnels
===============================================================================
P2MP ID            : 1                  Tunnel ID          : 61442
Ext Tunnnel Addrs  : 10.20.1.4          Spmsi IfIndex      : 74230
Number of VPN SGs  : 1                  Uptime             : 0d 00:05:11
VPN Group Address  : 225.100.0.0
VPN Source Address : 10.1.101.2
State              : TX Join Pending    Mdt Threshold      : 1
Join Timer         : N/A                Holddown Timer     : 0d 00:00:47
Receiver Count     : 4
===============================================================================
PIM RSVP Spmsi tunnels
===============================================================================
P2MP ID            : 1                  Tunnel ID          : 61443
Ext Tunnnel Addrs  : 10.20.1.4          Spmsi IfIndex      : 74231
Number of VPN SGs  : 1                  Uptime             : 0d 00:05:10
VPN Group Address  : ff0e:225:100::
VPN Source Address : 2001:10:1:101::2
State              : TX Join Pending    Mdt Threshold      : 1
Join Timer         : N/A                Holddown Timer     : 0d 00:00:50
Receiver Count     : 4
===============================================================================
PIM RSVP Spmsi Interfaces : 2
===============================================================================
*A:Dut-D# show router 21 pim s-pmsi detail
===============================================================================
PIM LDP Spmsi tunnels
===============================================================================
LSP ID             : 8194
Root Addr          : 10.20.1.4          Spmsi IfIndex      : 74228
Number of VPN SGs  : 1                  Uptime             : 0d 00:05:56
VPN Group Address  : 225.100.0.0
VPN Source Address : 10.1.101.2
State              : TX Join Pending    Mdt Threshold      : 1
Join Timer         : N/A                Holddown Timer     : 0d 00:00:02
Receiver Count     : 4
===============================================================================
PIM LDP Spmsi tunnels
===============================================================================
LSP ID             : 8195
Root Addr          : 10.20.1.4          Spmsi IfIndex      : 74229
Number of VPN SGs  : 1                  Uptime             : 0d 00:05:55
VPN Group Address  : ff0e:225:100::
VPN Source Address : 2001:10:1:101::2
State              : TX Join Pending    Mdt Threshold      : 1
Join Timer         : N/A                Holddown Timer     : 0d 00:00:05
Receiver Count     : 4
===============================================================================
PIM LDP Spmsi Interfaces : 2
===============================================================================
*A:Dut-D#

group

Syntax 
group grp-ip-address [source ip-address [type {starstarrp | starg | sg}] [detail] [family]
Context 
show>router>pim
Description 

This command displays PIM source group database information.

Parameters 
grp-ip-address—
Specifies the IP multicast group address for which this entry contains information.
source ip-address
Specifies the source address for which this entry contains information.
type starstarrp—
Specifies that only (*, *, rp) entries be displayed.
type starg—
Specifies that only (*,G) entries be displayed.
type sg—
specifies that only (S,G) entries be displayed.
detail—
Displays detailed group information.
family—
Displays either IPv4 or IPv6 information.
Output 

PIM Group Output

The following table provides PIM Group field descriptions.

Table 13:  PIM Group Fields   

Label

Description

Group Address

Displays the IP multicast group address for which this entry contains information.

Source Address

Displays the source address of the multicast sender.

It will be 0 if the type is configured as starg.

It will be the address of the Rendezvous Point (RP) if the type is configured as starRP.

RP Address

Displays the RP address.

Type

Specifies the type of entry, (*,*, rp)/(*,G) or (S,G).

Spt Bit

Specifies whether to forward on (*,*, rp)/(*,G) or on (S,G) state. It is updated when the (S,G) data comes on the RPF interface towards the source.

Incoming Intf

Displays the interface on which the traffic comes in. It can be the RPF interface to the RP (if starg) or the source (if sg).

Num Oifs

Displays the number of interfaces in the inherited outgoing interface list. An inherited list inherits the state from other types.

Flags

Displays the different lists that this interface belongs to.

Keepalive Timer Exp

The keepalive timer is applicable only for (S,G) entries.

The (S,G) keepalive timer is updated by data being forwarded using this (S,G) Forwarding state. It is used to keep (S,G) state alive in the absence of explicit (S,G) joins.

MRIB Next Hop

Displays the next hop address towards the RP.

MRIB Src Flags

Displays the MRIB information about the source. If the entry is of type starg or starstarrp, it will contain information about the RP for the group.

Up Time

Displays the time since this source group entry was created.

Resolved By

Displays the route table used for RPF check.

Up JP State

Displays the upstream join prune state for this entry on the interface. PIM join prune messages are sent by the downstream routers towards the RPF neighbor.

Up JP Expiry

Displays the minimum amount of time remaining before this entry will be aged out.

Up JP Rpt

Displays the join prune Rpt state for this entry on the interface. PIM join/prune messages are sent by the downstream routers towards the RPF neighbor. (S,G, rpt) state is a result of receiving (S,G, rpt) JP message from the downstream router on the RP tree.

Up JP Rpt Override

Displays the value used to delay triggered Join (S,G, rpt) messages to prevent implosions of triggered messages.

If this has a non-zero value, it means that the router was in 'notPruned' state and it saw a prune (S,G, rpt) message being sent to RPF (S,G, rpt). If the router sees a join (S,G, rpt) override message being sent by some other router on the LAN while the timer is still non-zero, it simply cancels the override timer. If it does not see a join (S,G, rpt) message, then on expiry of the override timer, it sends it's own join (S,G, rpt) message to RPF (S,G, rpt). A similar scenario exists when RPF (S,G, rpt) changes to become equal to RPF (*,G).

Register State

Specifies the register state. The register state is kept at the source DR. When the host starts sending multicast packets and if there are no entries programmed for that group, the source DR sends a register packet to the RP (g). Register state transition happen based on the register stop timer and the response received from the RP.

Register Stop Exp

Displays the time remaining before the register state might transition to a different state.

Register from Anycast RP

Displays if the register packet for that group has been received from one of the RP from the anycast-RP set.

RPF Neighbor

Displays the address of the RPF neighbor.

Outgoing Intf List

Displays a list of interfaces on which data is forwarded.

Curr Fwding Rate

Displays the current forwarding rate of the multicast data for this group and source. This forwarding rate is calculated before ingress QoS policing or shaping is applied.

Forwarded Packets

Displays the number of multicast packets that were forwarded to the interfaces in the outgoing interface list. This packet count is before ingress QoS policing or shaping is applied.

Discarded Packets

Displays the number of multicast packets that matched this source group entry but were discarded.

For (S,G) entries, if the traffic is getting forwarded on the SPT, the packets arriving from the RPT will be discarded.

Forwarded Octets

Displays the number of octets forwarded.

RPF Mismatches

Displays the number of multicast packets that matched this source group entry but they did not arrive on the interface.

Spt threshold

Displays the value of the SPT threshold configured for that group. 0 Kbps means that the switch to the SP tree will happen immediately.

Sample Output
A:Dut-A# show router pim group
===============================================================================
PIM Group ipv4
===============================================================================
Group Address               Type               Spt Bit Inc Intf         no.Oifs
 Source Address               RP                         Inc Intf(S)
-------------------------------------------------------------------------------
224.1.1.1                   (S,G)                     ip-10.10.2.1      1
   3.1.1.2                     10.20.1.4                 ip-10.10.1*
*A:Dut-C# show router 100 pim group ipv6
===============================================================================
Legend:  A = Active   S = Standby
===============================================================================
PIM Groups ipv6
===============================================================================
Group Address               Type                Spt Bit  Inc Intf       No.Oifs
   Source Address              RP                  State    Inc Intf(S)
-------------------------------------------------------------------------------
ff04::224:100:0:0           (*,G)                        vprn_itf_C_11* 2
   *                           3ffe::110:100:1*
ff04::224:100:0:0           (S,G)               spt      mpls-if-74457* 3
   3ffe::100:114:1:2           3ffe::110:100:1*
ff04::224:100:0:1           (*,G)                        vprn_itf_C_11* 2
   *                           3ffe::110:100:1*
ff04::224:100:0:1           (S,G)               spt      mpls-if-74457* 3
   3ffe::100:114:1:2           3ffe::110:100:1*
ff04::224:100:0:2           (*,G)                        vprn_itf_C_11* 2
   *                           3ffe::110:100:1*
ff04::224:100:0:2           (S,G)               spt      mpls-if-74457* 3
   3ffe::100:114:1:2           3ffe::110:100:1*
ff04::224:100:0:3           (*,G)                        vprn_itf_C_11* 2
   *                           3ffe::110:100:1*
ff04::224:100:0:3           (S,G)               spt      mpls-if-74457* 3
   3ffe::100:114:1:2           3ffe::110:100:1*
ff04::224:100:0:4           (*,G)                        vprn_itf_C_11* 2
   *                           3ffe::110:100:1*
ff04::224:100:0:4           (S,G)               spt      mpls-if-74457* 3
   3ffe::100:114:1:2           3ffe::110:100:1*
-------------------------------------------------------------------------------
Groups : 10
===============================================================================
* indicates that the corresponding row element may have been truncated.
A:NYC>show>router>pim# group 239.255.255.250
===============================================================================
PIM Groups
===============================================================================
Group Address   Source Address  RP Address      Type     Spt Incoming      Num
                                                         Bit Intf          Oifs
-------------------------------------------------------------------------------
239.255.255.250 *               2.22.187.240    <*,G>        nyc-sjc       1
-------------------------------------------------------------------------------
Groups : 1
===============================================================================
A:NYC>show>router>pim#
A:NYC>show>router>pim# group 239.255.255.250 detail
===============================================================================
PIM Source Group
===============================================================================
Group Address      : 239.255.255.250 Source Address     : 16.1.1.2          
RP Address         : 100.100.100.1      Type               : (S,G)             
Flags              : spt, rpt-prn-des   Keepalive Timer Exp: 0d 00:03:07       
MRIB Next Hop      : 16.1.1.2           MRIB Src Flags     : direct            
Up Time            : 0d 00:00:50        Resolved By        : rtable-u          
 
Up JP State        : Joined             Up JP Expiry       : 0d 00:00:00       
Up JP Rpt          : Pruned             Up JP Rpt Override : 0d 00:00:00       
 
Register State     : Pruned             Register Stop Exp  : 0d 00:00:47       
Reg From Anycast RP: No                                                        
 
RPF Neighbor       : 16.1.1.2                                                  
Incoming Intf      : SOURCE-3                                                  
Outgoing Intf List : To-Dut-A                                                  
 
Curr Fwding Rate   : 482.9 kbps                                                
Forwarded Packets  : 1262               Discarded Packets  : 0                 
Forwarded Octets   : 1269572            RPF Mismatches     : 0                 
Spt threshold      : 0 kbps 
===============================================================================
A:NYC>show>router>pim#
B:Dut-C# show router pim group 225.0.0.1 type sg detail 
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address      : 225.0.0.1
Source Address     : 11.11.0.1
RP Address         : 10.20.1.3
Flags              : rpt-prn-des        Type               : (S,G)
MRIB Next Hop      : 11.11.0.1
MRIB Src Flags     : direct             Keepalive Timer    : Not Running
Up Time            : 0d 00:04:17        Resolved By        : rtable-u
 
Up JP State        : Joined             Up JP Expiry       : 0d 00:00:00
Up JP Rpt          : Pruned             Up JP Rpt Override : 0d 00:00:00
 
Register State     : No Info            
Reg From Anycast RP: No                 
 
Rpf Neighbor       : 11.11.0.1
Incoming Intf      : svc_itf
Outgoing Host List : 112.112.1.1
 
Curr Fwding Rate   : 0.0 kbps           
Forwarded Packets  : 0                  Discarded Packets  : 0
Forwarded Octets   : 0                  RPF Mismatches     : 0
Spt threshold      : 0 kbps             ECMP opt threshold : 7
Admin bandwidth    : 1 kbps             Preference         : 0
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address      : 225.0.0.1
Source Address     : 11.11.0.2
RP Address         : 10.20.1.3
Flags              :                    Type               : (S,G)
MRIB Next Hop      : 11.11.0.2
MRIB Src Flags     : direct             Keepalive Timer    : Not Running
Up Time            : 0d 00:04:18        Resolved By        : rtable-u
 
Up JP State        : Joined             Up JP Expiry       : 0d 00:00:00
Up JP Rpt          : Not Pruned         Up JP Rpt Override : 0d 00:00:00
 
Register State     : No Info            
Reg From Anycast RP: No                 
 
Rpf Neighbor       : 11.11.0.2        
Incoming Intf      : svc_itf
Outgoing Host List : 112.112.1.1, 112.112.1.2
 
Curr Fwding Rate   : 0.0 kbps           
Forwarded Packets  : 0                  Discarded Packets  : 0
Forwarded Octets   : 0                  RPF Mismatches     : 0
Spt threshold      : 0 kbps             ECMP opt threshold : 7
Admin bandwidth    : 1 kbps             Preference         : 0
-------------------------------------------------------------------------------
Groups : 2
===============================================================================
*B:Dut-C#
A:Dut-A# show router pim group detail 
===============================================================================
PIM Source Group ipv4
===============================================================================
Group Address      : 224.1.1.1
Source Address     : 3.1.1.21
RP Address         : 10.20.1.4
Advt Ruoter        : 10.20.1.3
Flags              :                    Type               : (S,G)
MRIB Next Hop      : 10.10.2.3
MRIB Src Flags     : remote             Standby Src Flags  : remote
keepalive Timer    : Not Running
Up Time            : 0d 00:01:22        Resolved By        : rtable-u
 
Up JP State        : Joined             Up JP Expiry       : 0d 00:00:00
Up JP Rpt          : Pruned             Up JP Rpt Override : 0d 00:00:00
Up Stdby JP State  : Joined             Up Stdby JP Expiry : 0d 00:00:12
 
Register State     : No Info            
Reg From Anycast RP: No                 
 
Rpf Neighbor       : 10.10.2.3          Stdby Rpf Neighbor : 10.10.1.2
Incoming Intf      : ip-10.10.2.1       Stdby Intf         : ip-10.10.1.1
Outgoing Host List : ix
 
Curr Fwding Rate   : 0.0 kbps           
Forwarded Packets  : 0                  Discarded Packets  : 0
Forwarded Octets   : 0                  RPF Mismatches     : 0
Spt threshold      : 0 kbps             ECMP opt threshold : 7
Admin bandwidth    : 1 kbps             
===============================================================================
PIM Source Group ipv4

interface

Syntax 
interface [ip-int-name | mt-int-name | ip-address] [group grp-ip-address | source ip-address [type {starstarrp | starg | sg}] [detail] [family]
Context 
show>router>pim
Description 

This command displays PIM interface information and the (S,G)/(*,G)/(*, *, rp) state of the interface.

Parameters 
ip-int-name—
Only displays the interface information associated with the specified IP interface name.
mt-int-name—
Specifies the Multicast Tunnel (MT) interface for a VPRN.
Values—
<vprn-id>-mt-<grp-ip-address>
ip-address—
Only displays the interface information associated with the specified IP address.
group grp-ip-address
Specifies the IP multicast group address for which this entry contains information.
source ip-address
Specifies the source address for which this entry contains information.

If the type is starg, the value of this object will be zero.

If the type is starstarrp, the value of this object will be address of the RP.

type —
Specifies the type of this entry.
Values—
starstarrp, starg, sg
detail—
Displays detailed interface information.
family—
Displays IPv4 or IPv6 information for the interface.
Output 

PIM Interface Output

The following table provides PIM interface field descriptions.

Table 14:  PIM Interface Fields   

Label

Description

Admin State

Displays the administrative state for PIM protocol on this interface.

Oper State

Displays the current operational state of PIM protocol on this interface.

DR

Displays the designated router on this PIM interface.

DR Priority

Displays the priority value sent in PIM Hello messages and that is used by routers to elect the designated router (DR).

Hello Intvl

Indicates the frequency at which PIM Hello messages are transmitted on this interface.

Sample Output
ALA-1# show router pim interface
===============================================================================
PIM Interfaces
===============================================================================
Interface                       Admin  Oper   DR              DR        Hello
                                State  State                  Priority  Intvl
-------------------------------------------------------------------------------
system                          Up     Up     N/A             1         30
ip-10.1.7.1                     Up     Up     10.1.7.7        5         30
ip-10.1.2.1                     Up     Up     10.1.2.2        5         30
ip-100.111.1.1                  Up     Up     100.111.1.1     5         30
-------------------------------------------------------------------------------
Interfaces : 4
===============================================================================
ALA-1# 
ALA-1# show router pim interface ip-10.1.2.1 detail
===============================================================================
PIM Interface ip-10.1.2.1
===============================================================================
Interface                       Admin  Oper   DR              DR        Hello
                                State  State                  Priority  Intvl
-------------------------------------------------------------------------------
ip-10.1.2.1                     Up     Up     10.1.2.2        5         30
-------------------------------------------------------------------------------
PIM Group Source
-------------------------------------------------------------------------------
Group Address      : 228.101.0.5        Src Address        : 100.111.1.2
Interface          : ip-10.1.2.1        Type               : <S,G>
RP Address         : 200.200.200.4
Join Prune State   : Join               Expires            : 0d 00:03:00
Prune Pend Expires : N/A
Assert State       : No Info
-------------------------------------------------------------------------------
Interfaces : 1
===============================================================================
ALA-1# 
ALA-1# show router pim interface group
===============================================================================
PIM Interface ip-10.1.7.1
===============================================================================
Interface                       Admin  Oper   DR              DR        Hello
                                State  State                  Priority  Intvl
-------------------------------------------------------------------------------
ip-10.1.7.1                     Up     Up     10.1.7.7        5         30
-------------------------------------------------------------------------------
Group Address    Source Address   RP Address       Type     JP        Assert
-------------------------------------------------------------------------------
228.101.0.0      100.111.1.2      200.200.200.4    <S,G>    Join      No Info
228.101.0.1      100.111.1.2      200.200.200.4    <S,G>    Join      No Info
228.101.0.2      100.111.1.2      200.200.200.4    <S,G>    Join      No Info
228.101.0.3      100.111.1.2      200.200.200.4    <S,G>    Join      No Info
228.101.0.4      100.111.1.2      200.200.200.4    <S,G>    Join      No Info
228.101.0.6      100.111.1.2      200.200.200.4    <S,G>    Join      No Info
228.101.0.7      100.111.1.2      200.200.200.4    <S,G>    Join      No Info
228.101.0.8      100.111.1.2      200.200.200.4    <S,G>    Join      No Info
228.101.0.9      100.111.1.2      200.200.200.4    <S,G>    Join      No Info
===============================================================================
PIM Interface ip-10.1.2.1
===============================================================================
Interface                       Admin  Oper   DR              DR        Hello
                                State  State                  Priority  Intvl
-------------------------------------------------------------------------------
ip-10.1.2.1                     Up     Up     10.1.2.2        5         30
-------------------------------------------------------------------------------
Group Address    Source Address   RP Address       Type     JP        Assert
-------------------------------------------------------------------------------
228.101.0.5      100.111.1.2      200.200.200.4    <S,G>    Join      No Info
===============================================================================
PIM Interface ip-100.111.1.1
===============================================================================
Interface                       Admin  Oper   DR              DR        Hello
                                State  State                  Priority  Intvl
-------------------------------------------------------------------------------
ip-100.111.1.1                  Up     Up     100.111.1.1     5         30
-------------------------------------------------------------------------------
Group Address    Source Address   RP Address       Type     JP        Assert
-------------------------------------------------------------------------------
228.102.0.0      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.1      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.2      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.3      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.4      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.5      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.6      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.7      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.8      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.9      *                200.200.200.4    <*,G>    Join      No Info
-------------------------------------------------------------------------------
Interfaces : 3
===============================================================================
ALA-1#
ALA-1# show router pim interface group 228.102.0.0 detail
===============================================================================
PIM Interface ip-100.111.1.1
===============================================================================
Interface                       Admin  Oper   DR              DR        Hello
                                State  State                  Priority  Intvl
-------------------------------------------------------------------------------
ip-100.111.1.1                  Up     Up     100.111.1.1     5         30
-------------------------------------------------------------------------------
PIM Group Source
-------------------------------------------------------------------------------
Group Address      : 228.102.0.0        Src Address        : *
Interface          : ip-100.111.1.1     Type               : <*,G>
RP Address         : 200.200.200.4
Join Prune State   : Join               Expires            : 0d 00:02:05
Prune Pend Expires : N/A
Assert State       : No Info
-------------------------------------------------------------------------------
Interfaces : 1
===============================================================================
ALA-1#
ALA-1# show router pim interface type starg
===============================================================================
PIM Interface ip-100.111.1.1
===============================================================================
Interface                       Admin  Oper   DR              DR        Hello
                                State  State                  Priority  Intvl
-------------------------------------------------------------------------------
ip-100.111.1.1                  Up     Up     100.111.1.1     5         30
-------------------------------------------------------------------------------
Group Address    Source Address   RP Address       Type     JP        Assert
-------------------------------------------------------------------------------
228.102.0.0      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.1      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.2      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.3      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.4      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.5      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.6      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.7      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.8      *                200.200.200.4    <*,G>    Join      No Info
228.102.0.9      *                200.200.200.4    <*,G>    Join      No Info
-------------------------------------------------------------------------------
Interfaces : 1
===============================================================================
ALA-1#
A:SetupCLI# show router pim interface detail
===============================================================================
PIM Interface int1
===============================================================================
Interface          : int1
Admin Status       : Up                 Oper Status        : Up
DR                 : 10.1.1.1           Oper DR Priority   : 1
BSM RA Check       : Disabled           Cfg DR Priority    : 1
Hello Interval     : 30                 Time for next hello: 0d 00:00:23
Multicast Senders  : auto               Hello Multiplier   : 35
J/P Tracking Admin : Disabled           J/P Tracking Oper  : Disabled
Auto-created       : No                 Improved Assert    : Enabled
Sticky-DR          : Disabled           Sticky-DR Priority : N/A
Max Groups Allowed : 0                  Max Groups Till Now: 0
Num Groups         : 0                  Bfd Enabled        : No
===============================================================================
PIM Interface sender
===============================================================================
Interface          : sender
Admin Status       : Up                 Oper Status        : Up
DR                 : 11.1.1.1           Oper DR Priority   : 1
===============================================================================
A:SetupCLI# 

neighbor

Syntax 
neighbor [ip-address | ip-int-name [address ip-address]] [detail] [family]
Context 
show>router>pim
Description 

This command displays PIM neighbor information.

This can be important if an interface has more than one adjacency. For example, a LAN-interface configuration with three routers connected and all are running PIM on their LAN interfaces. These routers then have two adjacencies on their LAN interface, each with different neighbors. If the address address parameter is not defined in this example, then the show command output would display two adjacencies.

Parameters 
neighbor ip-int-name
Only displays the interface information associated with the specified IP interface name.
neighbor ip-address—
Only displays the interface information associated with the specified IP address.
address ip-address
The ip-address of the neighbor, on the other side of the interface.
detail—
Displays detailed neighbor information.
family—
Displays either IPv4 or IPv6 information for the specified neighbor.
Output 

PIM Neighbor Output

The following table provides PIM neighbor field descriptions.

Table 15:  PIM Neighbor Fields   

Label

Description

Interface

Displays the neighbor’s interface name. (W) indicates wildcard tunnels.

Nbr DR Priority

Displays the value of the neighbor's DR priority which is received in the hello message.

Nbr Address

Displays the neighbor’s address.

Up Time

Displays the time since this PIM neighbor (last) became a neighbor

of the local router.

Expiry Time

Displays the minimum time remaining before this PIM neighbor will be aged out.

0—Means that this neighbor will never be aged out. This happens when the PIM neighbor sends a Hello message with holdtime set to `0xffff'.

Hold Time

Displays the value of the hold time present in the hello message.

DR Priority

Displays the value of the neighbor's DR priority which is received in the hello message.

Tracking Support

Displays whether the T bit in the LAN prune delay option was present in the hello message. This indicates the neighbor's capability to disable join message suppression.

LAN Delay

Displays the value of the LAN delay field present in the hello message received from the neighbor.

Gen Id

Displays a randomly generated 32-bit value that is regenerated each time PIM forwarding is started or restarted on the interface, including when the router itself restarts. When a hello message with a new GenID is received from a neighbor, any old hello information about that neighbor is discarded and superseded by the information from the new hello message.

Override Intvl (ms)

Displays the value of the override interval present in the Hello message.

Sample Output
ALA-1# show router pim neighbor
===============================================================================
PIM Neighbors
===============================================================================
Interface          Nbr DR     Nbr Address     Up Time       Expiry Time   Hold
                   Priority                                               Time
-------------------------------------------------------------------------------
ip-10.1.7.1        5          10.1.7.7        0d 00:10:39   0d 00:01:36   105
ip-10.1.2.1        5          10.1.2.2        0d 00:10:39   0d 00:01:35   105
ip-100.111.1.1     3          100.111.1.2     0d 00:09:31   0d 00:01:15   105
-------------------------------------------------------------------------------
Neighbors : 3
===============================================================================
ALA-1# 
*A:Dut-C# show router 100 pim neighbor ipv6
===============================================================================
PIM Neighbor ipv6
===============================================================================
Interface               Nbr DR Prty     Up Time       Expiry Time     Hold Time
   Nbr Address
-------------------------------------------------------------------------------
vprn_itf_C_1100         1               0d 00:02:54   0d 00:01:43     105
   fe80::4403:1ff:fe01:2
mpls-if-74456(W)        1               0d 00:02:10   never           65535
   ::a14:104
mpls-if-74457(W)        1               0d 00:02:10   never           65535
   ::a14:105
mpls-virt-if-1030145    1               0d 00:02:44   never           65535
   ::a14:102
-------------------------------------------------------------------------------
Neighbors : 4
===============================================================================
ALA-1# show  router pim neighbor detail
===============================================================================
PIM Neighbor
===============================================================================
Interface          : ip-10.1.7.1
Neighbor Addr      : 10.1.7.7           DR Priority        : 5
Tracking Support   : No                 LAN Delay(ms)      : 500
Gen Id             : 26470              Override Intvl(ms) : 2500
Up Time            : 0d 00:10:41        Expiry Time        : 0d 00:01:34
Hold Time(sec)     : 105
===============================================================================
PIM Neighbor
===============================================================================
Interface          : ip-10.1.2.1
Neighbor Addr      : 10.1.2.2           DR Priority        : 5
Tracking Support   : No                 LAN Delay(ms)      : 500
Gen Id             : 37928              Override Intvl(ms) : 2500
Up Time            : 0d 00:10:42        Expiry Time        : 0d 00:01:33
Hold Time(sec)     : 105
===============================================================================
PIM Neighbor
===============================================================================
Interface          : ip-100.111.1.1
Neighbor Addr      : 100.111.1.2        DR Priority        : 3
Tracking Support   : No                 LAN Delay(ms)      : 500
Gen Id             : 742098371          Override Intvl(ms) : 2500
Up Time            : 0d 00:09:33        Expiry Time        : 0d 00:01:43
Hold Time(sec)     : 105
-------------------------------------------------------------------------------
Neighbors : 3
===============================================================================
ALA-1#

rp

Syntax 
rp ip-address
Context 
show>router>pim
Description 

This command displays the rendezvous point (RP) set information built by the router.

Parameters 
ip-address —
Specifies the IP address of the RP.
Output 

PIM RP Output

The following table provides PIM RP field descriptions.

Table 16:  PIM RP Fields   

Label

Description

Group Address

Displays the multicast group address of the entry.

RP Address

Displays the address of the Rendezvous Point (RP).

Type

Specifies whether the entry was learned through the Bootstrap mechanism or if it was statically configured.

Priority

Displays the priority for the specified group address. The higher the value, the higher the priority.

Holdtime

Displays the value of the hold time present in the BSM message.

Sample Output
A:ALA-1# show router pim rp
==================================================================
PIM RP Set
==================================================================
Group Address      RP Address      Type        Priority  Holdtime
------------------------------------------------------------------
224.0.0.0/4        200.200.200.4   Dynamic     192       150
                   10.1.7.1        Static      1         N/A
------------------------------------------------------------------
Group Prefixes : 1
==================================================================
A:ALA-1# 
A:ALA-1# show router pim rp 10.1.7.1
==================================================================
PIM RP Set
==================================================================
Group Address      RP Address      Type        Priority  Holdtime
------------------------------------------------------------------
224.0.0.0/4        10.1.7.1        Static      1         N/A
------------------------------------------------------------------
Group Prefixes : 1
==================================================================
A:ALA-1#

rp-hash

Syntax 
rp-hash grp-ip-address
Context 
show>router>pim
Description 

This command hashes the RP for the specified group from the RP set.

Parameters 
grp-ip-address—
Displays specific multicast group addresses.
Output 

PIM RP-Hash Output

The following table provides RP-Hash output field descriptions.

Table 17:  RP-Hash Fields   

Label

Description

Group Address

Displays the multicast group address of the entry.

RP Address

Displays the address of the Rendezvous Point (RP).

Type

Specifies whether the entry was learned through the Bootstrap mechanism or if it was statically configured.

Sample Output
A:ALA-1# show router pim rp-hash 228.101.0.0
==============================================
PIM Group-To-RP mapping
==============================================
Group Address      RP Address      Type
----------------------------------------------
228.101.0.0        200.200.200.4   Bootstrap
==============================================
A:ALA-1#
A:ALA-1# show router pim rp-hash 228.101.0.6
==============================================
PIM Group-To-RP mapping
==============================================
Group Address      RP Address      Type
----------------------------------------------
228.101.0.6        200.200.200.4   Bootstrap
==============================================
A:ALA-1#

statistics

Syntax 
statistics [ip-int-name | mt-int-name | ip-address] [family]
Context 
show>router>pim
Description 

This command displays statistics for a particular PIM instance.

Parameters 
ip-int-name
Only displays the interface information associated with the specified IP interface name.
ip-address—
Only displays the interface information associated with the specified IP address.
family—
Displays either IPv4 or IPv6 information.
Output 

PIM Statistics Output

The following table provides PIM statistics output field descriptions.

Table 18:  PIM Statistics Output Fields   

Label

Description

PIM Statistics

The section listing the PIM statistics for a particular interface.

Message Type

Displays the type of message.

Hello

Displays the number of PIM hello messages received or transmitted on this interface.

Join Prune

Displays the number of PIM join prune messages received or transmitted on this interface.

Asserts

Displays the number of PIM assert messages received or transmitted on this interface.

Register

Displays the number of register messages received or transmitted on this interface.

Null Register

Displays the number of PIM null register messages received or transmitted on this interface.

Register Stop

Displays the number of PIM register stop messages received or transmitted on this interface.

BSM

Displays the number of PIM Bootstrap messages (BSM) received or transmitted on this interface.

Candidate RP Adv

Displays the number of candidate RP advertisements.

Total Packets

Displays the total number of packets transmitted and received on this interface.

Received

Displays the number of messages received on this interface.

Transmitted

Displays the number of multicast data packets transmitted on this interface.

Rx Errors

Displays the total number of receive errors.

General Interface Statistics

The section listing the general PIM interface statistics.

Register TTL Drop

Displays the number of multicast data packets which could not be encapsulated in Register messages because the time to live (TTL) was zero.

Tx Register MTU Drop

Displays the number of Bootstrap messages received on this interface but were dropped.

Rx Invalid Register

Displays the number of invalid PIM register messages received on this interface.

Rx Neighbor Unknown

Displays the number of PIM messages (other than hello messages) which were received on this interface and were rejected because the adjacency with the neighbor router was not already established.

Rx Bad Checksum Discard

Displays the number of PIM messages received on this interface which were discarded because of bad checksum.

Rx Bad Encoding

Displays the number of PIM messages with bad encodings received on this interface.

Rx Bad Version Discard

Displays the number of PIM messages with bad versions received on this interface.

Rx CRP No Router Alert

Displays the number of candidate-rp advertisements (C-RP-Adv) received on this interface which had no router alert option set.

Rx Invalid Join Prune

Displays the number of invalid PIM join prune messages received on this interface.

Rx Unknown PDU Type

Displays the number of packets received with an unsupported PIM type.

Join Policy Drops

Displays the number of times the join policy match resulted in dropping PIM join-prune message or one of the source group contained in the message.

Register Policy Drops

Displays the number of times the register policy match resulted in dropping PIM register message.

Bootstrap Import Policy Drops

Displays the number of Bootstrap messages received on this interface but were dropped because of Bootstrap import policy.

Bootstrap Export Policy Drops

Displays the number of Bootstrap messages that were not transmitted on this interface because of Bootstrap export policy.

Source Group Statistics

The section listing the source group statistics.

(S,G)

Displays the number of entries in which the type is (S,G).

(*,G)

Displays the number of entries in which the type is (*,G).

(*,*,RP)

Displays the number of entries in which the type is (*, *, rp).

Sample output
A:ALA-1# show router pim statistics
================================================================
PIM Statistics
================================================================
Message Type        Received       Transmitted    Rx Errors
----------------------------------------------------------------
Hello               198            200            0
Join Prune          96             75             0
Asserts             0              0              0
Register            0              30             0
Null Register       0              160            0
Register Stop       180            0              0
BSM                 34             76             0
Candidate RP Adv    0              0              0
Total Packets       546            541
----------------------------------------------------------------
General Interface Statistics
----------------------------------------------------------------
Register TTL Drop                 : 0
Tx Register MTU Drop              : 0
Rx Invalid Register               : 0
Rx Neighbor Unknown               : 0
Rx Bad Checksum Discard           : 0
Rx Bad Encoding                   : 0
Rx Bad Version Discard            : 0
Rx CRP No Router Alert            : 0
Rx Invalid Join Prune             : 120
Rx Unknown PDU Type               : 0
Join Policy Drops                 : 0
Register Policy Drops             : 0
Bootstrap Import Policy Drops     : 0
Bootstrap Export Policy Drops     : 0
----------------------------------------------------------------
Source Group Statistics
----------------------------------------------------------------
(S,G)                             : 10
(*,G)                             : 10
(*,*,RP)                          : 0
================================================================
A:ALA-1# 
A:ALA-1# show router pim statistics 10.1.7.1
================================================================
PIM Interface 10.1.7.1 Statistics
================================================================
Message Type        Received       Transmitted    Rx Errors
----------------------------------------------------------------
Hello               62             66             0
Join Prune          36             21             0
Asserts             0              0              0
Register            0              0              0
Null Register       0              0              0
Register Stop       0              0              0
BSM                 33             3              0
Total Packets       134            90
----------------------------------------------------------------
General Interface Statistics
----------------------------------------------------------------
Register TTL Drop                 : 0
Tx Register MTU Drop              : 0
Rx Invalid Register               : 0
Rx Neighbor Unknown               : 0
Rx Bad Checksum Discard           : 0
Rx Bad Encoding                   : 0
Rx Bad Version Discard            : 0
Rx CRP No Router Alert            : 0
Rx Invalid Join Prune             : 0
Rx Unknown PDU Type               : 0
Join Policy Drops                 : 0
Register Policy Drops             : 0
Bootstrap Import Policy Drops     : 0
Bootstrap Export Policy Drops     : 0
----------------------------------------------------------------
Interface Source Group Statistics
----------------------------------------------------------------
(S,G)                             : 9
(*,G)                             : 0
(*,*,RP)                          : 0
================================================================
A:ALA-1# 
A:ALA-1# show router pim statistics ip-10.1.7.1
================================================================
PIM Interface ip-10.1.7.1 Statistics
================================================================
Message Type        Received       Transmitted    Rx Errors
----------------------------------------------------------------
Hello               63             67             0
Join Prune          36             21             0
Asserts             0              0              0
Register            0              0              0
Null Register       0              0              0
Register Stop       0              0              0
BSM                 33             3              0
Total Packets       135            91
----------------------------------------------------------------
General Interface Statistics
----------------------------------------------------------------
Register TTL Drop                 : 0
Tx Register MTU Drop              : 0
Rx Invalid Register               : 0
Rx Neighbor Unknown               : 0
Rx Bad Checksum Discard           : 0
Rx Bad Encoding                   : 0
Rx Bad Version Discard            : 0
Rx CRP No Router Alert            : 0
Rx Invalid Join Prune             : 0
Rx Unknown PDU Type               : 0
Join Policy Drops                 : 0
Register Policy Drops             : 0
Bootstrap Import Policy Drops     : 0
Bootstrap Export Policy Drops     : 0
----------------------------------------------------------------
Interface Source Group Statistics
----------------------------------------------------------------
(S,G)                             : 9
(*,G)                             : 0
(*,*,RP)                          : 0
================================================================
A:ALA-1#

status

Syntax 
status [detail] [family]
Context 
show>router>pim
Description 

This command displays PIM status. The Oper Status reflects the combined operational status of IPv4/IPv6 PIM protocol status. If both are down, then Oper Status will be reflected as down. If IPv4 or IPv6 reflects up, the Oper Status will reflect up.

If PIM is not enabled, the following message appears:

A:NYC# show router pim status
MINOR: CLI PIM is not configured.
A:NYC#
Parameters 
detail—
Displays detailed status information.
family—
Displays either IPv4 or IPv6 information.
Output 

PIM Status Output

The following table provides PIM status output field descriptions.

Table 19:  PIM Status Output Fields   

Label

Description

Admin State

Displays the administrative status of PIM.

Oper State

Displays the current operating state of this PIM protocol instance.

BSR State

Displays the state of the router with respect to the Bootstrap mechanism.

Address

Displays the address of the elected Bootstrap router.

Expiry Time

Displays the time remaining before the router sends the next Bootstrap message.

Priority

Displays the priority of the elected Bootstrap router. The higher the value, the higher the priority.

Hash Mask Length

Displays the hash mask length of the Bootstrap router.

Up Time

Displays the time since the current E-BSR became the Bootstrap router.

RPF Intf towards

Displays the RPF interface towards the elected BSR. The value is zero if there is no elected BSR in the network.

Address

Displays the address of the candidate BSR router.

Expiry Time

Displays the time remaining before the router sends the next Bootstrap message.

Priority

Displays the priority of the Bootstrap router. The higher the value, the higher the priority.

Hash Mask Length

Displays the hash mask length of the candidate Bootstrap router.

Up Time

Displays the time since becoming the Bootstrap router.

Admin State

Displays the administrative status of CRP.

Oper State

Displays the current operating state of the C-RP mechanism.

Address

Displays the local RP address.

Priority

Displays the CRP's priority for becoming a rendezvous point (RP). A 0 value is the highest priority.

Holdtime

Displays the hold time of the candidate RP. It is used by the Bootstrap router to timeout the RP entries if it does not listen to another CRP advertisement within the holdtime period.

Policy

Displays the PIM policies for a particular PIM instance.

Default Group

Displays the default core group address.

RPF Table

Displays the route table used for RPF check.

MC-ECMP-Hashing

Displays if hash-based multicast balancing of traffic over ECMP links is enabled or disabled.

Sample Output
A:dut-d# show router pim status
===============================================================================
PIM Status ipv4
===============================================================================
Admin State                       : Up
Oper State                        : Up
IPv4 Admin State                  : Up
IPv4 Oper State                   : Up
BSR State                         : Accept Any
Elected BSR
    Address                       : None
    Expiry Time                   : N/A
    Priority                      : N/A
    Hash Mask Length              : 30
    Up Time                       : N/A
    RPF Intf towards E-BSR        : N/A
Candidate BSR
    Admin State                   : Down
    Oper State                    : Down
    Address                       : None
    Priority                      : 0
    Hash Mask Length              : 30
Candidate RP
    Admin State                   : Down
    Oper State                    : Down
    Address                       : 0.0.0.0
    Priority                      : 192
    Holdtime                      : 150
Auto-RP                           : Disabled
Multicast-Fast-Failover           : Disabled
SSM-Default-Range                 : Enabled
SSM-Assert-Comp-Mode              : Disabled
SSM-Group-Range
    None
MC-ECMP-Hashing                   : Disabled
MC-ECMP-Hashing-Rebalance         : Disabled
Enable-MDT-SPT                    : Disabled
Policy                            : None
RPF Table                         : rtable-u
Non-DR-Attract-Traffic            : Disabled
Rpf-Vector                        : None
ESM                               : Disabled
===============================================================================
A:dut-d# 
*A:Dut-A# show router pim status detail
===============================================================================
PIM Status ipv4
===============================================================================
Admin State                       : Up
Oper State                        : Up
IPv4 Admin State                  : Up
IPv4 Oper State                   : Up
BSR State                         : Accept Any
Elected BSR
    Address                       : None
    Expiry Time                   : N/A
    Priority                      : N/A
    Hash Mask Length              : 30
    Up Time                       : N/A
    RPF Intf towards E-BSR        : N/A
Candidate BSR
    Admin State                   : Down
    Oper State                    : Down
    Address                       : None
    Priority                      : 0
    Hash Mask Length              : 30
Candidate RP
    Admin State                   : Down
    Oper State                    : Down
    Address                       : 0.0.0.0
    Priority                      : 192
    Holdtime                      : 150
Auto-RP                           : Disabled
Multicast-Fast-Failover           : Disabled
SSM-Default-Range                 : Enabled
SSM-Assert-Comp-Mode              : Disabled
SSM-Group-Range
    None
MC-ECMP-Hashing                   : Disabled
MC-ECMP-Hashing-Rebalance         : Disabled
Enable-MDT-SPT                    : Disabled
Policy                            : None
RPF Table                         : rtable-u
Non-DR-Attract-Traffic            : Disabled
Rpf-Vector                        : None
ESM                               : Disabled
MDT Configurations
    MDT Default Group             : 0.0.0.0
    MDT Data Range                : /0
    MDT Data Delay Interval       : 3
    MDT Data Threshold Range      : 224.0.0.0/4
    MDT Data Threshold            : 1
    MDT SPMSI Add Rx Threshold    : 65534
    MDT SPMSI Delete Rx Threshold : 65535
    MDT Data Threshold Range      : ff00::/8
    MDT Data Threshold            : 1
    MDT SPMSI Add Rx Threshold    : 65534
    MDT SPMSI Delete Rx Threshold : 65535
===============================================================================
*

tunnel-interface

Syntax 
tunnel-interface [ip-int-name | mt-int-name | int-ip-address] [group [grp-ip-address] source ip-address] [type {starstarrp | starg | sg}] [detail] [family]
Context 
show>router>pim
Description 

This command displays PIM tunnel interface information.

Parameters 
ip-int-name—
Specifies the IP interface name. A string up to 32 characters.
mt-int-name—
Specifies the Multicast Tunnel (MT) interface for a VPRN.
Values—
vprn-id-mt-grp-ip-address
int-ip-address—
Specifies the interface IPv4 or IPv6 address.
group grp-ip-address
Specifies the IP multicast group address, or 0.
source ip-address
Specifies the source or RP IPv4 or IPv6 address.
type—
Specifies the type of entry.
Values—
starstarrp | starg | sg
detail—
Displays detailed interface information.
family—
Specifies the IPv4 or IPv6 address family.
Output 

Sample Output
*A:Dut-C# show router pim tunnel-interface 
==================================================================================
PIM Interfaces ipv4
===============================================================================
Interface                        Originator Address   Adm  Opr  Transport Type
-------------------------------------------------------------------------------
mpls-if-73728                    N/A                  Up   Up   Tx-IPMSI
mpls-if-73729                    N/A                  Up   Up   Tx-IPMSI
mpls-if-73730                    N/A                  Up   Up   Tx-IPMSI
mpls-if-73731                    N/A                  Up   Up   Tx-IPMSI
mpls-if-73732                    N/A                  Up   Up   Tx-IPMSI
-------------------------------------------------------------------------------
Interfaces : 5
===============================================================================

mvpn-list

Syntax 
mvpn-list [type type] [auto-discovery auto-discovery] [signalling
signalling] [group group]
Context 
show>router
Description 

This command displays Multicast VPN list.

Parameters 
type—
Specifies the MVPN type.
Values—
pim | rsvp | ldp
auto-discovery—
Specifies the auto-discovery mode.
Values—
none | default | mdt-s
signalling—
Specifies the signalling type.
Values—
bgp | pim
group—
Specifies the group address.
Output 

Sample Output
*A:Dut-D# show router mvpn-list
Legend: Sig = Signal  Pim-a = pim-asm  Pim-s = pim-ssm  A-D = Auto-Discovery
SR = Sender-Receiver  SO = Sender-Only  RO = Receiver-Only
===============================================================================
MVPN List
===============================================================================
VprnID    A-D      iPmsi/sPmsi GroupAddr/Lsp-Template          IPv4(S,G)/(*,G)
           Sig      Mdt-Type                                    IPv6(S,G)/(*,G)
-------------------------------------------------------------------------------
100       None     Pim-a/None  224.100.201.101                 0/0
           Pim      N/A                                         0/0
-------------------------------------------------------------------------------
Total Mvpns : 1
===============================================================================
===============================================================================
Total                              PIM            RSVP           MLDP
-------------------------------------------------------------------------------
I-PMSI tunnels                     1              0              0
TX S-PMSI tunnels                  0              0              0
RX S-PMSI tunnels                  0              0              0
RX PSEUDO S-PMSI tunnels   0              0              0
-------------------------------------------------------------------------------
Total IPv4 (S,G)/(*,G) : 0/0
Total IPv6 (S,G)/(*,G) : 0/0
===============================================================================
*A:Dut-D#

Clear Commands

database

Syntax 
database [interface ip-int-name | mt-int-name | int-ip-address] [group grp-ip-address [source ip-address]] [family]
Context 
clear>router>pim
Description 

This command clears IGMP or PIM database statistics on a specified interface or IP address.

Parameters 
interface ip-int-name
Clears the IGMP or PIM database on the specified interface.
interface mt-int-name
Clears the default core group address of the Multicast Distribution Tree (MDT) for the VPRN instance. The Multicast Tunnel (MT) interface for a VPRN is created when this object is set to a valid group address.

Syntax: vprn-id-mt-grp-ip-address

interface int-ip-address
Clears the IGMP or PIM database on the specified IP address.
group group-ip-address
Clears the multicast group address (ipv4/ipv6) or zero in the specified address group.
source ip-address
Clears the IGMP or PIM database from the specified source IP address.
family—
Clears either IPv4 or IPv6 information.
mpls-if-name —
Clears the MPLS interface name.

Syntax: mpls-if-index

s-pmsi

Syntax 
s-pmsi [mdSrcAddr] [mdGrpAddr] [vprnSrcAddr vprnGrpAddr]
Context 
clear>router>pim
Description 

This command clears PIM selective provider multicast service interface cache.

Parameters 
mdSrcAddr—
Clears the specified source address used for Multicast Distribution Tree (MDT).
mdGrpAddr—
Clears the specified group address used for Multicast Distribution Tree (MDT).
vprnSrcAddr—
Clears the specified source address of the multicast sender.
vprnGrpAddr—
Clears the specified multicast group address.

statistics

Syntax 
statistics [{[interface ip-int-name | ip-address | mt-int-name]} {[group grp-ip-address [source ip-address]]}] [family]]
Context 
clear>router>pim
Description 

This command clears PIM statistics on a specified interface or IP address.

Note:

An interface and group or source cannot be specified at the same time.

Parameters 
interface ip-int-name
Clears PIM statistics on the specified interface.
interface ip-address
Clears PIM statistics on the specified IP address.
interface mt-int-name
Clears the default core group address of the Multicast Distribution Tree (MDT) for the VPRN instance. The Multicast Tunnel (MT) interface for a VPRN is created when this object is set to a valid group address.

syntax: vprn-id-mt-grp-ip-address

group grp-ip-address
When only the group address is specified and no source is specified, (*,G) statistics are cleared. When the group address is specified along with the source address, then the (S,G) statistics are reset to zero.
source ip-address
When the source address is specified along with the group address, then the (S,G) statistics are reset to zero.
family—
Clears either IPv4 or IPv6 information.

neighbor

Syntax 
neighbor [ip-int-name | ip-address] [family]
Context 
clear>router>pim
Description 

This command clears PIM neighbor data on a specified interface or IP address.

Parameters 
ip-int-name
Clears PIM neighbor on the specified interface.
ip-address
Clears PIM neighbor on the specified IP address.
family—
Clears either IPv4 or IPv6 information.

Debug Commands

adjacency

Syntax 
[no] adjacency
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM adjacencies.

all

Syntax 
all [group grp-ip-address] [source ip-address] [detail]
no all
Context 
debug>router>pim
Description 

This command enables/disables debugging for all the PIM modules.

Parameters 
group grp-ip-address
Debugs information associated with all PIM modules.
Values—
IPv4 or IPv6 address
source ip-address
Debugs information associated with all PIM modules.
Values—
IPv4 or IPv6 address
detail—
Debugs detailed information on all PIM modules.

assert

Syntax 
assert [group grp-ip-address] [source ip-address] [detail]
no assert
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM assert mechanism.

Parameters 
group grp-ip-address
Debugs information associated with the PIM assert mechanism.
Values—
multicast group address (ipv4/ipv6)
source ip-address
Debugs information associated with the PIM assert mechanism.
Values—
source address (ipv4/ipv6)
detail—
Debugs detailed information on the PIM assert mechanism.

bsr

Syntax 
bsr [detail]
no bsr
Context 
debug>router>pim
Description 

This command enables debugging for PIM Bootstrap mechanism.

The no form of the command disables debugging.

Parameters 
detail—
Debugs detailed information on the PIM assert mechanism.

data

Syntax 
data [group grp-ip-address] [source ip-address] [detail]
no data
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM data exception.

Parameters 
group grp-ip-address
Debugs information associated with the specified data exception.
Values—
multicast group address (ipv4/ipv6)
source ip-address
Debugs information associated with the specified data exception.
Values—
source address (ipv4/ipv6)
detail—
Debugs detailed IP data exception information.

db

Syntax 
db [group grp-ip-address] [source ip-address] [detail]
no db
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM database.

Parameters 
group grp-ip-address
Debugs information associated with the specified database.
Values—
multicast group address (ipv4/ipv6) or zero
source ip-address
Debugs information associated with the specified database.
Values—
source address (ipv4/ipv6)
detail—
Debugs detailed IP database information.

interface

Syntax 
interface [ip-int-name | mt-int-name | ip-address] [detail]
no interface
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM interface.

Parameters 
ip-int-name—
Debugs the information associated with the specified IP interface name.
Values—
IPv4 or IPv6 interface address
mt-int-address—
Debugs the information associated with the specified VPRN ID and group address.
ip-address—
Debugs the information associated with the specified IP address.
detail—
Debugs detailed IP interface information.

jp

Syntax 
jp [group grp-ip-address] [source ip-address] [detail]
no jp
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM Join-Prune mechanism.

Parameters 
group grp-ip-address
Debugs information associated with the specified Join-Prune mechanism.
Values—
multicast group address (ipv4/ipv6) or zero
source ip-address
Debugs information associated with the specified Join-Prune mechanism.
Values—
source address (ipv4/ipv6)
detail—
Debugs detailed Join-Prune mechanism information.

mrib

Syntax 
mrib [group grp-ip-address] [source ip-address] [detail]
no mrib
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM MRIB.

Parameters 
group grp-ip-address
Debugs information associated with the specified PIM MRIB.
Values—
multicast group address (ipv4/ipv6)
source ip-address
Debugs information associated with the specified PIM MRIB.
Values—
source address (ipv4/ipv6)
detail—
Debugs detailed MRIB information.

msg

Syntax 
msg [detail]
no msg
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM messaging.

Parameters 
detail—
Debugs detailed messaging information.

packet

Syntax 
packet [hello | register | register-stop | jp | bsr | assert | crp] [ip-int-name | ip-address]
no packet
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM packets.

Parameters 
hello | register | register-stop | jp | bsr | assert | crp—
PIM packet types.
ip-int-name—
Debugs the information associated with the specified IP interface name.
Values—
IPv4 or IPv6 interface address
ip-address—
Debugs the information associated with the specified IP address of a particular packet type.

red

Syntax 
red [detail]
no red
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM redundancy messages to the standby CPM.

Parameters 
detail—
Displays detailed redundancy information.

register

Syntax 
register [group grp-ip-address] [source ip-address] [detail]
no register
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM Register mechanism.

Parameters 
group grp-ip-address
Debugs information associated with the specified PIM register.
Values—
multicast group address (ipv4/ipv6)
source ip-address
Debugs information associated with the specified PIM register.
Values—
source address (ipv4/ipv6)
detail—
Debugs detailed register information.

rtm

Syntax 
rtm [detail]
no rtm
Context 
debug>router>pim
Description 

This command enables/disables debugging for PIM RTM.

Parameters 
detail—
Displays detailed RTM information.

s-pmsi

Syntax 
s-pmsi [{vpnSrcAddr [vpnGrpAddr]} [mdSrcAddr]] [detail]
no s-pmsi
Context 
debug>router>pim
Description 

This command enables debugging for PIM selective provider multicast service interface.

The no form of the command disables the debugging.

Parameters 
vpnSrcAddr—
Specifies the VPN source address.
vpnGrpAddr—
Specifies the VPN group address
mdSrcAddr—
Specifies the source address of the multicast sender.
detail—
Displays detailed information for selective PMSI.