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-infotraffic-statisticcommand to display the statistics information.

Perform the following configuration in QoS view.

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

 

 

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 184 Display and Debug QoS

Operation

Command

 

 

Display port mirroring configuration

display mirroring-group [groupid]

Display the mapping relationship between cos

display qos cos-local-precedence-map

and local precedence

 

Display line rate for outbound packets

Display traffic redirection

Display the parameter settings of all the QoS actions

Display the queue scheduling mode and parameter

Display the parameter settings of rate limit

display qos-interface [ interface-nameinterface-typeinterface-num] line-rate

display qos-interface [ interface-nameinterface-typeinterface-num] traffic-redirect

display qos-interface [ interface-nameinterface-typeinterface-num] all

display qos-interface [ interface-nameinterface-typeinterface-num] queue-scheduler

display qos-interface [ interface-nameinterface-typeinterface-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-nameinterface-typeinterface-num] traffic-bandwidth

Display the information about the RED operation

display qos-interface [ interface-nameinterface-typeinterface-num] traffic-red

Page 167
Image 167
3Com 10014298 manual Configuring Traffic Statistics, Displaying and Debugging QoS, Display and Debug QoS