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 interfaces routing

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show interfaces routing 
<brief | summary | detail> 
<interface-name> 
<logical-system (all | logical-system-name)>

Description

Display the state of the router's interfaces. Use this command for performing router diagnostics only, when you are determining whether the routing protocols and the Junos OS differ about the state of an interface.

Options

none

Display standard information about the state of all router interfaces on all logical systems.

brief | summary | detail

(Optional) Display the specified level of output.

interface-name

(Optional) Name of a specific interface.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

Additional Information

For information about related operational mode commands for routing instances and protocols, see the CLI Explorer.

Required Privilege Level

view

Output Fields

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

Table 1: show interfaces routing Output Fields

Field Name

Field Description

Level of Output

Interface

Name of the physical interface.

none brief

State

State of the physical interface: Up or Down.

none brief

Addresses

Protocols and addresses configured on the interface.

none brief

Index

Interface index number, which reflects its initialization sequence.

detail

Refcount

Number of references to the interface in the routing software.

detail

State

State (Up or Down) and type of interface.

detail

Change

Reflects one or more of the following recent changes to the interface:

  • Add—The interface was just added.

  • Address—The interface's link-layer address has changed.

  • Delete—The interface is being deleted.

  • Encapsulation—The type of encapsulation on the interface has changed.

  • Metric—The interface's metric value has changed.

  • MTU—The interface's maximim transmission unit size has changed.

  • UpDown—The interface has made an up or down transition.

detail

Up/down transitions

Number of times the interface has gone from Down to Up.

detail

Link layer

Describes the link layer of the interface.

detail

Encapsulation

Encapsulation on the interface.

detail

Bandwidth

Speed at which the interface is running.

detail

Protocol address

Information about the configuration of protocols on the interface:

  • Address—Address configured on the interface for the protocol type.

  • State—State (Up or down) and type of interface.

  • Change—Reflects one or more of the following recent changes to the interface:

    • Add—The interface was just added.

    • Address—The interface's address has changed.

    • Broadcast—The interface's broadcast address has changed.

    • Delete—The interface is being deleted.

    • Netmask—The interface's netmask has changed.

    • UpDown—The interface has made an up or down transition.

  • Preference—Preference value for the route for this address.

  • Metric—Metric value on the interface for the protocol type.

  • MTU—Maximim transmission unit value of the interface.

  • Local address—On a point-to-point link, the address of the local side of the link. Not used for multicast links.

  • Destination—For a point-to-point link, the address of the remote side of the link. For multicast links, the network address.

detail

Sample Output

show interfaces routing brief

content_copy zoom_out_map
user@host> show interfaces routing brief 
Interface        State Addresses
so-5/0/3.0       Down  ISO   enabled
so-5/0/2.0       Up    MPLS  enabled
                       ISO   enabled
                       INET  192.168.2.120
                       INET  enabled
so-5/0/1.0       Up    MPLS  enabled
                       ISO   enabled
                       INET  192.168.2.130
                       INET  enabled
at-1/0/0.3       Up    CCC   enabled
at-1/0/0.2       Up    CCC   enabled
at-1/0/0.0       Up    ISO   enabled
                       INET  192.168.90.10
                       INET  enabled
lo0.0            Up    ISO   47.0005.80ff.f800.0000.0108.0001.1921.6800.5061.00
                       ISO   enabled
                       INET  127.0.0.1
fxp1.0           Up
fxp0.0           Up    INET  192.168.6.90

show interfaces routing brief (TX Matrix Plus Router)

content_copy zoom_out_map
user@host> show interfaces routing brief 
Interface        State Addresses
...
ge-23/0/4.0      Up    INET  203.0.113.91
                       ISO   enabled
                       MPLS  enabled
ge-23/0/3.0      Up    INET  203.0.113.81
                       ISO   enabled
                       MPLS  enabled
ge-23/0/2.0      Up    INET  203.0.113.71
                       ISO   enabled
                       MPLS  enabled
ge-23/0/1.0      Up    INET  203.0.113.61
                       ISO   enabled
                       MPLS  enabled
