Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show pfe statistics ip

Syntax

show pfe statistics ip <icmp | options>

Syntax (TX Matrix and TX Matrix Plus Router)

show pfe statistics ip <fpc slot> <icmp | options> <lcc number>

Release Information

Command introduced before Junos OS Release 7.4.

Command introduced in Junos OS Release 9.0 for EX Series switches.

Description

Display IPv4 Packet Forwarding Engine statistics.

Options

none

Display all IPv4 Packet Forward Engine statistics.

fpc slot

(TX Matrix and TX Matrix Plus routers only) (Optional) Display statistics for a Flexible PIC Concentrator (FPC) slot. On a TX Matrix router, if you specify the number of a T640 router by using the lcc number option (the recommended method), replace slot with a value from 0 through 7. On a TX Matrix Plus router, if you specify the number of a T1600 router by using the lcc number option (the recommended method), replace slot with a value from 0 through 7. Otherwise, replace slot with a value from 0 through 31. For example, the following commands have the same result:

user@host> show pfe statistics ip fpc 1 lcc 1 user@host> show pfe statistics ip fpc 9
icmp

(Optional) Display Packet Forwarding Engine IP ICMP statistics.

lcc number

(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display error statistics for a specific T640 router (or line-card chassis) that is connected to a TX Matrix router. On a TX Matrix Plus router, display error statistics for a specific T1600 router (or line-card chassis) that is connected to a TX Matrix Plus router. Replace number with a value from 0 through 3.

options

(Optional) Display Packet Forwarding Engine IP options statistics.

Note: On M and T series routers, firewall filters cannot count ip-options packets on a per option type and per interface basis. A limited work around for this limitation is to use this show pfe statistics ip options command.

Required Privilege Level

admin

List of Sample Output

show pfe statistics ip icmp
show pfe statistics ip options

Output Fields

Table 1 lists the output fields for the show pfe statistics ip command. Output fields are listed in the approximate order in which they appear.

Table 1: show pfe statistics ip Output Fields

Field Name

Field Description

ICMP Statistics

ICMP statistics, including the following:

  • requests—Number of ICMP notifications sent to the PFE. If a throttler is configured, the number of notifications might not reflect all requests made. (See the throttled icmps field description.)
  • network unreachables—When route lookups fail, ICMP packets are sent to the source. These packets are ICMP TypeDestination Unreachable (3) and ICMP Code=Network Unreachable (0).
  • ttl expired—Number of notifications processed as a result of time-to-live (TTL) expiration packets.
  • ttl captured—Number of TTL expired packets sent by PFE interfaces to the Routing Engine.
  • redirects—Number of ICMP errors sent with Type=Redirect (5).
  • mtu exceeded—Number of ICMP errors sent with Type=Source Quench (4).
  • icmp/option handoffs—Number of packets that the PFE hardware requests the PFE software to process.

ICMP errors

ICMP errors, including the following:

  • unknown unreachables—Unknown code (greater than 16) found for an unknown unreachable type ICMP error.
  • unsupported ICMP type—Any ICMP type other than UNREACH, REDIRECT, TIME_EXCEED, and PARAM_PROB.
  • unprocessed redirects—When trying to find the neighbor to send redirects to, the PFE could not find the next-hop information.
  • invalid ICMP type—Any ICMP type other than UNREACH, REDIRECT, TIME_EXCEED, and PARAM_PROB.
  • invalid protocol—An incorrect protocol was detected by the ICMP processor.
  • bad input interface if1—The PFE software cannot map the interface index supplied by the chips to a proper data structure in the microkernel.
  • throttled icmps—Number of requests dropped because of rate limiting by the PFE.
  • runts—Number of packets for which the IP header length is less than the minimum length that is supported.

ICMP Discards

ICMP discard statistics, including the following:

  • multicasts—ICMP packets are not sent for link-layer multicast packets. These are counted as invalid source addresses (not a unicast address or all zeros).
  • bad source addresses—ICMP packets were received from an invalid source address (not a unicast address or all zeros).
  • bad dest addresses—ICMP packets were sent to an invalid destination address (not a unicast address or all zeros).
  • IP fragments—ICMP responses are sent only for the first fragments. The rest do not receive a response. This is the count for ICMP requests that receive no response.
  • ICMP errors—Number of ICMP error packets.

Sample Output

show pfe statistics ip icmp

user@host> show pfe statistics ip icmp
ICMP Statistics:
           0 requests
           0 network unreachables
           0 ttl expired
           0 ttl captured
           0 redirects
           0 mtu exceeded
           0 icmp/option handoffs
ICMP Errors:
           0 unknown unreachables
           0 unsupported ICMP type
           0 unprocessed redirects
           0 invalid ICMP type
           0 invalid protocol
           0 bad input interface
           0 throttled icmps
           0 runts
ICMP Discards:
           0 multicasts
           0 bad source addresses
           0 bad dest addresses
           0 IP fragments
           0 ICMP errors 

show pfe statistics ip options

user@host> show pfe statistics ip options
IP Option Values:
  LSRR/SSRR forwarding enabled
IP Option Statistics:
           0 loose source routes
           0 strict source routes
           0 record routes
      889382 router alerts
           0 other options
IP Option Errors:
           0 runts
           2 bad versions
           0 runt header lengths
           0 giant header lengths
           0 null frames
           0 bad option lengths
           0 duplicate options
           0 bad option pointers
           0 source route frames dropped 
         188 frames queued
        1126 frames dropped

Published: 2013-07-12

Published: 2013-07-12