Configuring IP Services

Monitoring and Maintaining the IP Network

To clear caches, tables, and databases, use the following commands in EXEC mode, as needed:

Command

Purpose

 

 

 

Router#

clear ip accounting

Clears the active IP accounting or checkpointed database when IP accounting

[checkpoint]

is enabled.

 

 

 

Router#

clear tcp statistics

Clears TCP statistics.

 

 

 

Monitoring and Maintaining the DRP Server Agent

To monitor and maintain the DRP Server Agent, use the following commands in EXEC mode:

Command

Purpose

 

 

 

Router#

clear ip drp

Clears statistics being collected on DRP requests and responses.

 

 

 

Router#

show ip drp

Displays information about the DRP Server Agent.

 

 

 

Clearing the Access List Counters

The system counts how many packets pass each line of an access list; the counters are displayed by the show access-listsEXEC command. To clear the counters of an access list, use the following command in EXEC mode:

Command

Purpose

 

 

Router# clear access-list counters {access-list-number

Clears the access list counters.

access-list-name}

 

 

 

Displaying System and Network Statistics

You can display specific statistics such as the contents of IP routing tables, caches, and databases. The resulting information can be used to determine resource utilization and to solve network problems.

To display specific statistics such as the contents of IP routing tables, caches, and databases, use the following commands in privileged EXEC mode, as needed. Refer to the “IP Services Commands” chapter in the Cisco IOS IP Command Reference, Volume 1 of 3: Addressing and Services for details about the commands listed in these tasks.

Command

Purpose

 

 

Router# show access-lists[access-list-number

Displays the contents of one or all current access lists.

access-list-name]

 

 

 

Router# show access-list compiled

Displays information regarding compiled access lists, including

 

the state of each compiled access list.

 

 

Router# show ip access-list [access-list-number

Displays the contents of current IP access lists.

name]

 

 

 

Router# show ip accounting [checkpoint]

Displays the active IP accounting or checkpointed database.

 

 

Cisco IOS IP Configuration Guide

IPC-119

Page 165
Image 165
Cisco Systems 78-11741-02 Monitoring and Maintaining the DRP Server Agent, Clearing the Access List Counters, IPC-119