R2511-HP MSR Router Series Security Command Reference(V5)

503
display flow-statistics statistics
Use display flow-statistics statistics to display traffic statistics on interfaces based on IP addresses.
Syntax
display flow-statistics statistics { destination-ip dest-ip-address | source-ip src-ip-address } [ vpn-instance
vpn-instance-name ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
destination-ip dest-ip-address: Displays statistics of the traffic destined for the specified destination IP
address. dest-ip-address indicates the destination IP address, which cannot be a broadcast address,
127.0.0.0, a class D address, or a class E address
source-ip src-ip-address: Displays statistics of the traffic that is from the specified source IP address.
src-ip-address indicates the source IP address, which cannot be a broadcast address, 127.0.0.0, a class
D address, or a class E address.
vpn-instance vpn-instance-name: Displays statistics of the traffic that belongs to the specified VPN.
vpn-instance-name indicates the VPN instance name of an MPLS L3VPN, a case-sensitive string of 1 to
31 characters. If the object to be displayed belongs to the public network, do not specify this option.
|: 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 traffic statistics of source IP address 192.168.1.2.
<Sysname> display flow-statistics statistics source-ip 192.168.1.2
Flow Statistics Information
-----------------------------------------------------------
IP Address : 192.168.1.2
-----------------------------------------------------------
Total number of existing sessions : 70
Session establishment rate : 10/s
TCP sessions : 10
Half-open TCP sessions : 10
Half-close TCP sessions : 10
TCP session establishment rate : 10/s
UDP sessions : 10
UDP session establishment rate : 10/s
ICMP sessions : 10
ICMP session establishment rate : 10/s