Manoj Reddy's Reference Guide

clear ip accounting

To clear the active or checkpointed database when IP accounting is enabled, use the clear ip accounting EXEC command.

clear ip accounting [checkpoint ]

Syntax Description

checkpoint

(Optional) Clears the checkpointed database.

Command Modes

EXEC

Command History

ReleaseModification
10.0

This command was introduced.

Usage Guidelines

You can also clear the checkpointed database by issuing the clear ip accounting command twice in succession.

Examples

The following example clears the active database when IP accounting is enabled:

clear ip accounting

Related Commands

CommandDescription
ip accounting Enables IP accounting on an interface.
ip accounting-list Defines filters to control the hosts for which IP accounting information is kept.
ip accounting-threshold Sets the maximum number of accounting entries to be created.
ip accounting-transits Controls the number of transit records that are stored in the IP accounting database.
show ip accounting Displays the active accounting or checkpointed database or displays access list violations.

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.