Huawei Quidway S7700 Configuration Manual - Qos page 77

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - QoS
[Switch-behavior-b1] remark dscp 46
[Switch-behavior-b1] statistic enable
[Switch-behavior-b1] quit
[Switch] traffic behavior b2
[Switch-behavior-b2] car cir 4000 pir 10000 green pass
[Switch-behavior-b2] remark dscp 30
[Switch-behavior-b2] statistic enable
[Switch-behavior-b2] quit
[Switch] traffic behavior b3
[Switch-behavior-b3] car cir 4000 pir 10000 green pass
[Switch-behavior-b3] remark dscp 14
[Switch-behavior-b3] statistic enable
[Switch-behavior-b3] quit
Step 4 Create a traffic policy and apply it on the interface.
# Create traffic policy p1 on the Switch, bind traffic classifiers to traffic behaviors in the traffic
policy, and apply the traffic policy to GE1/0/1 in the inbound direction to limit the packets
received from the user side and re-mark priorities of these packets.
[Switch] traffic policy p1
[Switch-trafficpolicy-p1] classifier c1 behavior b1
[Switch-trafficpolicy-p1] classifier c2 behavior b2
[Switch-trafficpolicy-p1] classifier c3 behavior b3
[Switch-trafficpolicy-p1] quit
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] traffic-policy p1 inbound
[Switch-GigabitEthernet1/0/1] quit
Step 5 Verify the configuration.
# Check the configuration of the traffic classifier.
[Switch] display traffic classifier user-defined
User Defined Classifier Information:
Total classifier number is 3
# Check the configuration of the traffic policy. Here, the configuration of the traffic policy p1
is displayed.
[Switch] display traffic policy user-defined p1
User Defined Traffic Policy Information:
Policy: p1
Issue 01 (2011-07-15)
Classifier: c2
Precedence: 10
Operator: OR
Rule(s) : if-match vlan-id 110
Classifier: c3
Precedence: 15
Operator: OR
Rule(s) : if-match vlan-id 100
Classifier: c1
Precedence: 5
Operator: OR
Rule(s) : if-match vlan-id 120
Classifier: c1
Operator: OR
Behavior: b1
Committed Access Rate:
CIR 2000 (Kbps), PIR 10000 (Kbps), CBS 250000 (byte), PBS 1250000 (byte)
Color Mode: color Blind
Conform Action: pass
Yellow
Action: pass
Exceed
Action: discard
Marking:
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 Traffic Policing and Traffic Shaping Configuration
70

Advertisement

Table of Contents
loading

Table of Contents