The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Or, run:
port-group
port-group-name
The port group view is displayed.
NOTE
Create a port group before performing this task. For details on how to create a port group, see Configuring
the Interface Group in the
S3700HI Ethernet Switches Configuration Guide - Ethernet
.
Step 3
Run:
qos queue
queue-index
shaping cir
cir-value
pir
pir-value
[
cbs
cbs-value
pbs
pbs-
value
]
The rate for traffic shaping in an interface queue is set.
By default, the rate for traffic shaping in an interface queue is the maximum bandwidth of the
interface.
----End
2.4.5 Checking the Configuration
After traffic shaping is configured, you can view the rate limit on an interface or in an interface
queue.
Context
Before viewing the traffic shaping parameters of an interface queue, run the
qos queue statistics
enable
command to enable the traffic statistics function for the interface queue.
Procedure
l
Run the
display qos lr
{
inbound
|
outbound
}
interface
interface-type interface-
number
command to check the rate limit on the specified interface.
l
Run the
display qos queue statistics
interface
interface-type interface-number
command
to check the rate limit of the interface queue.
l
Run the
display qos configuration
interface
interface-type interface-number
command
to check all the QoS configurations on the interface.
----End
2.5 Maintaining Traffic Policing and Traffic Shaping
This section describes how to maintain traffic policing and traffic shaping.
S3700HI Ethernet Switches
Configuration Guide - QoS
2 Traffic Policing and Traffic Shaping Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
66