- clear pim statistics
- <inet | inet6>
- <instance instance-name>
- <interface interface-name>
- <logical-system (all | logical-system-name)>
Command introduced before JUNOS Release 7.4.
Clear Protocol Independent Multicast (PIM) statistics.
none — Clear PIM statistics for all family addresses, instances, and interfaces on all logical systems.
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.
The clear pim statistics command cannot be used to clear the PIM statistics on a backup Routing Engine when nonstop active routing is enabled.
clear
See show pim statistics for an explanation of output fields.
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 ...