Configuring QoS 167
Configuring Traffic Statistics
The traffic statistics function counts the transmitted data that matches the ACL
rules. After the traffic statistics function is configured, you can use the display
qos-info traffic-statistic command to display the statistics information.
Perform the following configuration in QoS view.
For details about the command, see the Switch 7750 Command Reference Guide.
Displaying and Debugging QoS
After you configure QoS, execute the display command in all views to display the
QoS configuration, and to verify the effect of the configuration. Execute the reset
command in user view to clear the statistics of the QoS module.
Table 183 Configuring Traffic Statistics
Operation Command
Configure traffic statistics traffic-statistic { inbound | outbound } {
ip-group { acl-number | acl-name } [ rule rule
] | link-group { acl-number | acl-name } [ rule
rule ] }
Cancel the traffic statistics configuration undo traffic-statistic { inbound |
outbound } { ip-group { acl-number |
acl-name } [ rule rule ] | link-group {
acl-number | acl-name } [ rule rule ] }
Display the statistics information display qos-info traffic-statistic [
interface-name | interface-type |
interface-num ] traffic-statistic
Table 184 Display and Debug QoS
Operation Command
Display port mirroring configuration display mirroring-group [groupid]
Display the mapping relationship between cos
and local precedence
display qos cos-local-precedence-map
Display line rate for outbound packets display qos-interface [ interface-name |
interface-type interface-num ] line-rate
Display traffic redirection display qos-interface [ interface-name |
interface-type interface-num ] traffic-redirect
Display the parameter settings of all the QoS
actions
display qos-interface [ interface-name |
interface-type interface-num ] all
Display the queue scheduling mode and
parameter
display qos-interface [ interface-name |
interface-type interface-num ]
queue-scheduler
Display the parameter settings of rate limit display qos-interface [ interface-name |
interface-type interface-num ] traffic-limit
Display the settings of priority tag display qos-interface [ interface-name |
interface-type interface-num ] traffic-priority
Display information about the traffic display qos-interface [ interface-name |
interface-type interface-num ] traffic-statistic
Display the information about traffic
bandwidth
display qos-interface [ interface-name |
interface-type interface-num ]
traffic-bandwidth
Display the information about the RED
operation
display qos-interface [ interface-name |
interface-type interface-num ] traffic-red