show interfaces media
Syntax
show interfaces media
Description
Display media-specific information about all configured network interfaces.
show interfaces media lists details for all
interfaces, whereas show interfaces media interface-name lists details only for the specified interface.
Options
This command has no options.
Additional Information
Output from both the show interfaces interface-name detail and the show interfaces interface-name extensive commands includes all the
information displayed in the output from the show interfaces
media command.
Required Privilege Level
view
Output Fields
The output from the show interfaces media command includes fields that display interface media-specific information.
These fields are also included in the show interfaces interface-name command for each particular interface
type, and the information provided in the fields is unique to each
interface type.
One field unique to the show interfaces media command
is interface-type errors (for example, SONET errors). This field appears
for channelized E3, channelized T3, channelized OC, E1, E3, SONET,
T1, and T3 interfaces. The information provided in this output field
is also provided in the output from the show interfaces interface-name command. (For example, for SONET
interfaces, these fields are SONET section, SONET line, and SONET
path). For a description of errors, see the chapter with the particular
interface type in which you are interested.
Sample Output
- show interfaces media (SONET/SDH)
- show interfaces media (MX Series Routers)
- show interfaces media (PTX Series Packet Transport Routers)
- show interfaces media (EX4100 Series Switches)
show interfaces media (SONET/SDH)
The following example displays the output fields unique to the show interfaces media command for a SONET interface (with
no level of output specified):
user@host> show interfaces media so-4/1/2
Physical interface: so-4/1/2, Enabled, Physical link is Up
Interface index: 168, SNMP ifIndex: 495
Link-level type: PPP, MTU: 4474, Clocking: Internal, SONET mode, Speed: OC48, Loopback: None, FCS: 16, Payload scrambler: Enabled
Device flags : Present Running
Interface flags: Point-To-Point SNMP-Traps 16384
Link flags : Keepalives
Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
Keepalive: Input: 1783 (00:00:00 ago), Output: 1786 (00:00:08 ago)
LCP state: Opened
NCP state: inet: Not-configured, inet6: Not-configured, iso: Not-configured, mpls: Not-configured
CHAP state: Not-configured
CoS queues : 8 supported
Last flapped : 2005-06-15 12:14:59 PDT (04:31:29 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
SONET alarms : None
SONET defects : None
SONET errors:
BIP-B1: 121, BIP-B2: 916, REI-L: 0, BIP-B3: 137, REI-P: 16747, BIP-BIP2: 0
Received path trace: routerb so-1/1/2
Transmitted path trace: routera so-4/1/2
show interfaces media (MX Series Routers)
user@host>show interfaces media xe-0/0/0
Physical interface: xe-0/0/0, Enabled, Physical link is Up
Interface index: 145, SNMP ifIndex: 592
Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 10Gbps, BPDU Error: None,
Loopback: None, Source filtering: Disabled, Flow control: Enabled
Pad to minimum frame size: Enabled
Device flags : Present Running
Interface flags: Hardware-Down SNMP-Traps Internal: 0x0
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Current address: 08:81:f4:82:a3:f0, Hardware address: 08:81:f4:82:a3:f0
Last flapped : 2013-10-26 03:20:40 test (1w6d 00:19 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
Active alarms : LINK
Active defects : LINK
PCS statistics Seconds
Bit errors 78
Errored blocks 78
MAC statistics:
Input bytes: 0, Input packets: 0, Output bytes: 0, Output packets: 0
Filter statistics:
Filtered packets: 0, Padded packets: 0, Output packet errors: 0
Interface transmit statistics: Disabledshow interfaces media (PTX Series Packet Transport Routers)
user@host> show interfaces media em0
Physical interface: em0, Enabled, Physical link is Up
Interface index: 8, SNMP ifIndex: 0
Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Speed: 1000mbps
Device flags : Present Running
Interface flags: SNMP-Traps
Link type : Full-Duplex
Current address: 00:80:f9:25:00:1b, Hardware address: 00:80:f9:25:00:1b
Last flapped : Never
Input packets : 215151
Output packets: 72show interfaces media (EX4100 Series Switches)
user@host> show interfaces ge-0/0/10 media
Physical interface: ge-0/0/10, Enabled, Physical link is Up
Interface index: 658, SNMP ifIndex: 529
Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Link-mode: Full-duplex, Speed: 1000mbps, Duplex: Full-Duplex, BPDU Error: None, Loop Detect PDU Error: None,
Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online,
Media type: Copper, IEEE 802.3az Energy Efficient Ethernet: Disabled, Auto-MDIX: Enabled
Device flags : Present Running
Interface Specific flags: Internal: 0x100000
Interface flags: SNMP-Traps Internal: 0x4000
Link flags : None
CoS queues : 12 supported, 12 maximum usable queues
Current address: ac:a0:9d:8f:dd:84, Hardware address: ac:a0:9d:8f:dd:84
Last flapped : 2024-04-01 02:39:22 PDT (01:20:29 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
Active alarms : None
Active defects : None
PCS statistics Seconds
Bit errors 0
Errored blocks 0
MAC statistics:
Input bytes: 60200, Input packets: 175, Output bytes: 0, Output packets: 0
PRBS Mode : Disabled
Autonegotiation information:
Negotiation status: Complete
Link partner:
Link mode: Full-duplex, Flow control: Symmetric/Asymmetric, Remote fault: OK, Link partner Speed: 1000 Mbps
Local resolution:
Flow control: Symmetric, Flow control tx: Enabled, Flow control rx: Enabled, Remote fault: Link OK, Local link Speed: 1000 Mbps, Link mode: Full-duplex
Interface transmit statistics: DisabledFor EX4100 1G copper ports, flow control Tx state is Enabled. The
expected Tx state is Disabled. You see this behavior because of an
internal block. The actual functionality remains the same.
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced on PTX Series Packet Transport Routers for Junos OS Release 12.1.