fec

Configures Forward Error Correction (FEC) mode.

Syntax

fec [ fc-fec | rs-fec | auto-negotiation | disabled ]

Parameters

fc-fec
Configures FC-FEC in manual mode.
rs-fec
Configures RS-FEC in manual mode.
auto-negotiation
Configures FEC auto negotiation.
disabled
Disables FEC.

Modes

Interface config mode

Usage Guidelines

This command is available only to users with the admin role.

This command is supported only on ports with 100G or 25G speed.

The interface must be disabled before changing the FEC configuration.

Speed configuration is not allowed when FEC is configured.

Examples

The following examples show FEC configuration.

device(config)# int e 4/16 
device(config-if-eth-4/16)# fec fc-fec 
 
device(config)# int e 4/16
device(config-if-eth-4/16)# channel-group 111 mode on
device(config-if-eth-4/16)# fec rs-fec 

device# show int e 4/16 
ethernet 4/16 Admin state DOWN    Operational state DOWN     
 Interface index is 268435744 (0x10000120)  
 MTU 0 bytes  
 Hardware is Ethernet  mac address 40:88:2f:c1:02:43 
Current Speed  100G 
FEC Mode: RS-FEC 

Statistics  
 Carrier Transitions: 0 
           LastClear: 0s 
Input: 
          Broadcast Pkts: 0 
            Discard Pkts: 0 
             Errors Pkts: 0 
              FCS Errors: 0 
              MCast Pkts: 0 
                  Octets: 0 
              UCast Pkts: 0 
       Unknown Protocols: 0 
Out: 
          Broadcast Pkts: 0 
            Discard Pkts: 0 
             Errors Pkts: 0 
              MCast Pkts: 0 
                  Octets: 0 
              UCast Pkts: 0