show interfaces
Syntax
Release Information
Command introduced in JUNOS Release 9.0 for EX-series switches.
Description
Display status information about the specified Gigabit Ethernet interface.
Options
-
ge-
fpc/
pic/
port
-
Display standard information about the specified Gigabit Ethernet interface.
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.
snmp-index
snmp-index
-
(Optional) Display information for the specified SNMP index of the interface.
statistics
-
(Optional) Display static interface statistics.
Required Privilege Level
view
List of Sample Output
show interfaces (Gigabit Ethernet)show interfaces brief (Gigabit Ethernet)
show interfaces detail (Gigabit Ethernet)
show interfaces extensive (Gigabit Ethernet)
Output Fields
Table 1 lists the output fields for the show interfaces command. Output fields are listed in the approximate order in which they appear.
Table 1: Gigabit Ethernet show interfaces Output Fields
| Field Name | Field Description | Level of Output |
|---|---|---|
| Physical Interface | ||
| Physical interface | Name of the physical interface. | All levels |
| Enabled | State of the interface: Enabled or Disabled. | All levels |
| Interface index | Index number of the physical interface, which reflects its initialization sequence. | detail extensivenone |
| SNMP ifIndex | SNMP index number for the physical interface. | detail extensivenone |
| Generation | Unique number for use by Juniper Networks technical support only. | detail extensive |
| Description | Optional user-specified description. | brief detail extensive |
| Link-level type | Encapsulation being used on the physical interface. | All levels |
| MTU | Maximum transmission unit size on the physical interface. Default is 1514. | All levels |
| Speed | Speed at which the interface is running. | All levels |
| Loopback | Loopback status: Enabled or Disabled. If loopback is enabled, type of loopback: Local or Remote. | All levels |
| Source filtering | Source filtering status: Enabled or Disabled. | All levels |
| Flow control | Flow control status: Enabled or Disabled. | All levels |
| Auto-negotiation | Autonegotiation status: Enabled or Disabled. | All levels |
| Remote-fault | Remote fault status:
| All levels |
| Device flags | Information about the physical device. | All levels |
| Interface flags | Information about the interface. | All levels |
| Link flags | Information about the link. | All levels |
| CoS queues | Number of CoS queues configured. | detail extensivenone |
| Hold-times | Current interface hold-time up and hold-time down, in milliseconds. | detail extensive |
| Current address | Configured MAC address. | detail extensivenone |
| Hardware address | MAC address of the hardware. | detail extensivenone |
| Last flapped | Date, time, and how long ago the interface went from down to up. The format is Last flapped: year-month-day hour:minute:second timezone (hour:minute:second ago). For example, Last flapped: 2008–01–16 10:52:40 UTC (3d 22:58 ago). | detail extensivenone |
| 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.
Note: The bandwidth bps counter is not enabled on this platform. | detail extensive |
| Input errors | Input errors on the interface. The following paragraphs explain the counters whose meaning might not be obvious:
| extensive |
| Output errors | Output errors on the interface. The following paragraphs explain the counters whose meaning might not be obvious:
| extensive |
| Egress queues | Total number of egress queues supported on the specified interface. | detail extensive |
| Queue counters (Egress ) | CoS queue number and its associated user-configured forwarding class name.
| detail extensive |
| Active alarms and Active defects | Ethernet-specific defects that can prevent the interface from passing packets. When a defect persists for a certain amount of time, it is promoted to an alarm. Based on the switch configuration, an alarm can ring the red or yellow alarm bell on the switch, or turn on the red or yellow alarm LED on the craft interface. These fields can contain the value None or Link.
| detail extensivenone |
| MAC statistics | Receive and Transmit statistics reported by the PIC's MAC subsystem.
| extensive |
| Filter Statistics | Receive and Transmit statistics reported by the PIC's MAC address filter subsystem. | extensive |
| Autonegotiation information | Information about link autonegotiation.
| extensive |
| Packet Forwarding Engine configuration | Information about the configuration of the Packet Forwarding Engine:
| 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 extensivenone |
| SNMP ifIndex | SNMP interface index number for the logical interface. | detail extensivenone |
| Generation | Unique number for use by Juniper Networks technical support only. | detail extensive |
| Flags | Information about the logical interface. | All levels |
| Encapsulation | Encapsulation on the logical interface. | All levels |
| Protocol | Protocol family. | detail extensivenone |
| MTU | This field is not supported for logical interfaces on EX-series switches. | detail extensivenone |
| Generation | Unique number for use by Juniper Networks technical support only. | detail extensive |
| Route Table | Route table in which the logical interface address is located. For example, 0 refers to the routing table inet.0. | detail extensivenone |
| Flags | Information about protocol family flags. If unicast Reverse Path Forwarding (uRPF) is explicitly configured on the specified interface, the uRPF flag displays. If uRPF was configured on a different interface (and therefore is enabled on all switch interfaces) but was not explicitly configured on the specified interface, the uRPF flag does not display even though uRPF is enabled. | detail extensive |
| protocol-family | Protocol family configured on the logical interface. If the protocol is inet, the IP address of the interface is also displayed. | brief |
| Flags | Information about address flag. | detail extensivenone |
| Destination | IP address of the remote side of the connection. | detail extensivenone |
| Local | IP address of the logical interface. | detail extensivenone |
| Broadcast | Broadcast address of the logical interlace. | detail extensivenone |
| Generation | Unique number for use by Juniper Networks technical support only. | detail extensive |
Sample Output
show interfaces (Gigabit Ethernet)
user@host> show interfaces ge-0/0/0
Physical interface: ge-0/0/0, Enabled, Physical link is Down
Interface index: 129, SNMP ifIndex: 21
Link-level type: Ethernet, MTU: 1514, Speed: Unspecified, Loopback: Disabled,
Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled
Remote fault: Online
Device flags : Present Running Down
Interface flags: Hardware-Down SNMP-Traps Internal: 0x0
CoS queues : 8 supported, 8 maximum usable queues
Hold-times : Up 0 ms, Down 0 ms
Current address: 00:19:e2:50:3f:41, Hardware address: 00:19:e2:50:3f:41
Last flapped : 2008-01-16 11:40:53 UTC (4d 02:30 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
Ingress rate at Packet Forwarding Engine : 0 bps (0 pps)
Ingress drop rate at Packet Forwarding Engine : 0 bps (0 pps)
Active alarms : None
Active defects : None
Logical interface ge-0/0/0.0 (Index 65) (SNMP ifIndex 22)
Flags: SNMP-Traps
Encapsulation: ENET2
Input packets : 0
Output packets: 0
Protocol eth-switch, MTU: 0
Flags: None
show interfaces brief (Gigabit Ethernet)
user@host> show interfaces ge-0/0/0 brief
Physical interface: ge-0/0/0, Enabled, Physical link is Down
Description: voice priority and tcp and icmp traffic rate-limiting filter at i
ngress port
Link-level type: Ethernet, MTU: 1514, Speed: Unspecified, Loopback: Disabled,
Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled,
Remote fault: Online
Device flags : Present Running Down
Interface flags: Hardware-Down SNMP-Traps Internal: 0x0
Link flags : None
Logical interface ge-0/0/0.0
Flags: Device-Down SNMP-Traps Encapsulation: ENET2
eth-switch
show interfaces detail (Gigabit Ethernet)
user@host> show interfaces ge-0/0/0 detail
Physical interface: ge-0/0/0, Enabled, Physical link is Up
Interface index: 129, SNMP ifIndex: 21, Generation: 130
Link-level type: Ethernet, MTU: 1514, Speed: Auto, Loopback: Disabled,
Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled,
Remote fault: Online
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x0
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Hold-times : Up 0 ms, Down 0 ms
Current address: 00:19:e2:50:a8:a1, Hardware address: 00:19:e2:50:a8:a1
Last flapped : 2008-01-29 10:54:31 UTC (01:36:47 ago)
Statistics last cleared: Never
Traffic statistics:
Input bytes : 368613240000 0 bps
Output bytes : 368642493760 0 bps
Input packets: 5759581881 0 pps
Output packets: 5760038969 0 pps
Egress queues: 8 supported, 0 in use
Queue counters: Queued packets Transmitted packets Dropped packets
0 best-effort 0 5760782572 0
1 assured-forw 0 0 0
5 expedited-fo 0 0 0
7 network-cont 0 0 0
Active alarms : None
Active defects : None
Logical interface ge-0/0/0.0 (Index 66) (SNMP ifIndex 22) (Generation 132)
Flags: SNMP-Traps Encapsulation: ENET2
Traffic statistics:
Input bytes : 60
Output bytes : 0
Input packets: 1
Output packets: 0
Local statistics:
Input bytes : 60
Output bytes : 0
Input packets: 1
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
Protocol eth-switch, MTU: 0, Generation: 143, Route table: 0
Flags: Is-Primary
show interfaces extensive (Gigabit Ethernet)
user@host> show interfaces ge-0/0/0 extensive
Physical interface: ge-0/0/0, Enabled, Physical link is Up
Interface index: 129, SNMP ifIndex: 21, Generation: 130
Link-level type: Ethernet, MTU: 1514, Speed: Auto, Loopback: Disabled,
Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled,
Remote fault: Online
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x0
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Hold-times : Up 0 ms, Down 0 ms
Current address: 00:19:e2:50:a8:a1, Hardware address: 00:19:e2:50:a8:a1
Last flapped : 2008-01-29 10:54:31 UTC (01:40:54 ago)
Statistics last cleared: Never
Traffic statistics:
Input bytes : 386327695808 0 bps
Output bytes : 386356949568 0 bps
Input packets: 6036370253 0 pps
Output packets: 6036827341 0 pps
Input errors:
Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Policed discards: 0,
L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0,
FIFO errors: 0, Resource errors: 0
Output errors:
Carrier transitions: 0, Errors: 0, Drops: 0, Collisions: 0, Aged packets: 0,
FIFO errors: 0, Resource errors: 0
Output errors:
Carrier transitions: 0, Errors: 0, Drops: 0, Collisions: 0, Aged packets: 0,
FIFO errors: 0, HS link CRC errors: 0, MTU errors: 0, Resource errors: 0
Egress queues: 8 supported, 0 in use
Queue counters: Queued packets Transmitted packets Dropped packets
0 best-effort 0 6036979415 0
1 assured-forw 0 0 0
5 expedited-fo 0 0 0
7 network-cont 0 0 0
Active alarms : None
Active defects : None
MAC statistics: Receive Transmit
Total octets 386327695808 386356949568
Total packets 6036370253 6036827341
Unicast packets 6036370252 6036827341
Broadcast packets 0 0
Multicast packets 1 0
CRC/Align errors 0 0
FIFO errors 0 0
MAC control frames 0 0
MAC pause frames 0 0
Oversized frames 0
Jabber frames 0
Fragment frames 0
Code violations 0
Filter statistics:
Input packet count 0
Input packet rejects 0
Input DA rejects 0
Input SA rejects 0
Output packet count 0
Output packet pad count 0
Output packet error count 0
CAM destination filters: 0, CAM source filters: 0
Autonegotiation information:
Negotiation status: Complete
Link partner:
Link mode: Full-duplex, Flow control: None, Remote fault: OK,
Link partner Speed: 1000 Mbps
Local resolution:
Flow control: None, Remote fault: Link OK
Packet Forwarding Engine configuration:
Destination slot: 0
Logical interface ge-0/0/0.0 (Index 66) (SNMP ifIndex 22) (Generation 132)
Flags: SNMP-Traps Encapsulation: ENET2
Traffic statistics:
Input bytes : 60
Output bytes : 0
Input packets: 1
Output packets: 0
Local statistics:
Input bytes : 60
Output bytes : 0
Input packets: 1
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
Protocol eth-switch, MTU: 0, Generation: 143, Route table: 0
Flags: Is-Primary
本文介绍了一个命令,用于显示指定Gigabit以太网接口的状态信息,包括接口的基本属性、配置参数及统计数据等。
1万+

被折叠的 条评论
为什么被折叠?



