show pfe route
Syntax
show pfe route <<inet6 | ip | iso> <prefix prefix> | <table <table-name> <index index> <prefix prefix>>> <mpls> <summary>
Syntax (EX Series Switches)
show pfe route <<inet6 | ip> <prefix prefix> | <table <table-name> <index index> <prefix prefix>>> <mpls> <summary>
Syntax (QFX Series)
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)
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)
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.
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.
For example, the following commands have the same result: 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:
|
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.
Field Name |
Field Description |
---|---|
|
Destination address for the entry. |
|
Next-hop IP address for the entry. |
|
Next-hop type for the entry |
|
Next-hop ID for the entry |
|
Encapsulation type for the next-hop entry. |
|
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.
Field Name |
Field Description |
---|---|
|
Maximum routing entries per route type. |
|
Number of routing entries consumed per route type. |
|
Number of unused routing entries per route type. |
|
Percentage of unused routing entries per route type. |
|
Internal routing engine index number of the route table. |
|
Internal hardware index number for the corresponding route table. |
|
Destination address for the entry. |
|
( ( |
|
Next-hop ID for the entry |
|
Interface to which the next-hop entry is assigned. |
|
Internal hardware index number of the next-hop. |
|
Source MAC address. |
|
Port number. |
|
Destination MAC address. |
|
ID of the multicast group VLAN. |
|
Internal hardware index number of the multicast group next-hop. |
|
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 ip
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
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)
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)
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)
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)
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)
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)
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.