Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show interfaces irb

Syntax

show interfaces irb<brief | detail | extensive | terse> <descriptions> <media> <routing-instance instance-name> <snmp-index snmp-index> <statistics>

Release Information

Command introduced in Junos OS Release 12.3R2.

Command introduced in Junos OS Release 12.3R2 for EX Series switches.

Command introduced in Junos OS Release 13.2 for the QFX Series

Description

Display integrated routing and bridging interfaces information.

Options

brief | detail | extensive | terse

(Optional) Display the specified level of output.

descriptions

(Optional) Display interface description strings.

media

(Optional) Display media-specific information about network interfaces.

routing-instance instance-name

(Optional) Display information for the interface with the specified SNMP index.

snmp-index snmp-index

(Optional) Display information for the interface with the specified SNMP index.

statistics

(Optional) Display static interface statistics.

Additional Information

Integrated routing and bridging (IRB) provides simultaneous support for Layer 2 bridging and Layer 3 IP routing on the same interface. IRB enables you to route local packets to another routed interface or to another VLAN that has a Layer 3 protocol configured.

Required Privilege Level

view

List of Sample Output

show interfaces irb extensive
show interfaces irb snmp-index

Output Fields

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

Table 1: show interfaces irb Output Fields

Field Name

Field Description

Level of Output

Physical Interface 

Physical interface

Name of the physical interface.

All levels

Enabled

State of the physical interface. Possible values are described in the “Enabled Field” section under Common Output Fields Description.

All levels

Proto

Protocol configured on the interface.

terse

Interface index

Physical interface index number, which reflects its initialization sequence.

detail extensive none

SNMP ifIndex

SNMP index number for the physical interface.

detail extensive none

Type

Physical interface type.

detail extensive none

Link-level type

Encapsulation being used on the physical interface.

detail extensive brief none

MTU

MTU size on the physical interface.

detail extensive brief none

Clocking

Reference clock source: Internal or External. Always unspecified on IRB interfaces.

detail extensive brief

Speed

Speed at which the interface is running. Always unspecified on IRB interfaces.

detail extensive brief

Device flags

Information about the physical device. Possible values are described in the “Device Flags” section under Common Output Fields Description.

detail extensive brief none

Interface flags

Information about the interface. Possible values are described in the “Interface Flags” section under Common Output Fields Description.

detail extensive brief none

Link type

Physical interface link type: full duplex or half duplex.

detail extensive none

Link flags

Information about the link. Possible values are described in the “Links Flags” section under Common Output Fields Description.

detail extensive none

Physical Info

Physical interface information.

All levels

Hold-times

Current interface hold-time up and hold-time down, in milliseconds.

detail extensive

Current address

Configured MAC address.

detail extensive none

Hardware address

MAC address of the hardware.

detail extensive none

Alternate link address

Backup address of the link.

detail extensive

Last flapped

Date, time, and how long ago the interface went from down to up. The format is Last flapped: year-month-day hours:minutes:seconds timezone (hours:minutes:seconds ago). For example, Last flapped: 2002-04-26 10:52:40 PDT (04:33:20 ago).

detail extensive none

Statistics last cleared

Time when the statistics for the interface were last set to zero.

detail extensive

Traffic statistics

Number and rate of bytes and packets received and transmitted on the physical interface.

  • Input bytes—Number of bytes received on the interface.
  • Output bytes—Number of bytes transmitted on the interface.
  • Input packets—Number of packets received on the interface
  • Output packets—Number of packets transmitted on the interface.

detail extensive

IPv6 transit statistics

Number of IPv6 transit bytes and packets received and transmitted on the physical interface if IPv6 statistics tracking is enabled.

  • Input bytes—Number of bytes received on the interface.
  • Output bytes—Number of bytes transmitted on the interface.
  • Input packets—Number of packets received on the interface.
  • Output packets—Number of packets transmitted on the interface.

detail extensive

Input errors

Input errors on the interface. The following paragraphs explain the counters whose meaning might not be obvious:

  • Errors—Sum of the incoming frame aborts and FCS errors.
  • Drops—Number of packets dropped by the input queue of the I/O Manager ASIC. If the interface is saturated, this number increments once for every packet that is dropped by the ASIC's RED mechanism.
  • Framing errors—Number of packets received with an invalid frame checksum (FCS).
  • Runts—Number of frames received that are smaller than the runt threshold.
  • Giants—Number of frames received that are larger than the giant threshold.
  • Policed discards—Number of frames that the incoming packet match code discarded because they were not recognized or not of interest. Usually, this field reports protocols that the Junos OS does not handle.
  • Resource errors—Sum of transmit drops.

detail extensive

Output errors

Output errors on the interface. The following paragraphs explain the counters whose meaning might not be obvious:

  • Carrier transitions—Number of times the interface has gone from down to up. This number does not normally increment quickly, increasing only when the cable is unplugged, the far-end system is powered down and up, or another problem occurs. If the number of carrier transitions increments quickly (perhaps once every 10 seconds), the cable, the far-end system, or the DPC is malfunctioning.
  • Errors—Sum of the outgoing frame aborts and FCS errors.
  • Drops—Number of packets dropped by the output queue of the I/O Manager ASIC. If the interface is saturated, this number increments once for every packet that is dropped by the ASIC's RED mechanism.
  • MTU errors—Number of packets whose size exceeded the MTU of the interface.
  • Resource errors—Sum of transmit drops.

detail extensive

Logical Interface

Logical interface

Name of the logical interface.

All levels

Index

Index number of the logical interface (which reflects its initialization sequence).

detail extensive none

SNMP ifIndex

SNMP interface index number of the logical interface.

detail extensive none

Generation

Unique number for use by Juniper Networks technical support only.

