System information
Configuring Interfaces and TCP/IP Features
5-27
4. To control the number of transit records stored in the IP accounting database, use
the ip accounting-transits command, as shown below:
MOT(config)#ip accounting-transits <num:0.10000>
where:
num is the maximum number of transit entries
5. To select hosts for which IP accounting information is kept, use the ip
accounting-list command, as shown below:
MOT(config)#ip accounting-list <prefix> <wildcard-mask>
where:
prefix is the IP address of host
wildcard-mask is the wildcard mask bits
6. To display the active accounting database, use the EXEC command show ip
accounting, as shown below:
MOT#show ip accounting [access-violations | checkpoint | output-packets]
where:
access-violations is access violations in accounting database.
checkpoint is the checkpoint IP accounting database.
output-packets is the output packets in accounting database.
7. To display the checkpoint database, use the show ip accounting checkpoint
EXEC command.
MOT#show ip accounting checkpoint
8. To clear the active database and create the checkpoint database, use the clear ip
accounting command in Privileged Exec mode, as shown below:
MOT#clear ip accounting
9. To clear the checkpoint database, use the clear ip accounting checkpoint
command in Privileged Exec mode, as shown below:
MOT#clear ip accounting checkpoint