Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show pfe route

date_range 12-Dec-24

Syntax

content_copy zoom_out_map
show pfe route 
<<inet6 | ip | iso> <prefix prefix> | <table <table-name>   <index index> <prefix prefix>>>
<mpls> 
<summary>

Syntax (EX Series Switches)

content_copy zoom_out_map
show pfe route 
<<inet6 | ip> <prefix prefix> | <table <table-name>   <index index> <prefix prefix>>>
<mpls> 
<summary>

Syntax (QFX Series)

content_copy zoom_out_map
show pfe route 
<<inet6 | ip> <prefix prefix> | <table <table-name>   <index index> <prefix prefix>> <hw (host | lpm | multicast)>>
<<clnp> <prefix prefix> | <table <table-name>   <index index> <prefix prefix>>>
<mpls> 
<summary> <hw>

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

content_copy zoom_out_map
show pfe route 
<<inet6 | ip> <prefix prefix> | <table <table-name>   <index index> <prefix prefix>>>
<dhcp> 
<mpls> 
<summary>

Syntax (TX Matrix and TX Matrix Plus Routers)

content_copy zoom_out_map
show pfe route 
<fpc slot> 
<<inet6 | ip | iso> <prefix prefix> | <table <table-name>   <index index> <prefix prefix>>>
<lcc number>
<mpls> 
<summary>

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:

content_copy zoom_out_map
user@host> show pfe route fpc 1 lcc 1 
user@host> show pfe route fpc 9
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

content_copy zoom_out_map
user@host> show pfe route ip              

IPv4 Route Table 0, default.0, 0x0:
Destination                       NH IP Addr      Type     NH ID Interface
--------------------------------- --------------- -------- ----- ---------
default                                            Discard     8
127.0.0.1                         127.0.0.1          Local   256
172.16/12                         192.168.71.254   Unicast    68 fxp0.0
192.168.0/18                      192.168.71.254   Unicast    68 fxp0.0
192.168.40/22                     192.168.71.254   Unicast    68 fxp0.0
192.168.64/18                     192.168.71.254   Unicast    68 fxp0.0
192.168.64/21                                      Resolve    67 fxp0.0
192.168.71.249                    192.168.71.249     Local    66
192.168.220.0/30                                   Resolve   303 fe-0/0/0.0
192.168.220.0                     192.168.220.0    Receive   301 fe-0/0/0.0
224.0.0.1                                            Mcast     5
255.255.255.255                                      Bcast     6

...

show pfe route iso

content_copy zoom_out_map
user@host# show pfe route iso

CLNS Route Table 0, CLNP.0, 0x0:
Destination                              Type     NH ID Interface
---------------------------------------- -------- ----- ---------
default                                    Reject    60
47.0005.80ff.f800.0000.0108.0001.0102.5508.2159/152     Local   514
49.0001.00a0.c96b.c491/72                   Local   536

show pfe route lcc summary (TX Matrix Router)

content_copy zoom_out_map
user@host> show pfe route lcc 2 summary             

Slot 0

IPv4 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default           43        3081
1                  4         281

MPLS Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            1          68

IPV6 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            9         717
1                  5         389

Slot 1
                    

IPv4 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default           43        3081
1                  4         281

MPLS Route Tables:

Index         Routes     Size(b)
--------  ----------  ----------
Default            1          68

IPV6 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            9         717
1                  5         389

Slot 16

IPv4 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default           41        2938
1                  4         281

MPLS Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            1          68

IPV6 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            9         717
1                  5         389

Slot 17

IPv4 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default           41        2938
1                  4         281
                    

MPLS Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            1          68

IPV6 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            9         717
1                  5         389

show pfe route lcc summary (TX Matrix Plus Router)

content_copy zoom_out_map
user@host> show pfe route lcc 2 summary             

Slot 0


IPv4 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default           25        2266
1                  9         815
2                  6         545
3                  5         453
4                 15        1371
5                  5         453
6                 13        1187

MPLS Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            1          88
4                  5         452

IPv6 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            7         697
1                 13        1305
3                  4         385
4                  4         385
5                  4         385
6                 18        1833

Slot 6


IPv4 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default           25        2266
1                  9         815
2                  6         545
3                  5         453
4                 15        1371
5                  5         453
6                 13        1187

MPLS Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            1          88
4                  5         452

IPv6 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            7         697
1                 13        1305
3                  4         385
4                  4         385
5                  4         385
6                 18        1833
...

