Manoj Reddy's Reference Guide

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 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 Modes

EXEC

Command History

ReleaseModification
11.2 GS

This command was introduced to support the Cisco 12012 Gigabit Switch Router.

11.1 CC

Multiple platform support was added.

Examples

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

clear ip cef prefix-statistics

Related Commands

CommandDescription
show adjacency Displays CEF adjacency table information.
show ip cef Displays entries in the FIB that are unresolved or displays a FIB summary.

Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003

All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.