Description

On MPC7E/8E/9E Ethernet FEC Mode/Ethernet FEC statistics information is added in 'show interfaces' CLI from Junos 17.2R1 and higher.

Although FEC mode is configurable, this is not supported in CLI in Junos 16.1/16.2/17.1. By default, RS-FEC (Reed-Solomon Forward Error Correction) is enabled for 100G SR4 optics and disabled for 100G LR4 optics.

The 'set interfaces xx gigether-options fec' knob is introduced in Junos 16.1R1. It can be used to override the default behavior and explicitly enable/disable FEC on an interface. 

Symptoms

Although FEC mode (fe74/fec91/none) is configurable, ethernet FEC Mode/Ethernet FEC statistics information is not supported in CLI in Junos 16.1/16.2/17.1

--- JUNOS 17.1R3.6 Kernel 64-bit  JNPR-10.3-20190306.8b08cc0_buil
User@MX2020> show chassis hardware |no-more
Hardware inventory:
Item             Version  Part number  Serial number     Description
Chassis                                JN1229D75AFJ      MX2020
Midplane         REV 51   750-040240   ABAC3570          Lower Backplane
Midplane 1       REV 05   711-032386   ABAC4500          Upper Backplane
PMP 1            REV 05   711-032428   ACAJ4350          Upper Power Midplane
PMP 0            REV 04   711-032426   ACAJ3169          Lower Power Midplane
FPM Board        REV 13   760-040242   ABCW2351          Front Panel Display
-- snip --

FPC 8            REV 30   750-063414   CAJR2541          MPC9E 3D
  CPU            REV 20   750-057177   CAJK3914          SMPC PMB
  MIC 0          REV 11   750-055992   CAFG4661          MRATE-12xQSFPP-XGE-XLGE-CGE
    PIC 0                 BUILTIN      BUILTIN           MRATE-12xQSFPP-XGE-XLGE-CGE
      Xcvr 6     REV 01   740-058732   1GCQA4080SH       QSFP-100GBASE-LR4
      Xcvr 7     REV 01   740-058732   1GCQA4080H0       QSFP-100GBASE-LR4
Fan Tray 0       REV 06   760-046960   ACAY2021          172mm FanTray - 6 Fans
Fan Tray 1       REV 06   760-046960   ACAY1698          172mm FanTray - 6 Fans
Fan Tray 2       REV 06   760-046960   ACAY1816          172mm FanTray - 6 Fans
Fan Tray 3       REV 06   760-046960   ACAY1944          172mm FanTray - 6 F

User@MX2020> show configuration chassis
fpc 8 {
    pic 0 {
        pic-mode 100G;
    }
    pic 1 {
        pic-mode 100G;
    }
}
network-services enhanced-ip;

User@MX2020> show configuration interfaces
et-8/0/6 {
    gigether-options {
        fec fec91;
    }
}
et-8/0/7 {
    gigether-options {
        fec fec91;
    }
}

User@MX2020> show interfaces et-8/0/6 media
Physical interface: et-8/0/6, Enabled, Physical link is Up
  Interface index: 150, SNMP ifIndex: 821
  Link-level type: Ethernet, MTU: 1514, MRU: 1522, Speed: 100Gbps, BPDU Error: None,
  Loop Detect PDU Error: None, Loopback: Disabled, Source filtering: Disabled,
  Flow control: Enabled
  Pad to minimum frame size: Disabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Link flags     : None
  CoS queues     : 8 supported, 8 maximum usable queues
  Schedulers     : 0
  Current address: 64:64:9b:b0:6e:60, Hardware address: 64:64:9b:b0:6e:60
  Last flapped   : 2020-07-01 20:49:38 IST (00:01:30 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: 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: Disabled

Solution

Ethernet FEC Mode/Ethernet FEC statistics information is added in 'show interfaces' CLI from Junos 17.2R1 and higher.
FEC mode is set to fec91:

--- JUNOS 17.2R1.13 Kernel 64-bit  JNPR-10.3-20170523.350481_build

User@MX2020> show configuration interfaces
et-8/0/6 {
    gigether-options {
        fec fec91;
    }
}
et-8/0/7 {
    gigether-options {
        fec fec91;
    }
}

User@MX2020> show interfaces et-8/0/6 media
Physical interface: et-8/0/6, Enabled, Physical link is Up
  Interface index: 150, SNMP ifIndex: 821
  Link-level type: Ethernet, MTU: 1514, MRU: 1522, Speed: 100Gbps, BPDU Error: None,
  Loop Detect PDU Error: None, Loopback: Disabled, Source filtering: Disabled,
  Flow control: Enabled
  Pad to minimum frame size: Disabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Link flags     : None
  CoS queues     : 8 supported, 8 maximum usable queues
  Schedulers     : 0
  Current address: 64:64:9b:b0:6e:60, Hardware address: 64:64:9b:b0:6e:60
  Last flapped   : 2020-07-02 06:35:32 IST (00:12:10 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
  Ethernet FEC Mode  :                  FEC91
  Ethernet FEC statistics              Errors
    FEC Corrected Errors                    0
    FEC Uncorrected Errors                  0
    FEC Corrected Errors Rate               0
    FEC Uncorrected Errors Rate             0
  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: Disabled

FEC mode is deleted. 

User@MX2020> show configuration interfaces
User@MX2020> show interfaces et-8/0/6 media
Physical interface: et-8/0/6, Enabled, Physical link is Up
  Interface index: 150, SNMP ifIndex: 821
  Link-level type: Ethernet, MTU: 1514, MRU: 1522, Speed: 100Gbps, BPDU Error: None,
  Loop Detect PDU Error: None, Loopback: Disabled, Source filtering: Disabled,
  Flow control: Enabled
  Pad to minimum frame size: Disabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Link flags     : None
  CoS queues     : 8 supported, 8 maximum usable queues
  Schedulers     : 0
  Current address: 64:64:9b:b0:6e:60, Hardware address: 64:64:9b:b0:6e:60
  Last flapped   : 2020-07-02 06:48:16 IST (00:00:11 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                         1
  Ethernet FEC Mode  :                   NONE
  Ethernet FEC statistics              Errors
    FEC Corrected Errors                    0
    FEC Uncorrected Errors                  3
    FEC Corrected Errors Rate               0
    FEC Uncorrected Errors Rate             0
  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: Disabled

Related Information