Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 6 IP Accounting Configuration Commands
3Com Corporation
6-10
Parameter
ip-address: Interface IP address, in dotted decimal format. It cannot be a loopback
address.
net-mask: Subnet mask, in dotted decimal notation or using mask length.
Description
Use the ip count rule command to configure IP accounting rules.
Use the undo ip count rule command to delete the specified or all IP accounting rules.
When counting packets, the IP Accounting follows these conventions:
z If the source or destination IP address of an IP packet matches a network segment
address in the table, information about the packet is recorded in the interior hash
table as a legitimate packet (packet permitted by the firewall) matching the rule.
z If neither of the addresses has a match, the packet is recorded in the exterior hash
table as a legitimate packet not matching the rule.
z If the packet is denied by the firewall when it arrives at an interface, its information
is recorded in the firewall-denied hash table as illegitimate.
By default, no IP accounting rule is configured in the system.
You may configure 32 rules at most.
Example
# Configure an IP accounting rule.
[3Com] ip count rule 169.254.10.1 255.255.0.0
# Remove an IP accounting rule.
[3Com] undo ip count rule 169.254.10.1 16
# Remove all IP accounting rules.
[3Com] undo ip count rule
6.1.11 ip count timeout
Syntax
ip count timeout minutes
undo ip count timeout
View
System view
Parameter
minutes: Aging time of IP accounting entries, in the range 60 to 10,080 minutes.










