Huawei Quidway S7700 Configuration Manual - Qos page 47

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - QoS
[Switch-classifier-c2] if-match acl 3002
[Switch-classifier-c2] quit
Step 4 Create traffic behaviors.
# Create traffic behaviors b1 and b2 on the Switch to redirect packets to network segments
20.20.20.1/24 and 20.20.30.1/24.
[Switch] traffic behavior b1
[Switch-behavior-b1] redirect ip-nexthop 20.20.20.1
[Switch-behavior-b1] quit
[Switch] traffic behavior b2
[Switch-behavior-b2] redirect ip-nexthop 20.20.30.1
[Switch-behavior-b2] quit
Step 5 Create a traffic policy and apply it to an interface.
# Create traffic policy p1 on the Switch and bind traffic classifiers to traffic behaviors in the
traffic policy.
[Switch] traffic policy p1
[Switch-trafficpolicy-p1] classifier c1 behavior b1
[Switch-trafficpolicy-p1] classifier c2 behavior b2
[Switch-trafficpolicy-p1] quit
# Apply traffic policy p1 to GE 1/0/1.
[Switch] interface gigabitethernet1/0/1
[Switch-GigabitEthernet1/0/1] traffic-policy p1 inbound
[Switch-GigabitEthernet1/0/1] quit
[Switch] quit
Step 6 Verify the configuration.
# Check the configuration of ACL rules.
[Switch] display acl 3001
Advanced ACL 3001, 4 rules
Acl's step is 5
rule 5 permit ip precedence routine
rule 10 permit ip precedence priority
rule 15 permit ip precedence immediate
rule 20 permit ip precedence flash
[Switch] display acl 3002
Advanced ACL 3002, 4 rules
Acl's step is 5
rule 5 permit ip precedence flash-override
rule 10 permit ip precedence critical
rule 15 permit ip precedence internet
rule 20 permit ip precedence network
# Check the configuration of traffic classifiers.
[Switch] display traffic classifier user-defined
User Defined Classifier Information:
Total classifier number is 2
# View the configuration of the traffic policy.
Issue 01 (2011-07-15)
Classifier: c2
Precedence: 5
Operator: OR
Rule(s) : if-match acl 3002
Classifier: c1
Precedence: 10
Operator: OR
Rule(s) : if-match
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
acl 3001
1 Class-based QoS Configuration
40

Advertisement

Table of Contents
loading

Table of Contents