After configuring bandwidth management, you can view the configuration, query or clear statistics, and debug the bandwidth management module.
You can run the commands in Table 1 in any view to view the bandwidth management configuration and statistics.
Operation |
Command |
|---|---|
Display traffic profile configuration. |
display traffic-profile { all | profile profile-name | reference-mode { per-rule | rule-shared } } |
Display traffic policy configuration. |
display traffic-policy rule { all | name rule-name } [ slot slot-id cpu cpu-id ] |
Display traffic policy statistics. |
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 |
You can run the commands in Table 2 in the user view to clear bandwidth management statistics.
Operation |
Command |
|---|---|
Clear the matching count of a traffic policy or all traffic policies. |
reset traffic-policy counter { all | rule rule-name } |
Clear traffic policy statistics. |
reset traffic-policy statistic { bandwidth | connection-limit | connection-rate-limit } { whole | per-ip | per-user } { upstream | downstream | both } { rule rule-name | all } reset traffic-policy statistic bandwidth vsys vsys-name |
You can run the commands in Table 3 in the user view to debug the bandwidth management module.
Operation |
Command |
|---|---|
Debug traffic policies. |
debugging traffic-policy { all | error | packet } |
Debug the bandwidth management module. |
debugging bandwidth { all | error | event | packet | timer } |