l
Run the
display traffic policy
user-defined
[
policy-name
[
classifier
classifier-name
] ]
command to check the traffic policy configuration.
l
Run the
display traffic policy
{
interface
[
interface-type interface-number
] |
vlan
[
vlan-
id
] |
global
} [
inbound
|
outbound
] command on the S3700HI to check the traffic policy
information and flow-based traffic statistics.
l
Run the
display qos configuration
interface
[
interface-type interface-number
] command
to check all the QoS configurations on the interface.
----End
2.4 Configuring Traffic Shaping
After traffic shaping is configured, the S3700 shapes packets matching traffic classification rules
so that packets are sent out at an even rate.
2.4.1 Establishing the Configuration Task
Before configuring traffic shaping, familiarize yourself with the applicable environment,
complete the pre-configuration tasks, and obtain the required data. This helps you complete the
configuration task quickly and accurately.
Applicable Environment
If the bandwidth of upstream and downstream networks is different, you can configure traffic
shaping on the outgoing interface connecting the upstream network and downstream network.
In this manner, the rate of packets sent to the downstream network meets the requirements of
the bandwidth of the downstream network. This can prevent congestion and packet loss on the
network to a certain degree.
The S3700 supports traffic shaping on an interface and in an interface queue. You can configure
traffic shaping as required. If traffic shaping of these two types is configured, ensure that the
CIR for traffic shaping on an interface is greater than or equal to the sum of CIRs for traffic
shaping in an interface queue. Otherwise, traffic shaping fails. For example, traffic of lower
priorities preempts the bandwidth of traffic of higher priorities.
Pre-configuration Tasks
Before configuring traffic shaping, complete the following tasks:
l
Setting physical parameters of interfaces
l
Setting link layer attributes of interfaces to ensure normal operation of the interfaces
l
Assigning IP addresses to the interfaces and configuring routing protocols to ensure that
routes are reachable
Data Preparation
To configure traffic shaping, you need the following data.
No.
Data
1
Rate for traffic shaping on an interface
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.
63