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 smart-sfp-statistics

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show interfaces smart-sfp-statistics
<brief | detail | extensive | terse> 
<descriptions> 
<interface-name>
<media> 
<routing-instance (all | instance-name)> 
<snmp-index snmp-index> 

Description

Display status information about the specified smart SFP interface.

Options

brief | detail | extensive | terse

(Optional) Display the specified level of output.

descriptions

(Optional) Display interface description strings.

interface-name

Name of the interface.

media

(Optional) Display media-specific information about network interfaces.

routing-instance (all | instance-name)

(Optional) Display all routing instances or the name of an individual routing instance.

snmp-index snmp-index

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

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show interfaces smart-sfp-statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show interfaces smart-sfp-statistics 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.

All levels

Interface index

Index number of the physical interface, which reflects its initialization sequence.

detail none

SNMP ifIndex

SNMP index number for the physical interface.

detail none

Link-level type

Encapsulation being used on the physical interface.

All levels

MTU

Maximum transmission unit size on the physical interface.

All levels

Clocking

Reference clock source.

detail

Speed

Speed at which the interface is running.

All levels

Duplex

Duplex mode of the interface, either Full-Duplex or Half-Duplex.

All levels

MAC-REWRITE Error

Specifies if the encapsulation of the packet has been changed.

none

BPDU Error

Specifies if a BPDU has been received on a blocked interface.

none

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. This field is only displayed if asymmetric flow control is not configured.

All levels

Device flags

Information about the physical device.

All levels

Interface flags

Information about the interface.

All levels

Smart Transceiver Type

Type of smart SFP transceiver. Possible values: E1, T1, DS3, STM1, STM4, or STM16.

All levels

Smart SFP

Configurable Type. You can configure these Smart SFP transceivers unlike other Smart SFP transceivers which you cannot configure.

All levels

Smart SFP Configurations

Loopback

Specifies if loopback is configured.

All levels

Encapsulation Circuit Id

Emulation circuit id for encapulsation. Possible values: 0 through 1048575.

all

Decapsulation Circuit Id

Emulation circuit id for decapsulation. Possible values: 0 through 1048575.

all

Mode

Framing mode. Possible values: MEF8 or MPLS.

all

Dest MAC

Destination MAC address.

all

Smart SFP Defects

TDM defects

Legacy TDM defects. Defects specific to PDH and SDH legacy error codes and defects.

all

System defects

Smart SFP device defects. Defects are specific to the Smart SFP you use.

CoS queues

Number of CoS queues configured.

detail none

Hold-Times

Current interface hold-time up and hold-time down, in milliseconds.

detail

Current address

Configured MAC address.

detail none

Hardware address

Hardware MAC address.

detail none

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 none

Statistics last cleared

Date, time, and how long ago the statistics for the interface were cleared. The format is Statistics last cleared: year-month-day hour:minute:second:timezone (hour:minute:second ago). For example, 2010-05-17 07:51:28 PDT (00:04:33 ago).

detail

Traffic statistics

Number and rate of bytes and packets received and transmitted on the physical interface.

  • Input bytes—Number of bytes received on the interface.

  • Output bytes—Number of bytes transmitted on the interface.

  • Input packets—Number of packets received on the interface.

  • Output packets—Number of packets transmitted on the interface.

Note:

The bandwidth bps counter is not enabled.

detail

IPv6 transit statistics

If IPv6 statistics tracking is enabled, number of IPv6 bytes and packets received and transmitted on the logical interface:

  • Input bytes—Number of bytes received on the interface.

  • Output bytes—Number of bytes transmitted on the interface.

  • Input packets—Number of packets received on the interface.

  • Output packets—Number of packets transmitted on the interface.

Note:

The bandwidth bps counter is not enabled.

detail

Input errors

Input errors on the interface. The following paragraphs explain the counters whose meaning might not be obvious:

  • Errors—Sum of the incoming frame terminates 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.

  • 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 Junos OS does not handle.

  • L3 incompletes—Number of incoming packets discarded because they failed Layer 3 sanity checks of the header. For example, a frame with less than 20 bytes of available IP header is discarded. L3 incomplete errors can be ignored if you configure the ignore-l3-incompletes statement.

  • L2 channel errors—Number of times the software did not find a valid logical interface for an incoming frame.

  • L2 mismatch timeouts—Number of malformed or short packets that caused the incoming packet handler to discard the frame as unreadable.

  • FIFO errors—Number of FIFO errors in the receive direction that are reported by the ASIC on the PIC. If this value is ever nonzero, the PIC is probably malfunctioning.

  • Resource errors—Sum of transmit drops.

