Example For Configuring Traffic Policing Based On A Traffic Classifier - Huawei Quidway S7700 Configuration Manual - Qos

Smart routing switch
Hide thumbs Also See for Quidway S7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - QoS
# Send traffic to GE 1/0/1 and GE 1/0/2 at the rate of 6000 kbit/s, 9000 kbit/s, and 11000 kbit/
s, and run the display qos car statistics command to check the QoS CAR statistics. If the
configuration is successful, you can obtain the following results:
l When packets are sent to GE 1/0/1 and GE 1/0/2 at the rate of 6000 kbit/s, all the packets are
l When packets are sent to GE 1/0/1 and GE 1/0/2 at the rate of 9000 kbit/s, all the packets on
l When packets are sent to GE 1/0/1 and GE 1/0/2 at the rate of 11000 kbit/s, certain packets
Run the display qos car statistics command on GE 1/0/1 in the inbound direction, and the
following information is displayed:
<Switch> display qos car statistics interface gigabitethernet 1/0/1 inbound
Passed packets:
Passed bytes:
Discard packets:
Discard bytes:
----End
Configuration Files
l
2.6.2 Example for Configuring Traffic Policing Based on a Traffic
Classifier
The Switch provides different bandwidth by configuring traffic policing based on a traffic
classifier and setting different CAR parameters.
Issue 01 (2011-07-15)
Applied number on Trunk inbound : 0
Applied number on Vlan Unknown Unicast : 0
Applied number on Vlan Multicast : 0
Applied number on Vlan Broadcast : 0
Applied number on ONU inbound : 0
Applied number on ONU outbound : 0
forwarded.
GE 1/0/1 are forwarded but certain packets on GE 1/0/2 are discarded.
on GE 1/0/1 and GE 1/0/2 are discarded.
Configuration file of the Switch
#
sysname Switch
#
vlan batch 100 200 300
#
qos car qoscar1 cir 8000 pir 10000 cbs 1000000 pbs 1250000
qos car qoscar2 cir 5000 pir 8000 cbs 625000 pbs 1000000
#
interface Vlanif300
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 100
qos car inbound qoscar1
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk allow-pass vlan 200
qos car inbound qoscar2
#
interface GigabitEthernet2/0/1
port link-type trunk
port trunk allow-pass vlan 100 200 300
#
return
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 Traffic Policing and Traffic Shaping Configuration
100
104800
1
1048
67

Advertisement

Table of Contents
loading

Table of Contents