Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show pfe statistics traffic

 

List of Syntax

Syntax

Syntax (EX Series Switches)

Syntax (TX Matrix and TX Matrix Plus Router)

Syntax (MX Series Routers)

Syntax (PTX Series Routers)

Syntax

Syntax (EX Series Switches)

Syntax (TX Matrix and TX Matrix Plus Router)

Syntax (MX Series Routers)

Syntax (PTX Series Routers)

Release Information

Command introduced before Junos OS Release 7.4.

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

Description

Display Packet Forwarding Engine traffic statistics.

Note

If a PTX Series Packet Transport Router deployed as provider edge (PE) router or a QFX10000 switch is configured for ultimate-hop popping, the packets undergo label de-encapsulation before they are forwarded to the destination. As a result, the output of the show pfe statistics traffic command shows extra packets. Because the packets undergoing UHP need to be looped, the output of the show pfe statistics traffic command shows extra packets.

Also, packet replication and multicast lookups while forwarding multicast traffic can cause packets to recirculate through PFEs multiple times. As a result, displayed values for packet counts from the show pfe statistics traffic command might also show higher numbers than expected for Input packets and Output packets fields when multicast traffic is present. When Multicast-only Fast Reroute (MoFRR) is enabled, this behavior might be even more noticeable because MoFRR maintains primary and backup multicast streams. (See Understanding Multicast-Only Fast Reroute or Understanding Multicast-Only Fast Reroute on Switches for details on MoFRR.)

Options

