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 route forwarding-table interface-name

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show route forwarding-table interface-name interface-name
<detail | extensive>
<all>

Description

Display the interfaces in the Routing Engine's forwarding table.

Options

none

Display information for the specified interface.

detail | extensive

(Optional) Display the specified level of output.

all

(Optional) Display all interfaces in the routing table.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show route forwarding-table interface-name command. Output fields are listed in the approximate order in which they appear.

Table 1: show route forwarding-table interface-name Output Fields

Field Name

Field Description

Level of Output

Name

Name of the interface (for example fe-0/1/1, lo0, ae0, and so on).

All levels

MTU

Interface’s maximum transmission unit (MTU).

All levels

Afam

Configured address family (for example inet, tnp, inet6, and so on).

detail extensive

Network

Network information:

  • <Link>—Physical interface, not a logical interface.

  • <PtoP>—Point-to-point network.

  • ipaddress—Network address.

All levels

Address

Address of the interface. The address can be a MAC address, IPv4 address, IPv6 address, and so on.

All levels

IPkts

Number of packets received on the interface.

All levels

Ierr

Number of packets received on the interface with errors.

All levels

Opkts

Number of packets transmitted or sent from the interface.

All levels

Oerr

Number of packets transmitted or sent from the interface with errors.

All levels

Coll

Number of packets that experienced collisions on the interface.

All levels

Sample Output

show route forwarding-table interface-name fe-0/1/1

content_copy zoom_out_map
user@host> show route forwarding-table interface-name fe-0/1/1
Name         Mtu Network      Address             Ipkts Ierr    Opkts Oerr  Coll
fe-0/1/1    1514 <Link>     00.05.85.88.cc.20         0    0        0    0     0

show route forwarding-table interface-name all

content_copy zoom_out_map
user@host> show route forwarding-table interface-name all
Name         Mtu Network      Address             Ipkts Ierr    Opkts Oerr  Coll
fxp0        1514 <Link>     00.a0.a5.56.03.83    180965    0    39907    0     0
 unit 0     1500 192.168.187.0/ 192.168.187.10
fxp1        1514 <Link>     02.00.00.00.00.04  33010497    0 30110800    0     0
 unit 0     1500 10.0.0.0/8     10.0.0.1
              10.0.0.0/8     10.0.0.4
              128.0.0.0/2    128.0.0.1
              128.0.0.0/2    128.0.0.4
            1500 fe80::/64      fe80::200:ff:fe0
              fec0::/64      fec0::a:0:0:4
            1500                4
lsi         1496 <Link>
dsc          max <Link>                               0    0        0    0     0
lo0          max <Link>                            8980    0     8980    0     0
 unit 0      max 127.0.0.1/8    127.0.0.1
              192.168.0.1/8  192.168.0.1
 unit 16384  max 127.0.0.1/8    127.0.0.1
 unit 16385  max
gre          max <Link>
ipip         max <Link>
tap          max <Link>
pime         max <Link>
pimd         max <Link>
mtun         max <Link>
so-0/0/0    4474 <Link>                         1679900    0  1068611    0     0
 unit 0     4470 <PtoP>         10.0.60.2               0    0        0    0     0
so-0/0/1    4474 <Link>                               0    0        0    0     0
 unit 0     4470 <PtoP>         10.0.80.2               0    0        0    0     0
so-0/0/2    4474 <Link>                               0    0        0    0     0
so-0/0/3    4474 <Link>                               0    0        0    0     0
fe-0/1/0    1514 <Link>     00.05.85.88.cc.1f    523120    0   623044    0     0
 unit 0     1500 10.0.90.12/30  10.0.90.14              0    0        0    0     0
fe-0/1/1    1514 <Link>     00.05.85.88.cc.20         0    0        0    0     0
fe-0/1/2    1514 <Link>     00.05.85.88.cc.21         0    0        0    0     0

...

show route forwarding-table interface-name all detail

content_copy zoom_out_map
user@host> show route forwarding-table interface-name all detail
Name         Mtu AFam    Network      Address             Ipkts Ierr    Opkts Oerr  Coll
fxp0        1514         <Link>     00.a0.a5.56.03.83    181005    0    39948    0     0
 unit 0     1500 inet    192.168.187.0/ 192.168.187.10
fxp1        1514         <Link>     02.00.00.00.00.04  33012676    0 30112468    0     0
 unit 0     1500 inet    10.0.0.0/8     10.0.0.1
                      10.0.0.0/8     10.0.0.4
                      128.0.0.0/2    128.0.0.1
                      128.0.0.0/2    128.0.0.4
            1500 inet6   fe80::/64      fe80::200:ff:fe0
                      fec0::/64      fec0::a:0:0:4
            1500 tnp                    4
lsi         1496         <Link>
dsc          max         <Link>                               0    0        0    0     0
lo0          max         <Link>                            8980    0     8980    0     0
 unit 0      max inet    127.0.0.1/8    127.0.0.1
                      192.168.0.1/8  192.168.0.1
 unit 16384  max inet    127.0.0.1/8    127.0.0.1
 unit 16385  max inet
gre          max         <Link>
ipip         max         <Link>
tap          max         <Link>
pime         max         <Link>
pimd         max         <Link>
mtun         max         <Link>
so-0/0/0    4474         <Link>                         1679980    0  1068661    0     0
 unit 0     4470 inet    <PtoP>         10.0.60.2               0    0        0    0     0

...

Release Information

Command introduced in Junos OS Release 9.6.

footer-navigation