ge-23/0/0.0      Up    INET  203.0.113.51
                       ISO   enabled
                       MPLS  enabled
ge-31/0/7.599    Up    INET  192.0.2.93
ge-31/0/7.598    Up    INET  192.0.2.89
ge-31/0/7.597    Up    INET  192.0.2.85
ge-31/0/7.596    Up    INET  192.0.2.81
ge-31/0/7.595    Up    INET  192.0.2.77
ge-31/0/7.594    Up    INET  192.0.2.73
...
ixgbe1.0         Up    INET  203.0.113.34
                       INET  198.51.100.4
                       INET6 fe80::200:1ff:fe22:4
                       INET6 fec0::a:22:0:4
ixgbe0.0         Up    INET  203.0.113.34
                       INET  198.51.100
                       INET6 fe80::200:ff:fe22:4
                       INET6 fec0::a:22:0:4
em0.0            Up    INET  192.168.178.11

show interfaces routing detail

content_copy zoom_out_map
user@host> show interfaces routing detail 
so-5/0/3.0
  Index: 15, Refcount: 2, State: Up <Broadcast PointToPoint Multicast> Change:<>
  Metric: 0, Up/down transitions: 0, Full-duplex
  Link layer: HDLC serial line Encapsulation: PPP Bandwidth: 155Mbps
  ISO address (null)
    State: <Broadcast PointToPoint Multicast> Change: <>
    Preference: 0 (120 down), Metric: 0, MTU: 4470 bytes
so-5/0/2.0
  Index: 14, Refcount: 7, State: <Up Broadcast PointToPoint Multicast> Change:<>
  Metric: 0, Up/down transitions: 0, Full-duplex
  Link layer: HDLC serial line Encapsulation: PPP Bandwidth: 155Mbps
  MPLS address (null)
    State: <Up Broadcast PointToPoint Multicast> Change: <>
    Preference: 0 (120 down), Metric: 0, MTU: 4458 bytes
  ISO address (null)
    State: <Up Broadcast PointToPoint Multicast> Change: <>
    Preference: 0 (120 down), Metric: 0, MTU: 4470 bytes
  INET address 192.168.2.120
    State: <Up Broadcast PointToPoint Multicast Localup> Change: <>
    Preference: 0 (120 down), Metric: 0, MTU: 4470 bytes
    Local address: 192.168.2.120	
    Destination: 192.168.2.110/32
  INET address (null)
    State: <Up Broadcast PointToPoint Multicast> Change: <>
    Preference: 0 (120 down), Metric: 0, MTU: 4470 bytes
...

show interfaces routing detail (TX Matrix Plus Router)

content_copy zoom_out_map
user@host> show interfaces routing detail 
ge-23/0/4.0
  Index: 77, Refcount: 5, State: <Up Broadcast Multicast> Change: <>
  0 metric, 0 up/down transitions, reth state 0, full-duplex
  Link layer: Ethernet Encapsulation: Ethernet Bandwidth: 1000Mbps
  Link address #0 0.1d.b5.14.da.2d
  INET address 203.0.113.91
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <RT-Change>
    Preference 0, metric 0, MTU 1500 bytes
    Broadcast address 203.0.113.93
    Destination: 203.0.113.0/30
    System flags: <Is-Preferred Is-Primary>
  ISO address (null)
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1497 bytes
    System flags: <>
  MPLS address (null)
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1488 bytes
    System flags: <>
ge-23/0/3.0
  Index: 76, Refcount: 5, State: <Up Broadcast Multicast> Change: <>
  0 metric, 0 up/down transitions, reth state 0, full-duplex
  Link layer: Ethernet Encapsulation: Ethernet Bandwidth: 1000Mbps
  Link address #0 0.1d.b5.14.da.2c
  INET address 203.0.113.81
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <RT-Change>
    Preference 0, metric 0, MTU 1500 bytes
    Broadcast address 10.8.1.3
    Destination: 203.0.113.80/30
    System flags: <Is-Preferred Is-Primary>
  ISO address (null)
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1497 bytes
    System flags: <>
  MPLS address (null)
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1488 bytes
    System flags: <>
