3Com 10014299 Network Router User Manual


 
IP Count Configuration 367
Configuring IP Count on an interface can enable packet accounting on the
interface. You can configure to make statistics on the packets input or output on
the interface, as well as packets denied by firewall.
Perform the following configuration in interface view.
Table 400 Configure IP Count on an interface
By default, IP Count is not enabled on interfaces.
3 Configure IP Count List
IP Count list is configured for the purpose of classifying the statistics made by IP
Count. That is, if IP Count lists have been configured, IP Count service will
determine whether an input or output packet matches any IP Count list before
making statistics on it. If a match has found, the statistics about the packet will be
retained in Interior-List. If not, it will be kept in Exterior-List.
Perform the following configuration in system view.
Table 401 Configure IP Count list
By default, IP Count statistics rules are not configured.
4 Configure Upper Threshold of Exterior-List Accounting Entries
The following command is used for specifying count maximum of exterior, that is,
the max entries number of the packets incompliant with the IP Count lists.
Perform the following configuration in system view.
Table 402 Specify count maximum of exterior
Operation Command
Set IP Count to make statistics on the input
packets on the current interface
ip count inbound-packets
Disable IP Count to make statistics on the input
packets on the current interface
undo ip count inbound-packets
Set IP Count to make statistics on the output
packets on the current interface
ip count outbound-packets
Disable IP Count to make statistics on the
output packets on the current interface
undo ip count outbound-packets
Set IP Count to make statistics on the packets
denied by the firewall on the current interface
ip count firewall-denied [
inbound-packets |
outbound-packets ]
Disable IP Count to make statistics on the
packets denied by the firewall on the current
interface
undo ip count firewall-denied [
inbound-packets |
outbound-packets ]
Operation Command
Configure an IP Count list ip count table ip-address mask
Delete the IP Count list undo ip count table [ ip-address
mask ]
Operation Command
Specify count maximum of exterior ip count exterior-threshold
number
Restore the default count maximum of exterior undo ip count
exterior-threshold