Specifications
IP Switching Commands
clear ip cef prefix-statistics
ISW-24
Cisco IOS IP Switching Command Reference
May 2008
clear ip cef prefix-statistics
To clear Cisco Express Forwarding (CEF) counters by resetting the packet and byte count to zero (0),
use the clear ip cef prefix-statistics command in user EXEC or privileged EXEC mode.
clear ip cef {network [mask] | *} prefix-statistics
Syntax Description
Command Modes User EXEC
Privileged EXEC
Command History
Usage Guidelines When the clear statistics flag is set, statistics are cleared as the FIB table is scanned. The time period is
up to 60 seconds for all statistics to clear. However, clearing a specific prefix is completed immediately.
Examples The following example shows how to reset the packet and byte counts to zero for all CEF entries:
Router# clear ip cef * prefix-statistics
Related Commands
network Forwarding information base (FIB) entry specified by network.
mask (Optional) FIB entry specified by network and mask.
* Indicates all FIB entries.
Release Modification
11.2GS This command was introduced to support the Cisco 12012 Internet router.
11.1CC Support for multiple platform was added.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX This command is supported in the Cisco IOS Release 12.2SX train. Support
in a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.
Command Description
ip cef accounting Enables CEF network accounting.
show adjacency Displays CEF adjacency table information.
show ip cef Displays entries or a summary of the FIB table.