Step 4: Display Traffic from the Point of View of the Packet Forwarding Engine
Action
To display traffic from the point of view of the Packet Forwarding Engine, enter the following JUNOS CLI operational mode command:
user@host>show pfe statistics trafficSample Output 1
The following sample output was taken before packets were sent:
user@R2>show pfe statistics trafficPFE Traffic statistics:635392 packets input (0 packets/sec)829862 packets output (0 packets/sec)PFE Local Traffic statistics:579278 local packets input773747 local packets output0 software input high drops0 software input medium drops0 software input low drops1 software output drops0 hardware input dropsPFE Local Protocol statistics:0 hdlc keepalives0 atm oam0 fr lmi254613 ppp lcp/ncp0 ospf hello0 rsvp hello107203 isis iihPFE Hardware Discard statistics:0 timeout0 truncated key0 bits to test0 data error0 stack underflow0 stack overflow0 normal discard0 extended discard0 invalid iif0 info cell drops0 fabric dropsSample Output 2
The following sample output was taken after 100 packets were sent to router
R2:user@R2>show pfe statistics trafficPFE Traffic statistics:635595 packets input (2 packets/sec)829990 packets output (2 packets/sec)PFE Local Traffic statistics:579373 local packets input773869 local packets output0 software input high drops0 software input medium drops0 software input low drops1 software output drops0 hardware input dropsPFE Local Protocol statistics:0 hdlc keepalives0 atm oam0 fr lmi254655 ppp lcp/ncp0 ospf hello0 rsvp hello107220 isis iihPFE Hardware Discard statistics:0 timeout0 truncated key0 bits to test0 data error0 stack underflow0 stack overflow100 normal discard0 extended discard0 invalid iif0 info cell drops0 fabric dropsWhat It Means
The sample output shows the number and rate of packets entering and leaving the Packet Forwarding Engine. For example, the 100 packets sent to
R2were discarded due to a route that had a discard next hop configured, as shown in thePFE Hardware Discard statisticsfield. All counters increased as a result of the 100 packets.