R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)
131
IP accounting configuration commands
display ip count
Use display ip count to display IP accounting statistics.
Syntax
display ip count { inbound-packets | outbound-packets } { exterior | firewall-denied | interior } [ |
{ begin | exclude | include } regular-expression ]
Views
Any view
Default Level
1: Monitor level
Parameters
inbound-packets: Displays information about incoming IP packets.
outbound-packets: Displays information about outgoing IP packets.
exterior: Displays the exterior table, which records valid rule-incompliant packets.
firewall-denied: Displays information about IP packets denied by the firewall.
interior: Displays the interior table, which records valid rule-compliant packets.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If no firewall is configured on an interface, valid packets on the interface refer to all incoming and
outgoing IP packets. If a firewall is configured, valid packets refer to only those passing the firewall.
Examples
# Display information about valid rule-incompliant incoming IP packets.
<Sysname> display ip count inbound-packets exterior
6 Inbound streams information in exterior list:
SrcIP DstIP Protocol Pkts Bytes
0.0.0.0 255.255.255.255 UDP 28 9502
10.153.72.181 10.153.73.255 UDP 174 38034
10.153.72.137 239.255.255.250 UDP 4 644
10.153.72.141 224.0.0.2 IGMP 4 128
10.153.72.141 224.0.0.9 UDP 4 208
10.153.72.141 224.0.0.9 IGMP 4 128










