Figure 1-2
Networking diagram of priority re-marking based on complex traffic classification
Core
Network
GE0/0/1
GE0/0/3
Switch
Router
GE0/0/2
VLAN 100
VLAN 200
Branch 1 of the
enterprise
branch 2 of the
enterprise
VLAN 300
Configuration Roadmap
The configuration roadmap is as follows:
1.
Create VLANs and configure interfaces so that Branch 1 and Branch 2 of the enterprise
can access the network through the Switch.
2.
Create traffic classifiers based on the VLAN ID in the inner VLAN tag on the Switch.
3.
Create traffic behaviors on the Switch and re-mark 802.1p priorities of packets.
4.
Create a traffic policy on the Switch, bind traffic behaviors to traffic classifiers in the traffic
policy, and apply the traffic policy to the interface at the inbound direction.
Data Preparation
To complete the configuration, you need the following data:
l
Re-marked priorities of packets with different VLAN IDs in the inner VLAN tags
l
Type, direction, and number of the interface that a traffic policy needs to be applied to
Procedure
Step 1
Create VLANs and configure interfaces.
# Create VLANs 100, 200, and 300 on the Switch and configure the interfaces so that the
Switch adds the outer VLAN tag with the VLAN ID as 300 to the packets sent from GE 0/0/1
and GE 0/0/2 and GE 0/0/3 can forward packets in VLAN 300.
<Quidway>
system-view
[Quidway]
sysname Switch
S3700HI Ethernet Switches
Configuration Guide - QoS
1 Class-based QoS Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
42