noneDisplay statistics about PFE traffic. On the TX Matrix router, display statistics about PFE traffic for all its attached T640 routers. On the TX Matrix Plus router, display statistics about PFE traffic for all its attached routers
detail(MX Series routers only) (Optional) Display detailed statistics at the PFE level.
fpc slot(T Series,M320 routers, MX Series routers, and PTX Series 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. Otherwise, replace slot with a value from 0 through 31.

  • 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

  • On a TX Matrix Plus router in the TXP-T1600-3D, TXP-T4000-3D, or TXP-Mixed-LCC-3D configuration, if you specify the number of a T1600 or T4000 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 63.

For example, the following commands have the same result:

pfe number(PTX Series and MX Series routers only) (Optional) On a router, display statistics for a specific packet forwarding engine.
lcc number(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display statistics for a specific T640 router (or line-card chassis) that is connected to the TX Matrix router. On a TX Matrix Plus router, display statistics for a specific router (or line-card chassis) that is connected to the TX Matrix Plus router.

Replace number with the following values depending on the LCC configuration:

  • 0 through 3, when T640 routers are connected to a TX Matrix router in a routing matrix.

  • 0 through 3, when T1600 routers are connected to a TX Matrix Plus router in a routing matrix.

  • 0 through 7, when T1600 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

  • 0, 2, 4, or 6, when T4000 routers are connected to a TX Matrix Plus router with 3D SIBs in a routing matrix.

voq <fpc slot>(EX8200 switches and EX8200 Virtual Chassis only) (Optional) Display statistics for virtual output queue (VOQ) drops for all FPC slots or for a particular FPC slot. See EX8208 Switch Hardware and CLI Terminology Mapping or EX8216 Switch Hardware and CLI Terminology Mapping.

Required Privilege Level

admin

List of Sample Output

show pfe statistics traffic

show pfe statistics traffic detail

show pfe statistics traffic (QFX Series)

show pfe statistics traffic (PTX Series)

show pfe statistics traffic (EX9200 Switch)

show pfe statistics traffic voq (EX8200 Switch)

show pfe statistics traffic voq (EX8200 Virtual Chassis)

show pfe statistics traffic voq fpc 2 (EX8200 Switch and EX8200 Virtual Chassis)

Output Fields

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

Table 1: show pfe statistics traffic Output Fields

Field Name

Field Description

Packet Forwarding Engine Details

Information about individual Packet Forwarding Engine.

Packet Forwarding Engine Traffic statistics

Information about Packet Forwarding Engine traffic:

  • Input Packets—Number and rate of incoming packets.

  • Output Packets—Number and rate of outgoing packets.

  • Fabric Input packets—(MX Series routers only) Number and rate of incoming fabric packets.

  • Fabric Output packets—(MX Series routers only) Number and rate of outgoing fabric packets.

Packet Forwarding Engine Local Traffic statistics

Information about Packet Forwarding Engine local traffic:

  • Local packets input—Number of incoming packets from the local network.

  • Local packets output—Number of outgoing packets dispatched to a host in the local network.

  • Software input high drops—Number of incoming software packets of high-priority, dropped during transmission.

  • Software input medium drops—Number of incoming software packets of medium-priority, dropped during transmission.

  • Software input low drops—Number of incoming software packets of low-priority, dropped during transmission.

  • Software output drops—Number of outgoing software packets that were dropped during transmission.

  • Hardware input drops—Number of incoming hardware packets that were dropped during transmission.

Packet Forwarding Engine Local Protocol statistics

Information about the Packet Forwarding Engine Local Protocol:

  • HDLC keepalives—Number of HDLC keepalive packets.

  • ATM OAM—Number of Asynchronous Transfer Mode (ATM) Operation, Administration, and Maintenance (OAM) packets.

  • Frame Relay LMI—Number of Frame Relay Local Management Interface (LMI) packets.

  • PPP LCP/NCP—Number of Point-to-Point Protocol (PPP) Link Control Protocol (LCP) or Network Control Protocol (NCP) packets.

  • OSPF hello—Number of Open Shortest Path First (OSPF) hello packets.

  • OSPF3 hello—Number of Open Shortest Path First version 3 (OSPFv3) hello packets.

  • RSVP hello—Number of Reservation Setup Protocol (RSVP) hello packets.

  • LDP hello—Number of Label Distribution Protocol (LDP) hello packets.

  • BFD—Number of Bidirectional Forwarding Detection Protocol (BFD) hello packets.

  • IS-IS IIH—Number of Intermediate System-to-Intermediate System Hello (IIH) packets.

  • LACP—Number of Link Aggregation Control Protocol (LACP) packets.

  • ARP—Number of Address Resolution Protocol (ARP) packets.

  • ETHER OAM—Number of Ethernet OAM packets.

  • Unknown—Number of unknown packets not matching any of the packet types listed above.

Packet Forwarding Engine Hardware Discard statistics

Information about Packet Forwarding Engine hardware discards:

  • Timeout—Number of packets discarded because of timeouts.

  • Truncated key—Number of packets discarded because of truncated keys.

  • Bits to test—Number of bits to test.

  • Data error—Number of packets discarded because of data errors.

  • TCP header length error—Number of packets discarded because of an illegal TCP header length.

    Note: The TCP header length error field is only supported by QFX 10000 switches and PTX Series routers.

  • Stack underflow—Number of packets discarded because of stack underflows.

  • Stack overflow—Number of packets discarded because of stack overflows.

  • Normal discard—Number of packets discarded because of discard routes. Packets are dropped silently without being further processed by the host. Normal discards are reported when packets match a firewall filter term that has an action of discard or when the final result of the route look-up is a next hop of discard.

  • Extended discard—Number of packets discarded because of illegal next hops. Packets are dropped silently but are also sent to the Routing Engine for further processing. Extended discards are reported when packets match a firewall filter term that has an action of discard and an additional action that requires Routing Engine processing, such as log, count, sample, or syslog.

  • Invalid interface—Number of packets discarded because of invalid incoming interfaces.

  • Info cell drops—Number of information cell drops.

  • Fabric drops—Number of fabric drops.

VOQ unit

(EX8200 Switch and EX8200 Virtual Chassis) Information about VOQ. A Packet Forwarding Engine supports two VOQ counter sets.

Tail drops

(EX8200 Switch and EX8200 Virtual Chassis) Number of descriptors or buffers dropped by the VOQ to avoid tail-drop congestion.

Drops due to ECC error

(EX8200 Switch and EX8200 Virtual Chassis) Number of descriptors or buffers dropped by the VOQ because of error correction code (ECC) failure.

Drops due to device disabled

(EX8200 Switch and EX8200 Virtual Chassis) Number of descriptors or buffers dropped by the VOQ because of device-enabled filtering.

Packet forwarding engine traffic statistics

For every CPU PIC, a PC interface is created which is a PIC peer interface. The PC interface is used to fetch the boot string from the routing engine while the PIC boot up in an idle situation is used to send keep alive or health idle situation status which is treated as control traffic.

Sample Output

show pfe statistics traffic

user@host> show pfe statistics traffic

show pfe statistics traffic detail

user@host> show pfe statistics traffic detail fpc 4 pfe 0

show pfe statistics traffic (QFX Series)

user@switch> show pfe statistics traffic

show pfe statistics traffic (PTX Series)

In the example below, packets that are received from the core links at the rate of 77929 pps are forwarded to another FPC which is hosting CE facing links. Of these packets, 40007 pps that need to undergo UHP are looped back for label de-capsulation. Both input and output packet counters and pps counters get skewed because of this.

user@switch> show pfe statistics traffic fpc 12

show pfe statistics traffic (EX9200 Switch)

user@switch> show pfe statistics traffic

show pfe statistics traffic voq (EX8200 Switch)

user@switch> show pfe statistics traffic voq

show pfe statistics traffic voq (EX8200 Virtual Chassis)

user@switch> show pfe statistics traffic voq

show pfe statistics traffic voq fpc 2 (EX8200 Switch and EX8200 Virtual Chassis)

user@switch> show pfe statistics traffic voq fpc 2