clear counters fecNEW!

clear counters fec [ports {port_list|all}]

Description

Clears Forward Error Correction (FEC) counters on specified ports. FEC counters (Corrected Blocks and Uncorrectable Blocks) track the number of error-corrected and uncorrectable FEC codewords.

Syntax Description

fecClear only FEC counters (other port counters remain).
portsSpecify ports for FEC counter clearance.
port_listSpecific port list (for example, 1-5, 25:1-4).
allClear FEC counters on all ports.

Default

N/A.

Usage Guidelines

Use 'clear counters fec' to reset FEC error tracking after troubleshooting optical link issues or to start fresh baseline measurements. 'clear counters' without the fec keyword also clears FEC counters along with all other port statistics. FEC counters are 64-bit values and are particularly useful for monitoring long-haul or high-error-rate optical interfaces.

Example

The following example clears FEC counters on ports 25-26:

clear counters fec ports 25-26

The following example clears FEC counters on all ports in the system:

clear counters fec ports all

History

This command was first available in version 34.1.1.

Platform Availability

All platforms with FEC-capable ports.