368 CHAPTER 23: CONFIGURING IP COUNT
The default max entries number of exterior is set to 0, namely, the packets that do
not match the rules will not be counted.
5 Configure Upper Threshold of Interior-List Accounting Entries
The following command is used for specifying count maximum of interior, that is,
the max entries number of the packets compliant with the IP Count lists.
Perform the following configuration in system view.
Table 403 Specify count maximum of interior
By default, the upper threshold of Interior-List entries is 512.
6 Configure Timeout of IP Count Entries
The following command is used for configuring timeout time for IP Count entries.
If no new packets are received within the timeout time, IP Count will assume that
the accounting entries have timed out and the accounting entries will be deleted
from the list.
Perform the following configuration in system view.
Table 404 Configure the period that an IP Count entry exists before it times out
By default, IP Count entries time out after 720 minutes.
Display and Debug IP
Count
Table 405 Display and debug IP Count
Typical Configuration
Example
I. Networking Requirements
As shown in Figure 4-1, the router is connected to PC1 and PC2 via the interface
Ethernet0, and to PC3 and PC4 via Ethernet1. The router is required to make
statistics on the packets that the router transmitted to and received from PC1. PC1
is assigned with the address 169.254.10.1 and the mask 255.255.0.0.
Operation Command
Specify count maximum of interior ip count interior-threshold
number
Restore the default count maximum of interior undo ip count
interior-threshold
Operation Command
Configure the timeout time of IP Count entries ip count timeout minutes
Restore the default timeout time of IP Count entries undo ip count timeout
Operation Command
Clear statistics of IP Count reset ip count
Display IP Count lists display ip count table
Display statistics of IP Count display ip count {
inbound-packets |
outbound-packets } { exterior |
interior | firewall-denied }
Enable IP Count debugging at all levels debugging ip count [ data |
error ]