Huawei Quidway S7700 Configuration Manual - Qos page 22

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - QoS
traffic classifier classifier-name [ operator { and | or } ] [ precedence
precedence-value ]
A traffic classifier based on Layer 3 information is created and the traffic classifier view is
displayed.
The and parameter indicates that the relationship between rules in a traffic classifier is AND.
That is, the packets match a traffic classifier only when the packets match all non-ACL rules
and an ACL rule in the traffic classifier. The or parameter indicates that the relationship between
rules in a traffic classifier is OR. That is, the packets match a traffic classifier when the packets
match a rule in the traffic classifier.
By default, the relationship between rules in a traffic classifier is OR.
Step 3 Run the following commands as required.
l To define matching rules based on the DSCP priority of IP packets, run:
l To define matching rules based on the IP priority of IP packets, run:
l To define matching rules based on the Layer 3 protocol type, run:
l To define matching rules based on the SYN Flag field of TCP packets, run:
l To define matching rules based on the next IPv6 packet header type, run:
----End
Creating a Traffic Classifier Based on an ACL
After traffic classification based on an ACL is configured, the S7700 classifies packets based
on the ACL.
Context
The S7700 can use an ACL to classify packets based on the IP quintuple.
The S7700 supports basic ACLs, Layer 2 ACLs, user-defined ACLs and advanced ACLs.
l
l
l
Issue 01 (2011-07-15)
if-match [ ipv6 ] dscp dscp-value &<1-8>
if-match ip-precedence ip-precedence-value &<1-8>
NOTE
In a traffic classifier where the relationship between rules is AND, the if-match dscp and if-match ip-
precedence commands cannot be used simultaneously.
if-match protocol { ip | ipv6 }
if-match tcp syn-flag syn-flag { syn-flag-value | ack | fin | psh | rst | syn |
urg }
if-match ipv6 next-header header-number first-next-header
NOTE
G24SA, X12SA and G24CA boards do not support the routes whose prefix length ranges from 64 to
128.
Basic ACLs are used to classify data packets based on the source IP address, fragmentation
flag, and time segment of packets.
Advanced ACLs are used to classify and define data packets based on the source IP address,
destination IP address, source port number, destination port number, fragmentation flag,
time segment, and protocol type of packets.
Layer 2 ACLs are used to classify data packets based on the source MAC address and
destination MAC address of packets.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 Class-based QoS Configuration
15

Advertisement

Table of Contents
loading

Table of Contents