ge-23/0/2.0
  Index: 75, Refcount: 5, State: <Up Broadcast Multicast> Change: <>
  0 metric, 0 up/down transitions, reth state 0, full-duplex
  Link layer: Ethernet Encapsulation: Ethernet Bandwidth: 1000Mbps
  Link address #0 0.1d.b5.14.da.2b
  INET address 203.0.113.71
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <RT-Change>
    Preference 0, metric 0, MTU 1500 bytes
    Broadcast address 203.0.113.73
    Destination: 203.0.113.70/30
    System flags: <Is-Preferred Is-Primary>
  ISO address (null)
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1497 bytes
    System flags: <>
  MPLS address (null)
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1488 bytes
    System flags: <>
ge-23/0/1.0
  Index: 74, Refcount: 5, State: <Up Broadcast Multicast> Change: <>
  0 metric, 0 up/down transitions, reth state 0, full-duplex
  Link layer: Ethernet Encapsulation: Ethernet Bandwidth: 1000Mbps
  Link address #0 0.1d.b5.14.da.2a
  INET address 203.0.113.61
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <RT-Change>
    Preference 0, metric 0, MTU 1500 bytes
    Broadcast address 203.0.113.63
...
ixgbe1.0
  Index: 5, Refcount: 5, State: <Up Broadcast Multicast> Change: <>
  0 metric, 0 up/down transitions, reth state 0, full-duplex
  Link layer: Ethernet Encapsulation: Ethernet Bandwidth: 1000Mbps
  Link address #0 2.0.1.22.0.4
  INET address 203.0.113.34
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1500 bytes
    Broadcast address 203.0.113.255
    Destination: 203.0.113.0/8
    System flags: <Is-Preferred>
  INET address 198.51.100.4
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1500 bytes
    Broadcast address 191.255.255.255
    Destination: 192.0.2.0/2
    System flags: <Primary Is-Preferred Is-Primary>
  INET6 address fe80::200:1ff:fe22:4
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1500 bytes
    Destination: fe80::/64
    System flags: <Is-Preferred>
  INET6 address fec0::a:22:0:4
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1500 bytes
    Destination: fec0::/64
    System flags: <Is-Preferred Is-Primary>
ixgbe0.0            
  Index: 4, Refcount: 5, State: <Up Broadcast Multicast> Change: <>
  0 metric, 0 up/down transitions, reth state 0, full-duplex
  Link layer: Ethernet Encapsulation: Ethernet Bandwidth: 1000Mbps
  Link address #0 2.0.0.22.0.4
  INET address 203.0.113.34
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1500 bytes
    Broadcast address 203.0.113.255
    Destination: 203.0.113.0/8
    System flags: <Is-Preferred>
  INET address 198.51.100.4
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1500 bytes
    Broadcast address 191.255.255.255
    Destination: 192.0.2.0/2
    System flags: <Primary Is-Default Is-Preferred Is-Primary>
  INET6 address fe80::200:ff:fe22:4
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1500 bytes
    Destination: fe80::/64
    System flags: <Is-Preferred>
  INET6 address fec0::a:22:0:4
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1500 bytes
    Destination: fec0::/64
    System flags: <Is-Default Is-Preferred Is-Primary>
em0.0
  Index: 3, Refcount: 2, State: <Up Broadcast Multicast> Change: <>
  0 metric, 0 up/down transitions, reth state 0, full-duplex
  Link layer: Ethernet Encapsulation: Ethernet Bandwidth: 100Mbps
  Link address #0 0.80.f9.26.0.c0
  INET address 192.168.178.11
    State: <Up Broadcast Multicast Localup> Change: <> Flags: <>
    Preference 0, metric 0, MTU 1500 bytes
    Broadcast address 192.168.178.127
    Destination: 192.168.178.0/25
    System flags: <Is-Preferred Is-Primary>

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation