R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

137
Syntax
display dar protocol-statistic [ p2p | protocol protocol-name | top top-number | all ] [ 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.
protocol protocol-name: Displays the packet statistics of the protocol specified for the protocol-name
argument. The range for the protocol-name argument is the same as that in the if-match protocol
command.
top top-number: Displays statistics for protocols with the most traffic. The number of protocols is identified
by the top-number argument, which is in the range of 1 to 16.
all: Displays the packet statistics of all the protocols.
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.
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.
Examples
# Display the packet statistics of all the protocols on Ethernet 1/1.
<Sysname> display dar protocol-statistic interface ethernet 1/1
Interface: Ethernet1/1
Protocol In/Out Packet Count Byte Count Bit Rate Max Bit Rate
in 5 min in 5 min
(bps) (bps)
-------- ------ ------------- --------------- ------------ -----------
netbios IN 5 692 0 0
tcp-handshake IN 1 48 0 0
OUT 2 88 0 0
unknown-tcp IN 1 42 0 0
Total IN 7 782 0 0
OUT 5 214 0 0