R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)
136
ip count outbound-packets
Use ip count outbound-packets to enable IP accounting for outgoing IP packets on an interface. Relevant
information is stored in the exterior or interior table.
Use undo ip count outbound-packets to restore the default.
Syntax
ip count outbound-packets
undo ip count outbound-packets
Default
IP accounting is disabled for outgoing IP packets on the interface.
Views
Interface view
Default Level
2: System level
Usage guidelines
The exterior table stores rule-incompliant packet information, and the interior table stores rule-compliant
packet information.
Examples
# Enable IP accounting for outgoing IP packets on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] ip count outbound-packets
ip count rule
Use ip count rule to create an IP accounting rule.
Use undo ip count rule to remove an IP accounting rule or all IP accounting rules.
Syntax
ip count rule ip-address { mask | mask-length }
undo ip count rule [ ip-address { mask | mask-length } ]
Views
System view
Default Level
2: System level
Parameters
ip-address: Specifies an IP address.
mask: Specifies a mask.
mask-length: Specifies a mask length in the range of 0 to 32.










