Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 6 IP Accounting Configuration Commands
3Com Corporation
6-8
Description
Use the ip count inbound-packets command to configure the IP Accounting to count
inbound IP packets on the current interface.
Use the undo ip count inbound-packets command to configure the IP Accounting to
restore the default.
By default, inbound IP packets on the interface are not counted.
When counting inbound IP packets on the interface, the IP Accounting assigns them to
the exterior hash table or the interior hash table according to rules in the IP accounting
list.
Example
# Configure the IP Accounting to count inbound IP packets on the interface.
[3Com-Ethernet0/0/0] ip count inbound-packets
# Configure the IP Accounting to count inbound IP packets on the interface.
[3Com-Ethernet0/0/0] undo ip count inbound-packets
6.1.8 ip count interior-threshold
Syntax
ip count interior-threshold number
undo ip count interior-threshold
View
System view
Parameter
number: Maximum number of entries in the interior hash table, in the range 0 to 16,384.
Description
Use the ip count interior-threshold command to configure maximum number of
entries in the interior hash table, with each entry for an IP packet matching the IP
accounting rule.
Use the undo ip count interior-threshold command to restore the default. When
doing this, you are prompted to clear the table first if the number of entries in the table is
greater than the default.
By default, maximum number of entries in the interior hash table is 512.
Example
# Set maximum number of entries in the interior hash table to 1,000.