detail none

Output errors

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 or PIM is malfunctioning.

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

  • Collisions—Number of Ethernet collisions. The Gigabit Ethernet PIC supports only full-duplex operation, so for Gigabit Ethernet PICs, this number should always remain 0. If it is nonzero, there is a software bug.

  • Aged packets—Number of packets that remained in shared packet SDRAM so long that the system automatically purged them. The value in this field should never increment. If it does, it is most likely a software bug or possibly malfunctioning hardware.

  • FIFO errors—Number of FIFO errors in the send direction as reported by the ASIC on the PIC. If this value is ever nonzero, the PIC is probably malfunctioning.

  • HS link CRC errors—Number of errors on the high-speed links between the ASICs responsible for handling the fabric interfaces.

  • MTU errors—Number of packets whose size exceeded the MTU of the interface.

  • Resource errors—Sum of transmit drops.

detail none

Egress queues

Total number of egress queues supported on the specified interface.

detail

Queue counters

CoS queue number and its associated user-configured forwarding class name.

  • Queued packets—Number of queued packets.

  • Transmitted packets—Number of transmitted packets.

  • Dropped packets—Number of packets dropped by the ASIC's RED mechanism.

detail

Input rate

Input rate in bits per second (bps) and packets per second (pps).

None specified

Output rate

Output rate in bps and pps.

None specified

Logical Interface  

Logical interface

Name of the logical interface.

All levels

Index

Index number of the logical interface, which reflects its initialization sequence.

detail none

SNMP ifIndex

SNMP interface index number for the logical interface.

detail none

Flags

Information about the logical interface.

If unicast Reverse Path Forwarding (uRPF) is explicitly configured on the specified interface, the uRPF flag appears. 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 appear even though uRPF is enabled.

All levels

Input packets

Number of packets received on the interface.

detail none

Output packets

Number of packets transmitted on the interface.

detail none

Encapsulation

Encapsulation method used on the logical interface.

  • Input packets—Number of packets received on the interface.

  • Output packets—Number of packets transmitted on the interface.

All levels

Traffic statistics

Number and rate of bytes and packets received and transmitted on the physical interface.

  • Input bytes—Number of bytes received on the interface.

  • Output bytes—Number of bytes transmitted on the interface.

  • Input packets—Number of packets received on the interface.

  • Output packets—Number of packets transmitted on the interface.

Note:

The bandwidth bps counter is not enabled.

detail

Local statistics

  • Input bytes—Number of bytes received on the interface.

  • Output bytes—Number of bytes transmitted on the interface.

  • Input packets—Number of packets received on the interface.

  • Output packets—Number of packets transmitted on the interface.

Note:

The bandwidth bps counter is not enabled.

detail

Transit statistics

  • Input bytes—Number of bytes received on the interface.

  • Output bytes—Number of bytes transmitted on the interface.

  • Input packets—Number of packets received on the interface.

  • Output packets—Number of packets transmitted on the interface.

Note:

The bandwidth bps counter is not enabled.

detail

Addresses, Flags

Information about the address flags.

detail none

protocol-family

Protocol family configured on the logical interface. If the protocol is inet, the IP address of the interface is also displayed.

brief

MTU

Maximum transmission unit size on the physical interface.

All levels

Destination

IP address of the remote side of the connection.

detail none

Local

IP address of the logical interface.

detail none

Broadcast

Broadcast address of the logical interlace.

detail none

Generation

Unique number for use by Juniper Networks technical support only.

detail

Route table

Route table in which the logical interface address is located. For example, 0 refers to the routing table inet.0.

detail none

Sample Output

show interfaces smart-sfp-statistics (STM1)

