Forwarding Error Correction (FEC)
Introduction
Forwarding Error Correction (FEC) is a technique used for controlling errors in data transmission over unreliable or noisy communication channels. The sender sends the data together with a certain redundant error correction code. When the data is received at the receiver’s end, it is checked according to the error correction code. If an error is found, the receiver recognizes it and corrects the error without data retransmission.
The FEC function can be applied to 100G, 40G and 25G ports of the switch and works only when all the three following conditions are matched:
FEC function is enabled on both ends of the link.
Optical modules are plugged in.
Interface rate is auto or at the default value, i.g. 100G optical port works at 100Gb/s.
PICOS offers FEC algorithm RS-FEC (CL91) on 100G port and FEC BASE-R (CL74) on 40G port.
For 25G port, PICOS offers two different FEC algorithms on different switch platforms:
Trident 3, Maverick2, Helix5 and Tomahawk 2 platform switches support RS-FEC (CL108) mode, Tomahawk+/Tomahawk platform switches support BASE-R (CL74) mode.
NOTE:
|
Configuring FEC Function
Procedure
Use the following command to enable or disable the FEC function on the 100G, 40G or 25G port of the switch.
set interface gigabit-ethernet <interface-name> fec <true | false>
By default, FEC function is disabled on the 100G, 40G and 25G port of the switch.
Configuration Example
Disable FEC function on the switch port xe-1/1/1.
admin@Xorplus# set interface gigabit-ethernet xe-1/1/1 fec false
admin@Xorplus# commit
Enable FEC function on the switch port xe-1/1/2.
admin@Xorplus# set interface gigabit-ethernet xe-1/1/2 fec true
admin@Xorplus# commit
Verify the Configuration
Use run show interface gigabit-ethernet <interface-name> command to view the interface status information of xe-1/1/2. Check the “FEC Enable: “ field in the command output to find the FEC configuration.
admin@XorPlus# run show interface gigabit-ethernet xe-1/1/2
Physical interface: xe-1/1/2, Enabled, error-discard False, Physical link is Down
Interface index: 2, QSFP28 type: DAC, Mac Learning Enabled
Port mode: access
Description:
Link-level type: Ethernet, MTU: 1514, Speed: Auto, Duplex: Full, FEC Enable: True
Source filtering: Disabled, Flow control: Disabled, Auto-negotiation: Disabled
Interface flags: Hardware-Down SNMP-Traps Internal: 0x0
Interface rate limit ingress:unlimited, egress:unlimited
Link fault signaling ignore local fault:false, ignore remote fault:false
force up mode:false
Precision Time Protocol mode:none
Current address: a8:2b:b5:e0:88:c7, Hardware address: a8:2b:b5:e0:88:c7
Traffic statistics:
5 sec input rate 0 bits/sec, 0 packets/sec
5 sec output rate 0 bits/sec, 0 packets/sec
Input Packets............................0
Output Packets...........................0
Input Octets.............................0
Output Octets............................0
Copyright © 2025 Pica8 Inc. All Rights Reserved.