show pfe data
Syntax
show pfe data
<”usp flow config”>
<”usp flow stats”>
Description
Displays the Packet Forwarding Engine data. The Packet Forwarding Engine is the central processing element of the forwarding plane, systematically moving the packets in and out of the device. In Junos OS, the Packet Forwarding Engine has a locally stored forwarding table.
The forwarding table is a synchronized copy of all the information from the Route Engine that the forwarding plane needs to handle each packet, including outgoing interfaces, addresses, and so on. Storing a local copy of this information allows the Packet Forwarding Engine to get its job done without going to the control plane every time that it needs to process a packet.
The locally stored forwarding table allows the Packet Forwarding Engine to continue forwarding packets, even when a disruption occurs to the control plane, such as when a routing or other process issue happens.
Options
”usp flow config” | Displays current flow configuration in logical system root-logical-system. |
”usp flow stats” | Displays current flow statistics. |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show pfe data
command.
Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
Information about flow main parameters:
|
|
Information about aging parameters:
|
|
Information about TCP MSS Parameters:
|
|
Information about TCP Session Parameters:
|
|
Information about flow traceoptions:
|
|
Information about flow modes:
|
|
Information about the flow action flag. |
|
|
|
Accelerate the IPSec traffic performance. Displays whether IPSec performance acceleration is enabled or disabled. |
|
Information about packet ordering:
|
|
Information about hash bucket size:
|
|
Information about the ager ring statistics:
|
|
Information about session scan statistics:
|
|
Information about flow session statistics:
|
|
Information about the flow table statistics:
|
Sample Output
show pfe data "usp flow config"
user@host> show pfe data "usp flow config" ================ tnp_0x10000080 ================ Current FLOW configuration in logical system root-logical-system: =========================== Flow main Parameters:: allow-dns-reply: disabled (default), allow-embedded-icmp: disabled (default), mcast-buffer-enhance: disabled (default), allow-reverse-ecmp: disabled (default), Reordering-mixed-traffic enabled (default), Route-change-timeout: 6 (default), Pending-sess-queue-length: 5 (default), Syn-flood-protection tcp-syn-cookie (default), Syn-flood-dynamic-whitelist-time 300, no-inter-node-forwarding: disabled (default), no-inter-node-forwarding-ipv6: disabled, enable-reroute-nat-check: disabled (default), force_ip_reassembly: disabled (default), sync_icmp_session: disabled (default), log dropped-icmp-packet: disabled (default), log dropped-illegal-packet: disabled (default), preserve incoming frag size : disabled log-extension : disabled (default) advanced options drop_match_reserved_ip_address: disabled (default), advanced options drop_link_local_address: disabled (default), advanced options reverse route packet mode vr option: disabled (default), advanced options close icmp session immediately: disabled (default), load-distribution session-affinity ipsec: disabled (default), Aging Parameters:: early-ageout: 20 (default), low-watermark: 100 (default), high-watermark: 100 (default), TCP MSS Parameters:: all-tcp-mss: disabled (default), ipsec-vpn-tcp-mss: disabled (default), gre-in-tcp-mss: disabled (default), gre-out-tcp-mss: disabled (default), TCP Session Parameters:: rst-invalid-session: disabled (default) fin-invalid-session: disabled (default) rst-check-sequence: disabled (default) syn-check: enabled (default) syn-check-in-tunnel: enabled (default) sequence-check: enabled (default) strict-syn-check: disabled (default) tcp-initial-timeout: 0x14 (default) maximum-scale-window: 0x3ebc0 (default) time-wait-state-session-timeout: 150 (default) Flow traceoptions: trace flags: 0x0 trace level: 0x0 trace present: 0 trace dst id: 0 trace module buffer: 0 FLow Modes: Flow mode for inet: Running mode: FLOW_MODE_FLOW_BASED Config mode: FLOW_MODE_FLOW_BASED Flow mode for inet6: Running mode: FLOW_MODE_FLOW_BASED Config mode: FLOW_MODE_FLOW_BASED IPv6 security knob: enabled Flow mode for mpls: Running mode: FLOW_MODE_DROP Config mode: FLOW_MODE_DROP Flow mode for iso: Running mode: FLOW_MODE_DROP Config mode: FLOW_MODE_DROP Flow action flag: 0x700080 Session distribution: Config mode: RR-based Running mode: RR-based GTP-U distribution: disabled Ipsec performance acceleration: disabled Packet ordering: Config mode: Hardware Running mode: Hardware Hash Bucket Size: Ipv4: 65536 Ipv6: 65536 Flow packet log enable: 0 Flow packet log index: 20 Flow packet log throttle-interval: 1024 Flow tap mode: disabled(default)
Sample Output
show pfe data "usp flow stats"
user@host> show pfe data "usp flow stats" ================ tnp_0x10000080 ================ Ager Ring Statistics IPv4 and IPv6 Common Ager Ring: (Batching Disabled) current tick 24929 insert 53082 update 10618908 callback invoked 53082 remove 0 update skipped 0 max watchdog time 5000 timeout value larger 0 ager update 0 Session Scan stats Requests recvd 0 Requests Processing Done 0 Request Done Time 0 Skip session scan 0 Total sessions scanned 0 Batched (active sess limit) 0 Pending Que added 0 Pending Que add fail 0 Response Done 0 Response Failed 0 Response Done Time 0 Scan Handler Invoked 0 PendQ Handler Invoked 0 Session scan running time 40 Session scan handler yield 0 Scan post even failed 0 Flow Session Statistics Current flows 0 IPv4 flow alloc 26541 IPv4 flow free 26541 IPv4 flow alloc failure 0 IPv4 flow route skip 0 IPv4 flow fast reroute 0 IPv4 flow tunnel route skip 0 ager phase1 26541 ager phase2 26541 cp sess del rexmitted 0 Flow Table Statistics flow add 0 flow remove 0 flow find 114370163 Ager Ring Statistics IPv4 and IPv6 Common Ager Ring: (Batching Disabled) current tick 24929 insert 53082 update 10618908 callback invoked 53082 remove 0 update skipped 0 max watchdog time 5000 timeout value larger 0 ager update 0 Flow Session Statistics Current flows 0 IPv6 flow alloc 0 IPv6 flow free 0 IPv6 flow alloc failure 0 IPv6 flow route skip 0 IPv6 flow fast reroute 0 IPv6 flow tunnel route skip 0 ager phase1 0 ager phase2 0 cp sess del rexmitted 0 Flow Table Statistics flow add 0 flow remove 0 flow find 0
Release Information
Command introduced in Junos OS Release 18.2R3-S3.
Starting in Junos OS Release 18.2R3-S3, 19.1R3, 19.2R3, 19.3R3,
19.4R2, 20.1R2, you can now view the Packet Forwarding Engine data
using the usp flow config
and usp flow stats
options for the show pfe data
command.