show interfaces irb
Syntax
show interfaces irb <brief | detail | extensive | terse> <descriptions> <media> <snmp-index snmp-index> <statistics>
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. |
| mac | Display hardware MAC address |
| media | (Optional) Display media-specific information about network interfaces. |
| 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 bridging domain that has a Layer 3 protocol configured.
Required Privilege Level
view
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.
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.
|
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.
|
detail extensive |
Input errors |
Input errors on the interface. The following paragraphs explain the counters whose meaning might not be obvious:
|
detail extensive |
Output errors |
Output errors on the interface. The following paragraphs explain the counters whose meaning might not be obvious:
|
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 |
Dummy value that is ignored by an IRB interface. IRB interfaces are pseudo interfaces and do not have physical bandwidth associated with them. |
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.
|
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.
|
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
- show interfaces irb snmp-index
- show interfaces irb (SRX300, SRX320, SRX340, SRX345, SRX380, and SRX550HM)
- show interfaces irb.0 (SRX300, SRX320, SRX340, SRX345, SRX380, and SRX550HM)
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 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
show interfaces irb (SRX300, SRX320, SRX340, SRX345, SRX380, and SRX550HM)
user@host> show interfaces irb
Physical interface: irb, Enabled, Physical link is Up
Interface index: 133, SNMP ifIndex: 503
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: 00:90:69:7f:e7:f0, Hardware address: 00:90:69:7f:e7:f0
Last flapped : Never
Input packets : 0
Output packets: 0
Logical interface irb.0 (Index 327) (SNMP ifIndex 507)
Flags: SNMP-Traps 0x4004000 Encapsulation: ENET2
MAC: 00:11:22:33:44:55
Bandwidth: 1000mbps
Routing Instance: default-switch Bridging Domain: bd512+512
Input packets : 0
Output packets: 1
Protocol inet, MTU: 1500
Flags: Sendbcast-pkt-to-re
Addresses, Flags: Is-Preferred Is-Primary
Destination: 10.10.10/24, Local: 10.10.10.1, Broadcast: 10.10.10.255
Protocol multiservice, MTU: 1500
show interfaces irb.0 (SRX300, SRX320, SRX340, SRX345, SRX380, and SRX550HM)
user@host> show interfaces irb.0
regress@bloodlust# run show interfaces irb.0
Logical interface irb.0 (Index 327) (SNMP ifIndex 507)
Flags: SNMP-Traps 0x4004000 Encapsulation: ENET2
MAC: 00:11:22:33:44:55
Bandwidth: 1000mbps
Routing Instance: default-switch Bridging Domain: bd512+512
Input packets : 0
Output packets: 1
Protocol inet, MTU: 1500
Flags: Sendbcast-pkt-to-re
Addresses, Flags: Is-Preferred Is-Primary
Destination: 10.10.10/24, Local: 10.10.10.1, Broadcast: 10.10.10.255
Protocol multiservice, MTU: 1500
Release Information
Command introduced in Junos OS Release 8.4.