Configuring FEC

Forward error correction (FEC) is an error correction technique to detect and correct a limited number of errors in transmitted data without the need for retransmission.

In this method, the sender sends a redundant error-correcting code along with the data frame. The receiver performs necessary checks based on the additional redundant bits. If it finds that the data is free from errors, it executes the error-correcting code that generates the actual frame. It then removes the redundant bits before passing the message to the upper layers.

Reference

Command

forward-error-correction {rs | fs | none}

Description

Configure forward error correction method

Parameters

None

Mode

INTERFACE

Example

pbnoscli# configure terminal 
pbnoscli(config)# interface ethernet Ethernet1/1
pbnoscli(config-if)# forward-error-correction 
  fs                    Firecode Forward Error Correction
  none                  None
  rs                    Reed Solomon Forward Error Correction
pbnoscli(config-if)# forward-error-correction rs

You can verify the configuration by using the command(s) below:

pbnoscli# show interface summary 
============================================================================================================================
Interface       Lanes             Speed   MTU     FEC     Alias           Vlan    Oper    Admin   Type              Asym PFC
============================================================================================================================
Ethernet1/1     0,1,2,3           100G    9100    rs      etp1            trunk   up      up      QSFP28 or later   N/A     
Ethernet2/1     8,9,10,11         100G    9100    none    etp2            trunk   up      up      QSFP28 or later   N/A     
Ethernet3/1     16,17,18,19       100G    9100    none    etp3            trunk   up      up      QSFP28 or later   N/A     
Ethernet4/1     24,25,26,27       100G    9100    rs      etp4            trunk   down    up      N/A               N/A     
Ethernet5/1     32,33,34,35       100G    9100    none    etp5            trunk   down    up      QSFP28 or later   N/A     
Ethernet6/1     40,41,42,43       100G    9100    none    etp6            trunk   down    up      QSFP28 or later   N/A     
Ethernet7/1     48,49,50,51       100G    9100    none    etp7            trunk   down    up      QSFP28 or later   N/A     
Ethernet8/1     56,57,58,59       100G    9100    none    etp8            trunk   down    up      N/A               N/A     
Ethernet9/1     64,65,66,67       100G    9100    none    etp9            trunk   down    up      N/A               N/A     
Ethernet10/1    72,73,74,75       100G    9100    none    etp10           trunk   down    up      N/A               N/A     
Ethernet11/1    80,81,82,83       100G    9100    none    etp11           trunk   down    up      N/A               N/A     
Ethernet12/1    88,89,90,91       100G    9100    none    etp12           trunk   down    up      N/A               N/A     
Ethernet13/1    96,97,98,99       100G    9100    none    etp13           trunk   up      up      QSFP28 or later   N/A     
Ethernet14/1    104,105,106,107   100G    9100    none    etp14           trunk   up      up      QSFP28 or later   N/A     
<...>
Ethernet60/1    472,473,474,475   100G    9100    none    etp60           trunk   down    up      N/A               N/A     
Ethernet61/1    480,481,482,483   100G    9100    none    etp61           trunk   down    up      N/A               N/A     
Ethernet62/1    488,489,490,491   100G    9100    none    etp62           trunk   down    up      N/A               N/A     
Ethernet63/1    496,497,498,499   100G    9100    rs      etp63           routed  up      up      QSFP28 or later   N/A     
Ethernet64/1    504,505,506,507   100G    9100    rs      etp64           routed  up      up      QSFP28 or later   N/A     
pbnoscli#
pbnoscli# show running-config 
configure terminal
!
interface ethernet Ethernet1/1
forward-error-correction rs
!
interface ethernet Ethernet4/1
forward-error-correction fs
!
interface mgmt
ip address 10.4.4.53/23 gateway 10.4.4.1
!
pbnoscli#