display traffic-policy statistic { bandwidth | connection-limit | connection-rate-limit } { per-ip [ ip-address ip-address ] | per-user [ user user-name ] | whole } { upstream | downstream | both } { rule rule-name | all } [ exceed { limit | value } | slot slot-id cpu cpu-id ]
display traffic-policy statistic bandwidth vsys vsys-name
display traffic-policy statistic { bandwidth | connection-limit } { per-ip | per-user | whole } { upstream | downstream | both } top10
| Parameter | Description | Value |
|---|---|---|
bandwidth |
Displays traffic policy statistics. |
- |
connection-limit |
Displays connection limit statistics. |
- |
connection-rate-limit |
Displays new connection rate limit statistics. |
- |
per-ip |
Displays per-IP-address statistics. |
- |
ip-address ip-address |
Specifies an IPv4 or IPv6 address. |
An IPv4 address is in dotted decimal notation, and an IPv6 address is in hexadecimal notation. |
per-user |
Displays per-user statistics. |
- |
user user-name |
Specifies the name of a user. |
The user must already exist. |
whole |
Indicates all statistics. |
- |
upstream |
Indicates the upstream bandwidth. |
- |
downstream |
Indicates the downstream bandwidth. |
- |
both |
Displays the total upstream and downstream bandwidth, number of connections, and new connection rate statistics. Only the USG6610E/6620E, USG6630E/6650E, USG6680E and USG6712E/6716E support the display of the total upstream and downstream bandwidth statistics. |
- |
rule rule-name |
Displays statistics on the specified traffic policy rule. |
The traffic policy rule must already exist. |
all |
Displays statistics on all traffic policy rules. |
- |
vsys vsys-name |
Displays statistics of the specified virtual system. |
The virtual system must already exist. |
top10 |
Indicates top 10 in statistics. |
- |
exceed limit |
Indicates entries that exceed the maximum value of the bandwidth, connection number, or new connection rate. NOTE:
The limit value is determined by bandwidth, connection-limit, and connection-rate-limit.
|
- |
exceed value |
Displays entries that exceed a specified value of the bandwidth, connection number, or new connection rate. NOTE:
value is determined by bandwidth, connection-limit, connection-rate-limit.
|
The value is integer.
|
slot slot-id |
Specifies the slot ID of the SPU. Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter. |
- |
cpu cpu-id |
Specifies the CPU ID. Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter. |
- |
In the forwarding process of bandwidth management, per-IP traffic limiting and statistics take precedence over global traffic limiting and statistics. Therefore, if both per-IP traffic limiting and global traffic limiting are configured, the sum of bandwidth statistics of each IP address may be different from the actual outbound interface bandwidth statistics.
# Display statistics on traffic policy rule traffic_rule.
<sysname> display traffic-policy statistic bandwidth whole upstream rule traffic_rule Bandwidth Statistic: Codes: PP(Passed Packets), PB(Passed Bytes), DP(Drop Packets), DB(Drop Bytes) ------------------------------------------------------------------------------------ Policy Profile PP PB DP DB Rcv-Rate Pass-Rate ------------------------------------------------------------------------------------ traffic_rule profile1 31941 4088448 638321 81705088 2592704 125056 ------------------------------------------------------------------------------------
Item |
Description |
|---|---|
Policy |
Name of the traffic policy rule |
Profile |
Traffic profile referenced by the traffic policy |
PP |
Number of forwarded packets |
PB |
Number of forwarded bytes |
DP |
Number of discarded packets |
DB |
Number of discarded bytes |
Rcv-Rate |
Number of received bytes per second before traffic limiting |
Pass-Rate |
Number of forwarded bytes per second after traffic limiting |
# Display connection limit statistics of all traffic policy rules.
<sysname> display traffic-policy statistic connection-limit whole both all Connection-limit Statistic: Total current items: 1 Codes: CC(Current Connection), RC(Rejective Connection) -------------------------------------------------------------------------------- Policy Profile CC RC -------------------------------------------------------------------------------- traffic_rule profile1 10 57004435 --------------------------------------------------------------------------------
Item |
Description |
|---|---|
Policy |
Name of the traffic policy rule |
Profile |
Traffic profile referenced by the traffic policy |
CC |
Number of current connections |
RC |
Number of denied connections |
# Display new connection rate limit statistics of all traffic policy rules.
<sysname> display traffic-policy statistic connection-rate-limit whole both all Connection-rate-limit Statistic: Total current items: 2 Codes: CCR(Current Connection Rate), RC(Rejective Connection) -------------------------------------------------------------------------------- Policy Profile CCR RC -------------------------------------------------------------------------------- 1 1 10 100 2 1 20 200 --------------------------------------------------------------------------------
Item |
Description |
|---|---|
Policy |
Name of the traffic policy rule |
Profile |
Traffic profile referenced by the traffic policy |
CCR |
Current new connection rate |
RC |
Number of denied connections |
# Display the statistics on bandwidth policy rules whose upstream bandwidth exceeds the limit.
<sysname> display traffic-policy statistic bandwidth whole upstream all exceed limit Bandwidth Statistic: Total current items: 1 Codes: PP(Passed Packets), PB(Passed Bytes), DP(Drop Packets), DB(Drop Bytes) -------------------------------------------------------------------------------------------- Policy Profile IP PP PB DP DB Rcv-Rate Pass-Rate -------------------------------------------------------------------------------------------- traffic_rule profile1 1.1.1.2 336987 332269182 18727 18464822 19258 9860 --------------------------------------------------------------------------------------------
Item |
Description |
|---|---|
Policy |
Name of the traffic policy rule |
Profile |
Traffic profile referenced by the traffic policy |
IP |
Source IP address of a session |
PP |
Number of forwarded packets |
PB |
Number of forwarded bytes |
DP |
Number of discarded packets |
DB |
Number of discarded bytes |
Rcv-Rate |
Number of received bytes per second before traffic limiting |
Pass-Rate |
Number of forwarded bytes per second after traffic limiting |
# Display the bandwidth statistics of virtual system vsysa.
<sysname> display traffic-policy statistic bandwidth vsys vsysa Virtual-System Bandwidth Statistic Codes: TP(Total Pakcets), TB(Total Bytes), PP(Passed Packets), PB(Passed Bytes), DP(Drop Packets), DB(Drop Bytes) -------------------------------------------------------------------------------- Virtual-System Direct TP TB PP PB DP DB -------------------------------------------------------------------------------- vsysa Entire 0 0 0 0 0 0 vsysa Inbound 0 0 0 0 0 0 vsysa Outbound 0 0 0 0 0 0 --------------------------------------------------------------------------------
Item |
Description |
|---|---|
Virtual-System |
Virtual system name |
Direct |
Traffic direction:
|
TP |
Total number of packets |
TB |
Total number of bytes |
PP |
Number of forwarded packets |
PB |
Number of forwarded bytes |
DP |
Number of discarded packets |
DB |
Number of discarded bytes |