Configures the FEC mode.
Interface config mode
This command is available only to users with admin role.
This command is supported only on ports with 100G or 25G speed.
Interface cannot be a part of the port-channel.
Message | Reason |
---|---|
Error: FEC configuration is not allowed. Disable interface before changing the FEC configuration. | Interface must be disabled (admin shutdown) before changing FEC configuration. |
Error: Speed configuration not allowed when FEC is configured | Port speed cannot be changed if FEC is configured |
The following examples show FEC configuration.
device(config)# int e 4/16 device(config-if-eth-4/16)# fec fc-fec device(config-if-eth-4/16)# fec fc-fec Error: FEC configuration is not allowed. Disable interface before changing the FEC configuration. 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 Error: FEC configuration is not allowed on interface that is part of a port-channel device(config-if-eth-4/16)# speed 40000 Error: Speed configuration not allowed when FEC is configured device(config-if-eth-4/16)# 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