Huawei S3700HI Configuration Manual - Qos page 19

Table of Contents

Advertisement

S3700HI Ethernet Switches
Configuration Guide - QoS
l To define matching rules based on the VLAN ID in the inner VLAN tag or the VLAN IDs
l To define matching rules based on the outer VLAN ID or VLAN IDs of inner and outer tags
l To define matching rules based on discarded packets, run:
l To define matching rules based on double tags of QinQ packets, run:
l To define matching rules based on the destination MAC address, run:
l To define matching rules based on the source MAC address, run:
l To define matching rules based on the incoming interface, run:
l To define matching rules based on the outgoing interface, run:
l To define matching rules based on the protocol field in the Ethernet frame header, run:
l To define matching rules based on all the packets, run:
----End
Creating a Traffic Classifier Based on Layer 3 Information
After traffic classification based on Layer 3 information is configured, the S3700 classifies
packets according to Layer 3 information in packets.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
traffic classifier classifier-name [ operator { and | or } ]
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 AND.
Step 3 Run the following commands as required.
Issue 01 (2012-03-15)
in inner and outer tags of QinQ packets, run:
of QinQ packets, run:
if-match vlan-id start-vlan-id [ to end-vlan-id ] [ cvlan-id cvlan-id ]
if-match discard
if-match double-tag
if-match destination-mac mac-address [
mac-address-mask ]
if-match source-mac mac-address [
if-match inbound-interface interface-type interface-number
if-match outbound-interface interface-type interface-number
if-match l2-protocol{ arp | ip | mpls | rarp | protocol-value }
if-match any
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 Class-based QoS Configuration
mac-address-mask ]
12

Advertisement

Table of Contents
loading

Table of Contents