content_copy zoom_out_map
user@host> show interfaces ge-5/3/9 smart-sfp-statistics 
Physical interface: ge-5/3/9, Enabled, Physical link is Up
  Interface index: 300, SNMP ifIndex: 562
  Link-level type: Ethernet, MTU: 1518, MRU: 1526, LAN-PHY mode, Speed: 1000mbps, 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
  Pad to minimum frame size: Disabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Smart Transceiver Type: STM1/OC3
  Smart SFP: Configurable Type
  Smart SFP Configurations 
    Loopback: None
    Mode: MEF8
  Smart SFP Ethernet port[P1] Statistics:            Counters
    Rx frames                                      64376
    Rx bytes                                     4128352
    Rx errored fcs frames                              0
    Rx length error frames                             0
    Tx frames                                 2552954627 
    Tx bytes                                   120088140
  Smart SFP AV IWF Encap/Decap Statistics:           Counters
    Rx Packets                                         0
    Tx Packets                                2552812339
    Malformed  Packets                                 0
    Reordered  Packets                                 0
    Misordered Dropped Packets                         0
    Missing    Packets                                 0
    PlayedOut  Packets                                 0
    JitterBuffer Overrun Packets                       0
    JitterBuffer Underrun Packets                      0
  Smart SFP STM port[P0] statistics:             Counters
    Rx b1errors                                        0
    Tx b1errors                                        0

  Logical interface ge-5/3/9.32767 (Index 347) (SNMP ifIndex 659)
    Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ]  Encapsulation: ENET2
    Input packets : 171346
    Output packets: 0
    Protocol multiservice, MTU: Unlimited
      Flags: Is-Primary

show interfaces smart-sfp-statistics detail (STM1)

content_copy zoom_out_map
user@host> show interfaces ge-5/3/9 smart-sfp-statistics detail
Physical interface: ge-5/3/9, Enabled, Physical link is Up
  Interface index: 300, SNMP ifIndex: 562, Generation: 303
  Link-level type: Ethernet, MTU: 1518, MRU: 1526, LAN-PHY mode, Speed: 1000mbps, 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
  Pad to minimum frame size: Disabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Smart Transceiver Type: STM1/OC3
  Smart SFP: Configurable Type
  Smart SFP Configurations 
    Loopback: None
    Mode: MEF8
  Smart SFP Ethernet port[P1] Statistics:            Counters
    Rx frames                                     105783
    Rx bytes                                     6778400
    Rx errored fcs frames                              0
    Rx length error frames                             0
    Tx frames                                 4209457628 
    Tx bytes                                   301542720
  Smart SFP AV IWF Encap/Decap Statistics:           Counters
    Rx Packets                                         0
    Tx Packets                                4209223157
    Malformed  Packets                                 0
    Reordered  Packets                                 0
    Misordered Dropped Packets                         0
    Missing    Packets                                 0
    PlayedOut  Packets                                 0
    JitterBuffer Overrun Packets                       0
    JitterBuffer Underrun Packets                      0
  Smart SFP STM port[P0] statistics:             Counters
    Rx b1errors                                        0
    Tx b1errors                                        0

  Logical interface ge-5/3/9.32767 (Index 347) (SNMP ifIndex 659) (Generation 186)
    Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ]  Encapsulation: ENET2
    Traffic statistics:
     Input  bytes  :             23232960
     Output bytes  :                    0
     Input  packets:               281769
     Output packets:                    0
    Local statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    Transit statistics:
     Input  bytes  :             23232960                 1008 bps
     Output bytes  :                    0                    0 bps
     Input  packets:               281769                    1 pps
     Output packets:                    0                    0 pps
    Protocol multiservice, MTU: Unlimited, Generation: 227, Route table: 0
      Flags: Is-Primary
      Policer: Input: __default_arp_policer__

show interfaces smart-sfp-statistics terse (STM1)

content_copy zoom_out_map
user@host> show interfaces ge-5/3/9 smart-sfp-statistics terse
Interface               Admin Link Proto    Local                 Remote
ge-5/3/9                up    up
ge-5/3/9.32767          up    up   multiservice

show interfaces smart-sfp-statistics (DS3)

