Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show interfaces media

    Syntax

    show interfaces media

    Release Information

    Command introduced before Junos OS Release 7.4.

    Command introduced on PTX Series Packet Transport Switches for Junos OS Release 12.1.

    Description

    Display media-specific information about all configured network interfaces.

    Note: 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

    List of Sample Output

    show interfaces media (SONET/SDH)
    show interfaces media (PTX Series Packet Transport Switches)

    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)

    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 (PTX Series Packet Transport Switches)

    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: 72

    Published: 2013-03-14