Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 6 IP Accounting Configuration Commands
3Com Corporation
6-7
Syntax
ip count firewall-denied { inbound-packets | outbound-packets }
undo ip count firewall-denied { inbound-packets | outbound-packets }
View
Interface view
Parameter
inbound-packets: Counts the inbound IP packets denied by the firewall on the current
interface.
outbound-packets: Counts the outbound IP packets denied by the firewall on the
current interface.
Description
Use the ip count firewall-denied command to configure the IP Accounting to count the
IP packets denied by the firewall on the current interface.
Use the undo ip count firewall-denied command to restore the default.
By default, IP packets denied by the firewall are not counted on the current interface.
Information about counted IP packets is stored in the firewall-list table.
Example
# Configure the IP Accounting to count the outbound IP packets denied by the firewall
on the current interface.
[3Com-Ethernet0/0/0] ip count firewall-denied outbound-packets
# Configure the IP Accounting not to count the outbound IP packets denied by the
firewall on the current interface.
[3Com-Ethernet0/0/0] undo ip count firewall-denied outbound-packets
6.1.7 ip count inbound-packets
Syntax
ip count inbound-packets
undo ip count inbound-packets
View
Interface view
Parameter
None