content_copy zoom_out_map
user@host> show interfaces ge-5/3/0 smart-sfp-statistics
Physical interface: ge-5/3/0, Enabled, Physical link is Up
  Interface index: 291, SNMP ifIndex: 559
  Link-level type: Ethernet, MTU: 1518, MRU: 1526, LAN-PHY mode, Speed: 1000mbps, 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
  Pad to minimum frame size: Disabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Smart Transceiver Type: DS3
  Smart SFP: Configurable Type
  Smart SFP Configurations 
    Loopback: None
    Encapulation Circuit Id: 16
    Decapsulation Circuit Id: 16
    Mode: MEF8
    Dest MAC: 01:0f:25:00:00:03
  Smart SFP Ethernet port[P1] Statistics:            Counters
    Rx frames                                       3013
    Rx bytes                                      220548
    Rx errored fcs frames                              0
    Rx unicast frames                               3013
    Rx multicast frames                                0
    Rx broadcast frames                                0
    Rx fragments                                       0
    Rx undersize frames                                0
    Rx oversize frames                                 0
    Rx invalid vlan mismatch frames                    0
    Tx frames                                  110842256 
    Tx bytes                                  4202709764
    Tx unicast frames                              18256
    Tx multicast frames                        110824000
    Tx broadcast frames                                0
  Smart SFP AV IWF Encap/Decap Statistics:           Counters
    Rx Packets                                         0
    Tx Packets                                 110824000
    Malformed  Packets                                 0
    Reordered  Packets                                 0
    Misordered Dropped Packets                         0
    Missing    Packets                                 0
    PlayedOut  Packets                                 0
    JitterBuffer Overrun Packets                       0
    JitterBuffer Underrun Packets                      0
  Smart SFP DS3 port[P0] statistics:             Counters
    BiPolarVariations/Excessive zero errors                  0
    Tx B3 Errors                                             0
    Code Violation path errors                               0

  Logical interface ge-5/3/0.32767 (Index 358) (SNMP ifIndex 660)
    Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ]  Encapsulation: ENET2
    Input packets : 18341
    Output packets: 0
    Protocol multiservice, MTU: Unlimited
      Flags: None

show interfaces smart-sfp-statistics detail (DS3)

content_copy zoom_out_map
Physical interface: ge-5/3/0, Enabled, Physical link is Up
  Interface index: 291, SNMP ifIndex: 559, Generation: 294
  Link-level type: Ethernet, MTU: 1518, MRU: 1526, LAN-PHY mode, Speed: 1000mbps, 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
  Pad to minimum frame size: Disabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Smart Transceiver Type: DS3
  Smart SFP: Configurable Type
  Smart SFP Configurations 
    Loopback: None
    Encapulation Circuit Id: 16
    Decapsulation Circuit Id: 16
    Mode: MEF8
    Dest MAC: 01:0f:25:00:00:03
  Smart SFP Ethernet port[P1] Statistics:            Counters
    Rx frames                                       4329
    Rx bytes                                      316992
    Rx errored fcs frames                              0
    Rx unicast frames                               4329
    Rx multicast frames                                0
    Rx broadcast frames                                0
    Rx fragments                                       0
    Rx undersize frames                                0
    Rx oversize frames                                 0
    Rx invalid vlan mismatch frames                    0
    Tx frames                                  159426251 
    Tx bytes                                   746264028
    Tx unicast frames                              26251
    Tx multicast frames                        159400000
    Tx broadcast frames                                0
  Smart SFP AV IWF Encap/Decap Statistics:           Counters
    Rx Packets                                         0
    Tx Packets                                 159400000
    Malformed  Packets                                 0
    Reordered  Packets                                 0
    Misordered Dropped Packets                         0
    Missing    Packets                                 0
    PlayedOut  Packets                                 0
    JitterBuffer Overrun Packets                       0
    JitterBuffer Underrun Packets                      0
  Smart SFP DS3 port[P0] statistics:             Counters
    BiPolarVariations/Excessive zero errors                  0
    Tx B3 Errors                                             0
    Code Violation path errors                               0

  Logical interface ge-5/3/0.32767 (Index 358) (SNMP ifIndex 660) (Generation 197)
    Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ]  Encapsulation: ENET2
    Traffic statistics:
     Input  bytes  :              2985128
     Output bytes  :                    0
     Input  packets:                26336
     Output packets:                    0
    Local statistics:
     Input  bytes  :                    0
 Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    Transit statistics:                 
     Input  bytes  :              2985128                 1024 bps
     Output bytes  :                    0                    0 bps
     Input  packets:                26336                    1 pps
     Output packets:                    0                    0 pps
    Protocol multiservice, MTU: Unlimited, Generation: 242, Route table: 0
      Flags: None                       
      Policer: Input: __default_arp_policer__
                                        

show interfaces smart-sfp-statistics terse (DS3)

content_copy zoom_out_map
user@host> show interfaces ge-5/3/0 smart-sfp-statistics terse
Interface               Admin Link Proto    Local                 Remote
ge-5/3/0                up    up
ge-5/3/0.32767          up    up   multiservice

command-name

Release Information

Command introduced in Junos OS Release 19.4.

footer-navigation