detail extensive

Flags

Information about the logical interface. Possible values are described in the “Logical Interface Flags” section under Common Output Fields Description.

detail extensive

Encapsulation

Encapsulation on the logical interface.

detail extensive

Bandwidth

Speed at which the interface is running.

detail extensive

Routing Instance

Routing instance IRB is configured under.

detail extensive

Bridging Domain

Bridging domain IRB is participating in.

detail extensive

Traffic statistics

Number and rate of bytes and packets received and transmitted on the logical interface.

  • Input bytes—Number of bytes received on the interface.
  • Output bytes—Number of bytes transmitted on the interface.
  • Input packets—Number of packets received on the interface
  • Output packets—Number of packets transmitted on the interface.

detail extensive

IPv6 transit statistics

Number of IPv6 transit bytes and packets received and transmitted on the logical interface if IPv6 statistics tracking is enabled.

  • Input bytes—Number of bytes received on the interface.
  • Output bytes—Number of bytes transmitted on the interface.
  • Input packets—Number of packets received on the interface.
  • Output packets—Number of packets transmitted on the interface.

detail extensive

Local statistics

Statistics for traffic received from and transmitted to the Routing Engine.

detail extensive

Transit statistics

Statistics for traffic transiting the router.

detail extensive

Protocol

Protocol family configured on the local interface. Possible values are described in the “Protocol Field” section under Common Output Fields Description.

detail extensive

MTU

Maximum transmission unit size on the logical interface.

detail extensive

Maximum labels

Maximum number of MPLS labels configured for the MPLS protocol family on the logical interface.

detail extensive none

Generation

Unique number for use by Juniper Networks technical support only.

detail extensive

Route table

Routing table in which the logical interface address is located. For example, 0 refers to the routing table inet.0.

detail extensive

Addresses, Flags

Information about address flags. Possible values are described in the “Addresses Flags” section under Common Output Fields Description.

detail extensive

Policer

The policer that is to be evaluated when packets are received or transmitted on the interface.

detail extensive

Flags

Information about the logical interface. Possible values are described in the “Logical Interface Flags” section under Common Output Fields Description.

detail extensive

Sample Output

show interfaces irb extensive

user@host> show interfaces irb extensive
Physical interface: irb, Enabled, Physical link is Up
  Interface index: 129, SNMP ifIndex: 23, Generation: 130
  Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: Unspecified
  Device flags   : Present Running
  Interface flags: SNMP-Traps
  Link type      : Full-Duplex
  Link flags     : None
  Physical info  : Unspecified
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: 02:00:00:00:00:30, Hardware address: 02:00:00:00:00:30
  Alternate link address: Unspecified
  Last flapped   : Never
  Statistics last cleared: Never
  Traffic statistics:
   Input  bytes  :                    0
   Output bytes  :                    0
   Input  packets:                    0
   Output packets:                    0
   IPv6 transit statistics:
    Input  bytes  :                   0 
    Output bytes  :                   0
    Input  packets:                   0
    Output packets:                   0
  Input errors:
    Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Giants: 0, Policed discards: 0, Resource errors: 0
  Output errors:
    Carrier transitions: 0, Errors: 0, Drops: 0, MTU errors: 0, Resource errors: 0

  Logical interface irb.0 (Index 68) (SNMP ifIndex 70) (Generation 143)
    Flags: Hardware-Down SNMP-Traps 0x4000 Encapsulation: ENET2
    Bandwidth: 1000mbps
    Routing Instance: customer_0 Bridging Domain: bd0
    Traffic statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
     IPv6 transit statistics:
      Input  bytes  :                   0
      Output bytes  :                   0
      Input  packets:                   0
      Output packets:                   0
    Local statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    Transit statistics:
     Input  bytes  :                    0                    0 bps
     Output bytes  :                    0                    0 bps
     Input  packets:                    0                    0 pps
     Output packets:                    0                    0 pps
     IPv6 transit statistics:
      Input  bytes  :                   0
      Output bytes  :                   0
      Input  packets:                   0
      Output packets:                   0
    Protocol inet, MTU: 1500, Generation: 154, Route table: 0
      Addresses, Flags: Dest-route-down Is-Preferred Is-Primary
        Destination: 10.51.1/24, Local: 10.51.1.2, Broadcast: 10.51.1.255,
        Generation: 155
    Protocol multiservice, MTU: 1500, Generation: 155, Route table: 0
      Flags: Is-Primary
      Policer: Input: __default_arp_policer

show interfaces irb snmp-index

user@host> show interfaces irb snmp-index 25
Physical interface: irb, Enabled, Physical link is Up
  Interface index: 128, SNMP ifIndex: 25
  Type: Ethernet, Link-level type: Ethernet, MTU: 1514
  Device flags   : Present Running
  Interface flags: SNMP-Traps
  Link type      : Full-Duplex
  Link flags     : None
  Current address: 02:00:00:00:00:30, Hardware address: 02:00:00:00:00:30
  Last flapped   : Never
    Input packets : 0 
    Output packets: 0

  Logical interface irb.0 (Index 68) (SNMP ifIndex 70) 
    Flags: Hardware-Down SNMP-Traps 0x4000 Encapsulation: ENET2
    Bandwidth: 1000mbps
    Routing Instance: customer_0 Bridging Domain: bd0
    Input packets : 0 
    Output packets: 0
    Protocol inet, MTU: 1500
      Addresses, Flags: Dest-route-down Is-Preferred Is-Primary
        Destination: 10.51.1/24, Local: 10.51.1.2, Broadcast: 10.51.1.255
    Protocol multiservice, MTU: 1500
      Flags: Is-Primary

Published: 2014-07-23

Supported Platforms

Published: 2014-07-23