Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show pfe route

Syntax

Syntax (EX Series Switches)

Syntax (QFX Series)

Syntax (MX Series, PTX10001-36MR, PTX10004, PTX10008, PTX10016 Devices)

Syntax (TX Matrix and TX Matrix Plus Routers)

Description

Display the routes in the Packet Forwarding Engine forwarding table. The Packet Forwarding Engine forwards packets between input and output interfaces.

Note:

The Routing Engine maintains a master copy of the forwarding table. It copies the forwarding table to the Packet Forwarding Engine, which is the part of the router or switch responsible for forwarding packets. To display the routes in the Routing Engine forwarding table, use the show route forwarding table command. For more information, see the CLI Explorer.

Options

none

Display all Packet Forwarding Engine forwarding table information.

clnp

(Optional) Show International Standards Organization (ISO) connectionless-mode network protocol (CLNP) route table information.

dhcp

(Optional) Display Packet Forwarding Engine DHCP-Snooping route table information.

fpc slot

(TX Matrix and TX Matrix Plus routers only) (Optional) Show the next hops 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:

host

(QFX standalone switches, pure mode QFX5100-only VCF and VC, and pure mode QFX3500-only VC) (Optional) Display host routes installed in the on-chip hardware table.

hw

(QFX standalone switches, pure mode QFX5100-only VCF and VC, and pure mode QFX3500-only VC) (Optional) Display routes installed in the on-chip hardware table (as opposed to displaying routes from the routing table and the PFE forwarding table before they are installed in the hardware).

index index

(Optional) Display table index.

inet6

(Optional) Display Packet Forwarding Engine IPv6 routes.

ip

(Optional) Display Packet Forwarding Engine IPv4 routes.

iso

(Optional) Display ISO version routing tables.

lcc number

(TX Matrix and TX Matrix Plus routers only) (Optional) On a TX Matrix router, the slot number of the T640 router (or line-card chassis) that houses the FPC. On a TX Matrix Plus router, the slot number of the router (line-card chassis) that houses the FPC.

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.

lpm

(QFX standalone switches, pure mode QFX5100-only VCF and VC, and pure mode QFX3500-only VC) (Optional) Display longest prefix match (LPM) routes installed in the on-chip hardware table.

mpls

(Optional) Display Packet Forwarding Engine MPLS information.

multicast

(QFX standalone switches, pure mode QFX5100-only VCF and VC, and pure mode QFX3500-only VC) (Optional) Display multicast routes installed in the on-chip hardware table.

prefix prefix

(Optional) IPv4 or IPv6 prefix for which to show table entries.

summary

(Optional) Display summary of Packet Forwarding Engine information. Additionally, displays total number of errors per route table per FPC slot on PTX series devices (PTX10001-36MR, PTX10004, PTX10008, PTX10016).

table <table-name>

(Optional) Display table information.

Required Privilege Level

admin

Output Fields

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

Table 1: show pfe route Output Fields

Field Name

Field Description

Destination

Destination address for the entry.

NH IP Addr

Next-hop IP address for the entry.

Type

Next-hop type for the entry

NH ID

Next-hop ID for the entry

Encap

Encapsulation type for the next-hop entry.

Interface

Interface to which the next-hop entry is assigned.

Table 2 lists the output fields for the QFX Series show pfe route hardware table (hw) commands. Output fields are listed in the approximate order in which they appear.

Table 2: QFX Series, EX4600 switches, and OCX Series show pfe route Hardware Table Output Fields

Field Name

Field Description

Max

Maximum routing entries per route type.

Used

Number of routing entries consumed per route type.

Free

Number of unused routing entries per route type.

% Free

Percentage of unused routing entries per route type.

Rtt

Internal routing engine index number of the route table.

VRF

Internal hardware index number for the corresponding route table.

Destination

Destination address for the entry.

Type

(show pfe route summary hw)—Route type for the entry: IPv4 or IPv6 route, and host, LPM, or multicast route.

(show pfe route (ip | inet6) hw)—Next-hop type for the entry.

NH ID

Next-hop ID for the entry

Interface

Interface to which the next-hop entry is assigned.

HW NH-ID

Internal hardware index number of the next-hop.

Src-MAC-Address

Source MAC address.

Port

Port number.

Dst-MAC-Address

Destination MAC address.

VLAN

ID of the multicast group VLAN.

GROUP

Internal hardware index number of the multicast group next-hop.

CLASS

Internal class number of the multicast group.

Sample Output

show pfe route ip

show pfe route iso

show pfe route lcc summary (TX Matrix Router)

show pfe route lcc summary (TX Matrix Plus Router)

show pfe route summary (MX Series Router)

show pfe route summary hw (QFX Series, EX4600 Switches, OCX Series)

show pfe route ip hw host (QFX Series)

show pfe route summary (PTX10001-36MR, PTX10004, PTX10008, PTX10016 Devices)

Release Information

Command introduced before Junos OS Release 7.4.

Command option hw introduced in Junos OS Release 14.1X53-D10 for the QFX Series.

Command support introduced in Junos OS Evolved Release 22.4R1 for the PTX Series.