Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show interfaces (Discard)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show interfaces dsc
<brief | detail | extensive | terse>
<descriptions>
<media> 
<snmp-index snmp-index>
<statistics>

Description

Display status information about the specified discard interface.

Options

dsc

Display standard information about the specified discard interface.

brief | detail | extensive | terse

(Optional) Display the specified level of output.

descriptions

(Optional) Display interface description strings.

media

This option is not relevant for the discard interface and always shows a value of 0.

snmp-index snmp-index

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

statistics

(Optional) This option is not relevant for the discard interface and always shows a value of 0.

Required Privilege Level

view

Output Fields

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

Table 1: Discard show interfaces Output Fields

Field Name

Field Description

Level of Output

Physical Interface  

Physical interface

Name of the physical interface, whether the interface is enabled, and the state of the physical interface: Up or Down.

All levels

Interface index

Physical interface's index number, which reflects its initialization sequence.

detail extensive none

Generation

Unique number for use by Juniper Networks technical support only.

detail extensive

SNMP ifIndex

SNMP index number for the physical interface.

detail extensive none

Type

Type of interface. Software-Pseudo indicates a standard software interface with no associated hardware device.

All levels

Link-level type

Encapsulation being used on the physical interface.

All levels

MTU

MTU size on the physical interface.

All levels

Clocking

Reference clock source. It can be Internal or External.

brief detail extensive

Speed

Speed at which the interface is running.

brief detail extensive

Device flags

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

All levels

Interface flags

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

All levels

Link type

Encapsulation being used on the physical interface.

detail extensive

Link flags

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

detail extensive

Physical info

Information about the physical interface.

detail extensive

Hold-times

Current interface hold-time up and hold-time down. Value is in milliseconds.

detail extensive

Current address, Hardware address

Configured MAC address and hardware MAC address.

detail extensive

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 hour:minute:second timezone (hour:minute:second 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, Output bytes—Number of bytes received and transmitted on the interface.

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

detail extensive

Input errors

Input errors on the interface:

  • Errors—Sum of incoming frame terminated 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

(Extensive only) 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 then 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 PIC is malfunctioning.

  • Errors—Sum of the outgoing frame terminated 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

Logical interface index number, which reflects its initialization sequence.

detail extensive

SNMP ifIndex

Logical interface SNMP interface index number.

detail extensive

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.

All levels

Encapsulation

Encapsulation on the logical interface.

All levels

Protocol

Protocol family configured on the logical interface, such as iso, inet6, or mpls.

All levels

MTU

MTU size 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

Sample Output

show interfaces dsc

content_copy zoom_out_map
user@host> show interfaces dsc  	
Physical interface: dsc, Enabled, Physical link is Up
  Interface index: 5, SNMP ifIndex: 5
  Type: Software-Pseudo, MTU: Unlimited
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link flags     : None
  Last flapped   : Never
    Input packets : 0 
    Output packets: 0

  Logical interface dsc.0 (Index 66) (SNMP ifIndex 235) 
    Flags: Point-To-Point SNMP-Traps Encapsulation: Unspecified
    Protocol inet, MTU: Unlimited
      Flags: None

show interfaces dsc brief

content_copy zoom_out_map
user@host> show interfaces dsc brief 
Physical interface: dsc, Enabled, Physical link is Up
  Type: Software-Pseudo, Link-level type: Unspecified, MTU: Unlimited, Clocking: Unspecified, Speed: Unspecified
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps

  Logical interface dsc.0 
    Flags: Point-To-Point SNMP-Traps Encapsulation: Unspecified
    inet

show interfaces dsc detail

content_copy zoom_out_map
user@host> show interfaces dsc detail   
Physical interface: dsc, Enabled, Physical link is Up
  Interface index: 5, SNMP ifIndex: 5, Generation: 9
  Type: Software-Pseudo, Link-level type: Unspecified, MTU: Unlimited, Clocking: Unspecified, Speed: Unspecified
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link type      : Unspecified
  Link flags     : None
  Physical info  : Unspecified
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: Unspecified, Hardware address: Unspecified
  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

  Logical interface dsc.0 (Index 66) (SNMP ifIndex 235) (Generation 6)
    Flags: Point-To-Point SNMP-Traps Encapsulation: Unspecified
    Protocol inet, MTU: Unlimited, Generation: 14, Route table: 0
      Flags: None

show interfaces dsc extensive

content_copy zoom_out_map
user@host> show interfaces dsc extensive
Physical interface: dsc, Enabled, Physical link is Up
  Interface index: 5, SNMP ifIndex: 5, Generation: 9
  Type: Software-Pseudo, Link-level type: Unspecified, MTU: Unlimited, Clocking: Unspecified, Speed: Unspecified
  Device flags   : Present Running
  Interface flags: Point-To-Point SNMP-Traps
  Link type      : Unspecified
  Link flags     : None
  Physical info  : Unspecified
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: Unspecified, Hardware address: Unspecified
  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
  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 dsc.0 (Index 66) (SNMP ifIndex 235) (Generation 6)
    Flags: Point-To-Point SNMP-Traps Encapsulation: Unspecified
    Protocol inet, MTU: Unlimited, Generation: 14, Route table: 0



Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation