368CHAPTER 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.

5Configure 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

Operation

Command

 

 

Specify count maximum of interior

ip count interior-threshold

 

number

 

 

Restore the default count maximum of interior

undo ip count

 

interior-threshold

 

 

By default, the upper threshold of Interior-List entries is 512.

6Configure 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

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

 

 

By default, IP Count entries time out after 720 minutes.

Display and Debug IP

Table 405 Display and debug IP Count

 

Count

 

 

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 ]

 

 

 

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.

Page 372
Image 372
3Com 10014299 manual By default, IP Count entries time out after 720 minutes, Specify count maximum of interior