clear ip cef prefix-statistics

To clear CEF counters by resetting the packet and byte count to zero (0), use the clear ip cef prefix-statistics EXEC command.

clear ip cef {network [mask] | *} prefix-statistics

Syntax Description
network Clears counters for a FIB entry specified by network.
mask (Optional) Clears counters for a FIB entry specified by network and mask.
* Clears counters for all FIB entries.

Command Mode

EXEC

Usage Guidelines

This command first appeared to support the Cisco 12012 GSR in Cisco IOS Release 11.2 GS and first appeared with multiple platform support in Cisco IOS Release 11.1 CC.

Example

The following example resets the CEF packet and byte count to zero:

clear ip cef prefix-statistics

Related Commands ...

Get Cisco IOS 12.0 Switching Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.