R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)

134
ip count firewall-denied
Use ip count firewall-denied to enable IP accounting for IP packets denied by the firewall on an interface.
Relevant information is stored in the firewall-denied table.
Use undo ip count firewall-denied to restore the default.
Syntax
ip count firewall-denied { inbound-packets | outbound-packets }
undo ip count firewall-denied { inbound-packets | outbound-packets }
Default
IP packets denied by the firewall are not captured or stored.
Views
Interface view
Default Level
2: System level
Parameters
inbound-packets: Enables IP accounting for incoming IP packets denied by the firewall on the current
interface.
outbound-packets: Enables IP accounting for outgoing IP packets denied by the firewall on the current
interface.
Examples
# Enable IP accounting for outgoing IP packets denied by the firewall on Ethernet 1/1 and store packet
information.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ip count firewall-denied outbound-packets
# Disable IP accounting for outgoing IP packets denied by the firewall on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] undo ip count firewall-denied outbound-packets
ip count inbound-packets
Use ip count inbound-packets to enable IP accounting for incoming IP packets on an interface. Relevant
information is stored in the exterior or interior table.
Use undo ip count inbound-packets to restore the default.
Syntax
ip count inbound-packets
undo ip count inbound-packets
Default
IP account is disabled for incoming IP packets on the interface.