Supported Platforms
clear pim statistics
Syntax
Syntax (EX Series Switch and the QFX Series)
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
inet6 and instance options introduced in Junos OS Release 10.0 for EX Series switches.
Command introduced in Junos OS Release 11.3 for the QFX Series.
Description
Clear Protocol Independent Multicast (PIM) statistics.
Options
none | — | Clear PIM statistics for all family addresses, instances, and interfaces. |
inet | inet6 | — | (Optional) Clear PIM statistics for IPv4 or IPv6 family addresses, respectively. |
instance instance-name | — | (Optional) Clear statistics for a specific PIM-enabled routing instance. |
interface interface-name | — | (Optional) Clear PIM statistics for a specific interface. |
logical-system (all | logical-system-name) | — | (Optional) Perform this operation on all logical systems or on a particular logical system. |
Additional Information
The clear pim statistics command cannot be used to clear the PIM statistics on a backup Routing Engine when nonstop active routing is enabled.
Required Privilege Level
clear
List of Sample Output
clear pim statisticsOutput Fields
See show pim statistics for an explanation of output fields.
Sample Output
clear pim statistics
The following sample output displays PIM statistics before and after the clear pim statistics command is entered:
user@host> show pim statistics
PIM statistics on all interfaces: PIM Message type Received Sent Rx errors Hello 0 0 0 Register 0 0 0 Register Stop 0 0 0 Join Prune 0 0 0 Bootstrap 0 0 0 Assert 0 0 0 Graft 0 0 0 Graft Ack 0 0 0 Candidate RP 0 0 0 V1 Query 2111 4222 0 V1 Register 0 0 0 V1 Register Stop 0 0 0 V1 Join Prune 14200 13115 0 V1 RP Reachability 0 0 0 V1 Assert 0 0 0 V1 Graft 0 0 0 V1 Graft Ack 0 0 0 PIM statistics summary for all interfaces: Unknown type 0 V1 Unknown type 0 Unknown Version 0 Neighbor unknown 0 Bad Length 0 Bad Checksum 0 Bad Receive If 0 Rx Intf disabled 2007 Rx V1 Require V2 0 Rx Register not RP 0 RP Filtered Source 0 Unknown Reg Stop 0 Rx Join/Prune no state 1040 Rx Graft/Graft Ack no state 0 ...
user@host> clear pim statistics
user@host> show pim statistics
PIM statistics on all interfaces: PIM Message type Received Sent Rx errors Hello 0 0 0 Register 0 0 0 Register Stop 0 0 0 Join Prune 0 0 0 Bootstrap 0 0 0 Assert 0 0 0 Graft 0 0 0 Graft Ack 0 0 0 Candidate RP 0 0 0 V1 Query 1 0 0 V1 Register 0 0 0 ...