show pfe route summary (MX Series Router)

content_copy zoom_out_map
user@host> show pfe route summary            

Slot 0


DHCP-Snooping Route Tables: 
Index         Routes     Size(b) 
--------  ----------  ---------- 
Default            1         144 

IPv4 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default           25        2266
1                  9         815
2                  6         545
3                  5         453
4                 15        1371
5                  5         453
6                 13        1187

MPLS Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            1          88
4                  5         452

IPv6 Route Tables:
Index         Routes     Size(b)
--------  ----------  ----------
Default            7         697
1                 13        1305
3                  4         385
4                  4         385
5                  4         385
6                 18        1833

...

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

content_copy zoom_out_map
user@switch> show pfe route summary hw
Slot 0
Unit: 0
Profile active: l2-profile-three
Type            Max       Used      Free      % free
----------------------------------------------------
IPv4 Host       8192      103       8073      98.55
IPv4 LPM        16384     9         16369     99.91
IPv4 Mcast      4096      2         4037      98.56

IPv6 Host       4096      6         4037      98.56
IPv6 LPM(< 64)  8192      3         8185      99.91
IPv6 LPM(> 64)  256	      1	   255	      99.61
IPv6 Mcast      2048      0         2019      98.58

show pfe route ip hw host (QFX Series)

content_copy zoom_out_map
user@switch> show pfe route ip hw host
Slot 0
Unit: 0
IPv4 Host entries present: 103
Rtt  VRF  Destination                       Type     NH-ID     Interface                 HW NH-ID  Src-MAC-Address   Port Dst-MAC-Address
-------------------------------------------------------------------------------------------------------------------------------------------
4    3    255.255.255.255                   Bcast    1695      .local.    .4   ifl 550   100003    00:00:00:01:02:03 127  00:00:00:01:02:03
0    1    200.1.1.42                        Unicast  1743      et-0/1/1   .0   ifl 559   100268    84:18:88:de:96:fd 53   00:00:00:21:12:23
0    1    200.1.1.56                        Unicast  1743      et-0/1/1   .0   ifl 559   100268    84:18:88:de:96:fd 53   00:00:00:21:12:23
0    1    200.1.1.61                        Unicast  1743      et-0/1/1   .0   ifl 559   100268    84:18:88:de:96:fd 53   00:00:00:21:12:23
0    1    11.1.1.2                          Unicast  1743      et-0/1/1   .0   ifl 559   100268    84:18:88:de:96:fd 53   00:00:00:21:12:23
0    1    200.1.1.73                        Unicast  1743      et-0/1/1   .0   ifl 559   100268    84:18:88:de:96:fd 53   00:00:00:21:12:23
0    1    200.1.1.76                        Unicast  1743      et-0/1/1   .0   ifl 559   100268    84:18:88:de:96:fd 53   00:00:00:21:12:23
0    1    200.1.1.18                        Unicast  1743      et-0/1/1   .0   ifl 559   100268    84:18:88:de:96:fd 53   00:00:00:21:12:23
0    1    200.1.1.5                         Unicast  1743      et-0/1/1   .0   ifl 559   100268    84:18:88:de:96:fd 53   00:00:00:21:12:23
0    1    200.1.1.23                        Unicast  1743      et-0/1/1   .0   ifl 559   100268    84:18:88:de:96:fd 53   00:00:00:21:12:23
0    1    101.1.1.255                       Bcast    1664      ae0        .0   ifl 544   100003    00:00:00:01:02:03 127  00:00:00:01:02:03
0    1    200.1.1.40                        Unicast  1743      et-0/1/1   .0   ifl 559   100268    84:18:88:de:96:fd 53   00:00:00:21:12:23
0    1    200.1.1.58                        Unicast  1743      et-0/1/1   .0   ifl 559   100268    84:18:88:de:96:fd 53   00:00:00:21:12:23. . .
. . .

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

content_copy zoom_out_map
user@host> show pfe route summary
 
Slot 0
 
IPv4 Route Tables:
Index         Routes     Size(b)  Prefixes     Aggr     Installed   Comp(%)   Errors
--------  ----------  ----------  ---------  ---------  ----------  ------   --------
Default           25        2600        22          0          22      0         2
1                  0           0         0          0           0      0         0
50                 5         520         5          0           5      0         1
36738              5         520         5          0           5      0         1

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.

footer-navigation