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 ipv6 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 ipv6 pim events severity 1 verbosity lowUse the no version to disable the display. undebug ipv6 pim
- Use to turn off the display of information previously enabled with the debug ipv6 pim command.
- Example
host1#undebug ipv6 pim eventsThere is no no version. Monitoring PIM Settings
You can use the show ipv6 pim commands to display information about PIM settings.
show ipv6 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
- Join filterName of the join filter access-list (if configured) for this PIM router
host1:1#show ipv6 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 defaultJoin filter, access-list bronzeshow ipv6 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 or not 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
- Elected BSR"this router" or IP address of the elected bootstrap router
- next BSMIf BSR is "this router," time until the next bootstrap message is sent
- 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 ipv6 pim bsrThis PIM router is a Candidate BSR.Configured on intf ATM3/0.101, address: ::107:9hashMaskLen 30, priority 2, period 60 seconds.Elected BSR is this router, next BSM in 3 seconds.Local candidate RP mapping(s):Candidate RP ::107:9::108:86, BSR, hold-time 150, interval 60, priority 192::108:87, BSR, hold-time 150, interval 60, priority 192, from access-list acl::108:88, BSR, hold-time 150, interval 60, priority 192, from access-list aclhost1:1#show ipv6 pim bsrThis PIM router is a Candidate BSR.Configured on intf ATM3/0.100, address: ::107:9hashMaskLen 30, priority 2, period 60 seconds.Elected BSR is ::107:8 (priority 0), expires in 73 seconds.Example 3On a router that is not a candidate BSR host1:1#show ipv6 pim bsrThis PIM router is not a Candidate BSR.Elected BSR is ::107:9 (priority 0), expires in 73 seconds.show ipv6 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 detail keyword to view detailed information for all PIM interfaces or for a specified PIM interface.
- Specify the summary keyword to view the number of configured, enabled, and disabled PIM sparse-mode interfaces.
- Specify the count keyword to view the number of multicast packets that the interface has sent and received.
- Field descriptions
- Interface AddrIPv6 address of the interface
- Interface NameType and identifier 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
- Nbr CountNumber of neighbors connected to this interface
- Hello IntvlTime interval at which the interface sends hello messages to neighbors
- DR AddressAddress of the designated router
- SMNumber of PIM sparse mode interfaces
- enabledNumber of interfaces administratively enabled
- disabledNumber of interfaces administratively disabled
- HelloNumber of hello messages
- JoinPruneNumber of join and prune messages
- AssertNumber of assert messages
host1#show ipv6 pim interfacePIM Interface TableInterface Addr Interface Name Ver Mode Nbr Hello DR AddrCount Intvl::108:85 atm2/1.108 2 Sparse 1 30 ::108:85::107:84 atm2/1.109 2 Sparse 1 30 ::107:84::111:89 atm2/0.110 2 Sparse 1 30 ::111:89::110:8c loopback8 2 Sparse 0 30 ::110:8chost1#show ipv6 pim interface summaryPIM Interface SummarySM: 0, 0 enabled, 0 disabledExample 3 host1#show ipv6 pim interface countPIM Interface CountInterface Addr Interface Name ControlPktCount In|OutHello JoinPrune Assert::107:84 ATM3/0.20 0 0 00 0 0show ipv6 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.
- Specify the detail keyword to view detailed information for all PIM neighbors or for a specified PIM neighbor.
- Field descriptions
- Neighbor AddrIPv6 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
- 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 will no longer be a neighbor.
- VerVersion of PIM that the neighbor is running
- ModePIM mode that the neighbor is using: sparse
host1#show ipv6 pim neighborPIM Neighbor TableNeighbor Addr Interface Name Uptime Expires Ver Mode::107:48 atm2/1.109 1d15:47:35 00:01:41 2 Sparse::108:58 atm2/1.108 1d15:47:34 00:01:42 2 Sparse::111:98 atm2/0.110 1d15:48:02 00:01:44 2 Sparseshow ipv6 pim remote-neighbor
- Remote Nbr AddrIPv6 address of remote neighbor
- OurEnd AddrIPv6 address of local interface, such as the local endpoint of a tunnel, that transmits data to remote neighbor
- VerVersion of PIM running on the local interface
- ModePIM mode running on the local interface; always PIM sparse mode
- Nbr CountNumber of remote neighbors detected: 0 or 1
- Hello IntvlTime interval at which the interface sends hello messages to neighbors
- DR AddrAddress of designated router
- In interfaceType and identifier of the interface on which PIM router receives packets from remote neighbor. For details about interface types and specifiers, see JUNOSe Command Reference Guide, About This Guide.
- Out interfaceType and identifier of the interface on which PIM router sends packets to remote neighbor. For details about interface types and specifiers, see JUNOSe Command Reference Guide, About This Guide.
host1:boston#show ipv6 pim remote-neighborPIM RemoteNbr TableRemoteNbr Addr OurEnd Addr Ver Mode Nbr Hello DR AddrCount Intvl1001::1 2001::1 2 Sparse 1 30 ::107:84In interface : atm2/1.109Out interface: atm2/1.108show ipv6 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.
- To display all group-to-RP mappings that the router has recorded, specify the mapping keyword.
- Field descriptions
- GroupPrefix of the multicast group
- RPIP address of RP router for the multicast group
- priorityThis field is not functional
- viaMethod by which the RP router was assigned (static, BSR)
host1:8#show ipv6 pim rp mappingPIM Group-to-RP mapping(s)Group(s) ff00::/12RP ::122:1, priority 0, via staticGroup(s) ff0e::1:0/96RP ::120:1, priority 0, via staticshow ipv6 pim rp-hash
- GroupMulticast group
- RPRP router for the multicast group
- priorityThis field is not functional
- viaMethod by which the RP router was assigned (static, BSR)
host1:2#show ipv6 pim rp-hash 232.1.1.1Group(s) ff00::/12RP ::122:1, priority 0, via staticshow ipv6 pim sparse-mode sg-state
- Group-to-RP mappingIPv6 addresses and network mask of the multicast group
- RPIPv6 address of RP router
- SSM groupIndicates that this is an SSM group
- RPF routeIPv6 address and network mask of the RPF route
- IIFIPv6 address of the incoming interface for the RPF route
- UpNbrIPv6 address of the upstream neighbor
- OifsOutgoing interface
- Register Oif to RPIP address of RP router for the outgoing interface; suppressed for SSM
- AddressIPv6 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 count of (S,G) pair mappings
host1:2#show ipv6 pim sparse-mode sg-statePIM SM route table and oif information<*, ff0e::1:3>Group-to-RP mapping: ff00::/12 RP: ::123:1RPF Route: ::123:1/96 IIF: :106:73 UpNbr: ::106:37Oifs:Address: ::78:7:7 Interface: loopback7Local group membership present.<*, ff0e::a:1>Group-to-RP mapping: ff001:/12 RP: ::123:1RPF Route: :123:1/96 IIF: :106:73 UpNbr: :106:37Oifs:Address: ::78:7:7 Interface: loopback7Local group membership present.<::118:34, ff3e::1>SSM GroupRPF Route: ::118:0/96 IIF: :118:1 (Directly attached)Oifs:Register Oif to RP: ::141:2 suppressed for SSM Group.Address: ::134:1 Interface: ATM3/0.104Joined as <S, G> Join Expires: 161<::118:35, ff3e::1>SSM GroupRPF Route: ::118:0/96 IIF: ::118:1 (Directly attached)Oifs:Register Oif to RP: ::141:2 suppressed for SSM Group.Address: ::134:1 Interface: ATM3/0.104Joined as <S, G> Join Expires: 161<::10:8, ff0e::5:1> EntryExpires: 143Group-to-RP mapping: ff00::/12 RP: ::123:1RPF Route: ::10:0/96 IIF: ::106:73 UpNbr: ::106:37Oifs:Address: ::78:7:7 Interface: loopback7Joined as <*, G>Count of entries - <S, G> : 3<*, G> : 2<*, *, RP>: 0show ipv6 pim sparse-mode unicast-route
- RouteIPv6 address and network mask for the unicast route
- RpfNbrRPF neighbor
- IifIncoming interface for the unicast route
- PrefPreference 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 ipv6 pim sparse-mode unicast-routePIM SM unicast route table informationRoute RpfNbr Iif Pref Metric---------------------------------------------------------------------------::122:0 /96 ::122:1 255 1Count of entries: 1show ipv6 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 IPv6 access list that specifies the groups to which the threshold applies
- SptThreshold (in kbps)Value at which PIM sparse mode should switch from a shared tree to an SPT. A value of infinity indicates that PIM sparse mode should never switch to an SPT.
host1:2#show ipv6 pim spt-thresholdAccess List Name SptThreshold(in kbps)-------------------------------------------------------1 infinity