Step 6
Verify the configuration.
l
Verify that the traffic sent from the Switch to each city is within 2 Mbit/s.
Use a tester to simulate traffic with priorities EF, AF31, AF11, and BE and traffic with other
priorities. Send each type of traffic from GE 0/0/2 of the Switch to city A and city B at a rate
of 100 Mbit/s. Observe the received traffic on GE0/0/1 of SwitchA and SwitchB. You can
see that the traffic rate is 2 Mbit/s.
l
Verify that the traffic with other priorities has certain bandwidth.
Use a tester to simulate traffic with DSCP priorities EF and AF21. Send each type of traffic
from GE 0/0/2 of the Switch to city A at a rate of 100 Mbit/s. Observe the received traffic
on GE0/0/1 of SwitchA. The bandwidth of traffic with DSCP priority EF is higher than 700
kbit/s, the bandwidth of traffic with DSCP priority AF21 is higher than 64 kbit/s, and the
bandwidth sum of the two types of traffic is 2 Mbit/s.
----End
Configuration Files
l
Configuration file of the Switch
#
sysname Switch
#
qos car city_a cir 2000 cbs 376000
qos car city_b cir 2000 cbs 376000
#
acl number 3000
rule 5 permit tcp destination 10.1.0.0 0.0.255.255
acl number 3001
rule 5 permit tcp destination 10.2.0.0 0.0.255.255
#
traffic classifier city_a_af11 operator and
if-match acl 3000
if-match dscp af11
traffic classifier city_a_af31 operator and
if-match dscp af31
if-match acl 3000
traffic classifier city_a_be operator and
if-match dscp default
if-match acl 3000
traffic classifier city_a_default operator and
if-match acl 3000
traffic classifier city_a_ef operator and
if-match dscp ef
if-match acl 3000
traffic classifier city_b_af11 operator and
if-match dscp af11
if-match acl 3001
traffic classifier city_b_af31 operator and
if-match dscp af31
if-match acl 3001
traffic classifier city_b_be operator and
if-match dscp default
if-match acl 3001
traffic classifier city_b_default operator and
if-match acl 3001
traffic classifier city_b_ef operator and
if-match dscp ef
if-match acl 3001
#
traffic behavior city_a_af11
car cir 500 pir 2000 cbs 62500 pbs 250000 green pass yellow pass red discard
car city_a share
statistic enable
traffic behavior city_a_af31
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.
79