l To define matching rules based on the 802.1p priority in the inner VLAN tag of QinQ packets,
run:
if-match cvlan-8021p { 8021p-value } &<1-8>
l To define matching rules based on the 802.1p priority of packets in a VLAN, run:
if-match 8021p { 8021p-value } &<1-8>
l To define matching rules based on the VLAN ID in the inner VLAN tag or the VLAN IDs
in inner and outer tags of QinQ packets, run:
l To define matching rules based on the outer VLAN ID or VLAN IDs of inner and outer tags
of QinQ packets, run:
if-match vlan-id start-vlan-id [ to end-vlan-id ] [ cvlan-id cvlan-id ]
l To define matching rules based on discarded packets, run:
if-match discard
l To define matching rules based on double tags of QinQ packets, run:
if-match double-tag
l To define matching rules based on the EXP priority of MPLS packets, run:
if-match mpls-exp exp-value &<1-8>
l To define matching rules based on the destination MAC address, run:
if-match destination-mac mac-address [ mac-address-mask mac-address-mask ]
l To define matching rules based on the source MAC address, run:
if-match source-mac mac-address [ mac-address-mask mac-address-mask ]
l To define matching rules based on the incoming interface, run:
if-match inbound-interface interface-type interface-number
l To define matching rules based on the outgoing interface, run:
if-match outbound-interface interface-type interface-number
l To define matching rules based on the protocol field in the Ethernet frame header, run:
if-match l2-protocol{ arp | ip | mpls | rarp | protocol-value }
l To define matching rules based on all the packets, run:
if-match any
----End
Creating a Traffic Classifier Based on Layer 3 Information
After traffic classification based on Layer 3 information is configured, the S7700 classifies
packets according to Layer 3 information in packets.
Context
Do as follows on the S7700 where a traffic classifier based on Layer 3 information needs to be
created.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
Quidway S7700 Smart Routing Switch
Configuration Guide - QoS 1 Class-based QoS Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
14