Monitoring PIM
You can display information about PIM events and parameters.
Monitoring PIM Events
You can use the debug PIM commands to view information about PIM events.
debug ip pim
- Use to show information about the selected event.
- To control the type of events displayed, specify a severity level.
- To control how much information to display, specify a verbosity level.
- Example
host1#debug ip pim events severity 1 verbosity lowUse the no version to disable the display. undebug ip pim
- Use to turn off the display of information previously enabled with the debug ip pim command.
- Example
host1#undebug ip pim eventsThere is no no version. Monitoring PIM Settings
You can use the show ip pim commands to display information about PIM settings.
show ip pim
- Default PIM VersionDefault PIM version number (always 2)
- Default Domain IdDefault Domain Id (always 0)
- Default Hello periodDefault interval (in minutes) at which the router sends hello messages to neighbors
- Default Hello Hold TimeDefault time (in minutes) for which the router keeps the neighbor state alive
- Default J / P Hold TimeHold time value (in seconds) set in Join/Prune messages originated by this PIM router
- Keepalive PeriodTime SG join state is maintained in the absence of SG Join message
- Assert TimePeriod after last assert before assert state is timed out
- Register Suppression TimePeriod during which a designated router stops sending registers to the RP
- Register Probe TimeTime before register suppression time (RST) expires when a designated router might send a NULL-Register to the RP
- Register TTLTTL value (in PIM register packets) originated by this PIM router
- SSMState of SSM on this PIM router (enabled or disabled)
- rangeDefault SSM group range or name of the access list specifying the range
- Sparse-Mode Graceful Restart DurationRestart interval in seconds
- Join filterName of the join filter access-list (if configured) for this PIM router
host1:1#show ip pimDefault PIM Version: 2Default Domain Id: 0Default Hello Period: 30Default Hello HoldTime: 105Default J/P HoldTime: 210Keepalive Period: 210Assert Time: 210Register Suppression Time: 60Register Probe Time: 5Register TTL: 64SSM enabled, range defaultSparse-Mode Graceful Restart Duration: 30Graceful restart is complete (timer 0 seconds)Join filter, access-list bronzeshow ip pim auto-rp
- Use to display information about RP routers and the RP mapping agent in a PIM sparse mode environment.
- Field descriptions
- Configured with ttlNumber of hops for which the RP discovery message is valid
- Using interface addrIP address of the interface from which the router sends RP discovery messages
- intervalTime interval, in seconds, at which the router sends RP discovery messages
- PIM AutoRP candidate RP mapping(s)Routers that the RP mapping agent is evaluating to determine an RP router for this interface
host1:1#show ip pim auto-rpThis PIM router is an Auto RP mapping agent.Configured with ttl 64[ Using interface addr 121.0.0.1, interval 60 ].PIM AutoRP candidate RP mapping(s)Example 2 host1:1#show ip pim auto-rpThis PIM router is _not_ an Auto RP mapping agent.PIM AutoRP candidate RP mapping(s)Candidate RP 122.0.0.1Group(s) 224.0.0.0/4, AutoRP, ttl 64, interval 60, from access List 1Candidate RP 122.0.0.1Group(s) 224.0.1.39/32 (negative), AutoRP, ttl 64, interval 60, from access List 1Candidate RP 122.0.0.1Group(s) 224.0.1.40/32 (negative), AutoRP, ttl 64, interval 60, from access List 1show ip pim bsr
- Use to display BSR information and the group prefixes for which the local router is a candidate RP in a PIM sparse mode environment.
- Field descriptions
- CandidacyWhether the router is a candidate BSR
- Configured onInterface on which the router is configured
- addressAddress of the router
- hashMaskLenHash mask length
- priorityPriority of the router
- periodTime between bootstrap messages, in seconds
- Elected BSRThis router or IP address of the elected bootstrap router
- next BSMIf BSR is this router, time until the next bootstrap message is sent, in seconds
- expires inIf BSR is not this router, time until the elected BSR expires if no bootstrap messages are received
- Local candidate RP mapping(s)Routers that the mapping agent is evaluating to determine an RP router for this interface
host1:1#show ip pim bsrThis PIM router is a Candidate BSR.Configured on intf ATM3/0.101, address: 101.0.0.1hashMaskLen 30, priority 2, period 60 seconds.Elected BSR is this router, next BSM in 3 seconds.Local candidate RP mapping(s):Candidate RP 101.0.0.1224.0.0.0/4, BSR, hold-time 150, interval 60, priority 192228.0.0.0/24, BSR, hold-time 150, interval 60, priority 192, from access-list acl230.0.0.0/24, BSR, hold-time 150, interval 60, priority 192, from access-list aclExample 2On a router that is a candidate BSR host1:1#show ip pim bsrThis PIM router is a Candidate BSR.Configured on intf ATM3/0.100, address: 100.0.0.1hashMaskLen 30, priority 2, period 60 seconds.Elected BSR is 101.0.0.1 (priority 0), expires in 73 seconds.Example 3On a router that is not a candidate BSR host1:1#show ip pim bsrThis PIM router is not a Candidate BSR.Elected BSR is 101.0.0.1 (priority 0), expires in 73 seconds.show ip pim data-mdt
- Use to display information about active data MDTs.
- To display information about data MDTs on which the provider edge transmits data, use the sender keyword.
- To display information about data MDTs on which the provider edge receives data, use the receiver keyword.
- To display information about an IP PIM group address pool, use the group keyword.
- To display a summary of configuration for each data MDT, use the summary keyword.
- To display the number of data MDTs, use the count keyword.
- Field descriptions
- PE NameName of the PE
- C-SGAddress of the C-SG
- P-SGAddress of the P-SG
- MTIName of the dynamic IP tunnel on which the data MDT was created
- Data rate/ThresholdRate and threshold of multicast data
- Time until next MDT Join TLVConfigured delay until next MDT Join TLV
- Time until MDT Join TLV expiresConfigured delay until MDT Join TLV expires
- Time until switchover from default-MDTConfigured delay until the data MDT switches over to the default MDT
host1:PE1#show ip pim data-mdt 225.1.1.1PE11 - SenderC-SG: 10.11.0.100, 225.1.1.1P-SG: 1.1.1.1, 235.0.1.1MTI: TUNNEL gre:mvpn-dynamic-1Data rate/Threshold: 10012/500 KbpsTime until next MDT Join TLV: 25 secondsExample 2Displays information about a data MDT receiver host1:PE1#show ip pim data-mdt 225.2.2.2PE31 - ReceiverC-SG: 10.13.0.100, 225.2.2.2P-SG: 3.3.3.3, 235.0.1.1MTI: TUNNEL gre:mvpn-dynamic-3Time until MDT Join TLV expires: 29 secondsExample 3Displays a summary of data MDT senders host1:PE1#show ip pim data-mdt senders summaryVRF S/R C-Group C-Source P-Group P-Source MTI---- ------- --------- ----------- --------- -------- ---------------PE11 Sender 225.1.1.1 10.11.0.100 235.0.1.1 1.1.1.1 TUNNEL gre:mvpn-dynamic-1PE12 Sender 225.1.1.1 10.12.0.100 235.0.1.2 1.1.1.1 TUNNEL gre:mvpn-dynamic-2Counts: 2 senders, 0 receivers, total 3.Example 4Displays the number of data MDT senders and receivers host1:PE1#show ip pim data-mdt countCounts: 2 senders, 1 receivers, total 3.show ip pim dense-mode sg-state
- (Source, Group) pairIP addresses of multicast source and group
- EntryExpiresTime until the (S,G) pair entry expires
- RPF RouteReverse-path forwarding route
- IIFIP address of incoming interface
- UpNbrIP address of upstream neighbor
- Pruned OifsOutgoing interfaces that have been pruned
- AddressIP address of outgoing interface
- IfIdIndex of the interface
- Pruned due toReason for prune: assert or explicit prune
- Pruned time remainingTime in seconds until the prune expires
host1:8#show ip pim dense-mode sg-statePIM DM route table and pruned oif information<122.0.0.1, 224.0.1.39> EntryExpires: 99RPF Route: 122.0.0.0/255.0.0.0 IIF: 107.0.8.4 UpNbr: 107.0.4.8Pruned Oifs:Address: 108.0.8.5 IfId: 95Pruned due to assertPruned time remaining 129<130.0.0.2, 224.0.1.39> EntryExpires: 100RPF Route: 130.0.0.0/255.0.0.0 IIF: 107.0.8.4 UpNbr: 107.0.4.8Pruned Oifs:Address: 108.0.8.5 IfId: 95Pruned due to assertPruned time remaining 130<121.0.0.1, 224.0.1.40> EntryExpires: 102RPF Route: 121.0.0.0/255.0.0.0 IIF: 107.0.8.4 UpNbr: 107.0.4.8Pruned Oifs:Address: 108.0.8.5 IfId: 95Pruned due to assertPruned time remaining 133show ip pim interface
- Use to display information about PIM interfaces.
- Specify no keywords or variables to view information about all PIM interfaces.
- Provide an interface type and specifier (such as atm 3/0) to display information about that interface only. For details about interface types and specifiers, see JUNOSe Command Reference Guide, About This Guide.
- Specify the summary keyword to view the number of configured, enabled, and disabled PIM dense mode, PIM sparse mode, and PIM sparse-dense mode interfaces.
- Specify the count keyword to view the number of multicast packets that the interface has sent and received.
- Field descriptions
- Interface AddrIP address of the interface
- Interface NameType and specifier of the interface. For details about interface types and specifiers, see JUNOSe Command Reference Guide, About This Guide.
- VerVersion of PIM running on this interface
- ModePIM mode running on this interface: Sparse, Dense, or SparseDense
- Nbr CountNumber of neighbors connected to this interface
- Hello IntvlTime interval, in seconds, at which the interface sends hello messages to neighbors
- DR AddrAddress of the designated router
- SMNumber of PIM sparse mode interfaces
- DMNumber of PIM dense mode interfaces
- SM/DMNumber of PIM sparse-dense mode interfaces
- enabledNumber of interfaces administratively enabled
- disabledNumber of interfaces administratively disabled
- HelloTotal number of hello messages
- JoinPruneTotal number of join and prune messages
- AssertTotal number of assert messages
host1#show ip pim interfaceInterface Nbr Hello BFDAddr Interface State Ver Mode count Intvl DR Addr JoinFilter Enabled--------- --------------- ----- --- ------ ----- ----- ------- ---------- -----1.1.1.2 FastEthernet1/1 up 2 Sparse 1 30 1.1.1.2 --- yesInterface Nbr Hello BFDAddr Interface State Ver Mode count Intvl DR Addr JoinFilter Enabled--------- --------------- ----- --- ------ ----- ----- ------- ---------- ------1.1.1.2 FastEthernet1/1 up 2 Sparse 1 30 1.1.1.2 --- nohost1#show ip pim interface summaryPIM Interface SummarySM: 0, 0 enabled, 0 disabledDM: 0, 0 enabled, 0 disabledSM/DM: 1, 0 enabled, 1 disabledExample 3 host1#show ip pim interface countPIM Interface CountInterface Addr Interface Name ControlPktCount In|OutHello JoinPrune Assert192.32.10.20 ATM3/0.20 0 0 00 0 0show ip pim neighbor
- Use to display information about PIM neighbors that the router discovered.
- Provide an interface type and specifier (such as atm 3/0) to display information about that interface only. For details about interface types and specifiers, see JUNOSe Command Reference Guide, About This Guide.
- Field descriptions
- Neighbor AddrIP address of the neighbor
- Interface NameType and specifier of the interface to which the neighbor connects. For details about interface types and specifiers, see JUNOSe Command Reference Guide, About This Guide.
- UptimeTime since the router discovered this neighbor in days hours:minutes:seconds format
- ExpiresTime available for the neighbor to send a hello message to the interface. If the neighbor does not send a hello message during this time, it no longer is a neighbor.
- VerVersion of PIM that the neighbor is running
- ModePIM mode that the neighbor is using: Sparse, Dense, or SparseDense
- BFDBFD status: up or down
host1#show ip pim neighborNeighborAddr Interface Name Uptime Expires Ver Mode BFD-------- --------------- -------- -------- --- ------ ---1.1.1.1 FastEthernet1/1 00:02:49 00:01:27 2 SparseNeighborAddr Interface Name Uptime Expires Ver Mode BFD-------- --------------- -------- -------- --- ------ ---1.1.1.1 FastEthernet1/1 00:03:16 00:01:30 2 Sparse upNeighborAddr Interface Name Uptime Expires Ver Mode BFD-------- --------------- -------- -------- --- ------ ----1.1.1.1 FastEthernet1/1 00:00:07 00:01:39 2 Sparse downshow ip pim rp
- Use to display information about PIM group-to-RP mappings.
- Specify the address of a group to view PIM group-to-RP mappings for a particular group.
- Specify the mapping keyword to display all group-to-RP mappings that the router has recorded.
- Field descriptions
- Group(s)Prefix of the multicast group
- RPIP address of RP router for the multicast group
- priorityPriority of the router
- viaMethod by which the RP router was assigned: AutoRP, Static RP, or BSR
- expiryTimeTime in seconds at which the RP mapping becomes invalid, unless the mapping agent (access list) reassigns the RP router to this group
host1:8#show ip pim rp mappingPIM Group-to-RP mapping(s)Group(s) 224.0.0.0/4RP 122.0.0.1, priority 0, via AutoRP, expiryTime 88Group(s) 224.0.1.39/32 (negative)RP 122.0.0.1, priority 0, via AutoRP (Negative), expiryTime 88Group(s) 224.0.1.40/32 (negative)RP 122.0.0.1, priority 0, via AutoRP (Negative), expiryTime 88Example 2 host1:8#show ip pim rp mappingPIM Group-to-RP mapping(s)Group(s) 224.0.0.0/4RP 134.0.0.1, priority 0, via Static, from access-list 1Group(s) 232.0.0.0/16RP 134.0.0.1, priority 0, via BSR, expires in 121 secondsshow ip pim rp-hash
- Group(s)Multicast group or groups
- RPRP router for the multicast group
- priorityPriority of the router
- viaMethod by which the RP router was assigned: AutoRP, Static RP, or BSR
- expiryTimeTime in seconds at which the RP mapping becomes invalid, unless it is renewed by the mapping agent
host1:2#show ip pim rp-hash 232.1.1.1Group(s) 224.0.0.0/4RP 122.0.0.1, priority 0, via AutoRP, expiryTime 128Example 2 host1:2#show ip pim rp-hash 226.0.0.1Group(s) 226.0.0.0/24RP 101.0.0.1, priority 192, via BSR, expires in 145 seconds*RP 145.0.0.3, priority 192, via BSR, expires in 145 secondsshow ip pim sparse-mode sg-state
- (S, G) pairSource, Group pair for which information is provided
- Group-to-RP mappingIP addresses and network mask of the multicast group
- RPIP address of RP router
- SSM groupIndicator that this is an SSM group
- RPF RouteIP address and network mask of the RPF route
- IIFIP address of the incoming interface for the RPF route
- UpNbrIP address of the upstream neighbor
- OifsOutgoing interface
- Auto RP Discovery SELF oifIndicates that RP router for this group was assigned through auto-RP
- Register Oif to RPIP address of RP router for the outgoing interface; suppressed for SSM
- AddressIP address of outgoing interface
- InterfaceType and specifier of the interface. For details about interface types and specifiers, see JUNOSe Command Reference Guide, About This Guide.
- Joined asType of mapping
- (S, G)Mapping from a specific source to a specific group
- (*, G)Mapping from any source to a specific group
- (*, * , RP)Mapping from any source to any group
- Join expiresNumber of seconds before the (S,G) membership expires
- Count of entriesTotal counts of (S,G) pair mappings
host1:2#show ip pim sparse-mode sg-statePIM SM route table and oif information<*, 224.0.1.40>Group-to-RP mapping: 224.0.0.0/240.0.0.0 RP: 123.0.0.1RPF Route: 123.0.0.0/255.0.0.0 IIF: 106.0.7.3 UpNbr: 106.0.3.7Oifs:Auto RP Discovery SELF oif.Joined as <*, G><*, 225.1.2.3>Group-to-RP mapping: 224.0.0.0/240.0.0.0 RP: 123.0.0.1RPF Route: 123.0.0.0/255.0.0.0 IIF: 106.0.7.3 UpNbr: 106.0.3.7Oifs:Address: 78.7.7.7 Interface: loopback7Local group membership present.<*, 235.1.1.1>Group-to-RP mapping: 224.0.0.0/240.0.0.0 RP: 123.0.0.1RPF Route: 123.0.0.0/255.0.0.0 IIF: 106.0.7.3 UpNbr: 106.0.3.7Oifs:Address: 78.7.7.7 Interface: loopback7Local group membership present.<118.1.33.34, 232.0.0.1>SSM GroupRPF Route: 118.1.0.0/255.255.0.0 IIF: 118.1.0.1 (Directly attached)Oifs:Register Oif to RP: 141.0.0.2 suppressed for SSM Group.Address: 134.0.0.1 Interface: ATM3/0.104Joined as <S, G> Join Expires: 161<118.1.33.35, 232.0.0.1>SSM GroupRPF Route: 118.1.0.0/255.255.0.0 IIF: 118.1.0.1 (Directly attached)Oifs:Register Oif to RP: 141.0.0.2 suppressed for SSM Group.Address: 134.0.0.1 Interface: ATM3/0.104Joined as <S, G> Join Expires: 161<10.0.1.8, 235.1.1.1> EntryExpires: 143Group-to-RP mapping: 224.0.0.0/240.0.0.0 RP: 123.0.0.1RPF Route: 10.0.0.0/255.0.0.0 IIF: 106.0.7.3 UpNbr: 106.0.3.7Oifs:Address: 78.7.7.7 Interface: loopback7Joined as <*, G>Count of entries - <S, G> : 3<*, G> : 3<*, *, RP>: 0show ip pim sparse-mode unicast-route
- RouteIP address and network mask for the unicast route
- RpfNbrRPF neighbor
- IifIncoming interface for the unicast route
- PrefPreference value for the unicast route
- MetricValue of metric for the unicast route (type of metric varies with the unicast protocol)
- Count of entriesNumber of unicast routes that PIM sparse mode is using
host1:2#show ip pim sparse-mode unicast-routePIM SM unicast route table informationRoute RpfNbr Iif Pref Metric---------------------------------------------------------------------------122.0.0.0 /255.0.0.0 122.0.0.1 255 1Count of entries: 1show ip pim spt-threshold
- Use to display the threshold for switching to the shortest path tree at a PIM designated router.
- Field descriptions
- Access List NameName of the IP access list that specifies the groups to which the threshold applies
- SptThreshold (in kbps)Value at which PIM sparse mode switches from a shared tree to an SPT. A value of infinity indicates that PIM sparse mode never switches to an SPT.
host1:2#show ip pim spt-thresholdAccess List Name SptThreshold(in kbps)-------------------------------------------------------1 infinity