R3303-HP 6600/HSR6600 Routers ACL and QoS Command Reference
139
undo dar protocol-statistic
Default
The packet accounting function of DAR is disabled.
Views
Ethernet interface view
Default command level
2: System level
Parameters
flow-interval time: Specifies the accounting interval in the range of 1 to 30 minutes and defaulting to 5
minutes.
Usage guidelines
The packet accounting function of DAR collects the traffic statistics on a per-application basis on
interfaces. It helps you identify aggressive applications.
Examples
# Enable the packet accounting function of DAR for GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] dar protocol-statistic
display dar protocol-statistic
Use display dar protocol-statistic to display the DAR packet statistics.
Syntax
display dar protocol-statistic p2p [ interface interface-type interface-number ] [ direction { in | out } ] [ |
{ begin | exclude | include } regular-expression ]
Default
This command displays both inbound and outbound traffic.
Views
Any view
Default command level
1: Monitor level
Parameters
p2p: Displays P2P traffic statistics.
interface-type interface-number: Specifies an interface by its type and number.
direction: Displays the packet statistics of a direction.
in: Displays statistics about the inbound traffic.
out: Displays statistics about the outbound traffic.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.










