Configuration Files
l
Configuration file of the Switch
#
sysname Switch
#
vlan batch 100 200 300
#
diffserv domain ds1
8021p-inbound 0 phb af4 green
#
diffserv domain ds2
8021p-inbound 0 phb af2 green
#
interface Vlanif300
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 100
trust upstream ds1
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 200
trust upstream ds2
#
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 100 200 300
#
return
1.7.2 Example for Re-marking the Priorities Based on Complex
Traffic Classification
After priority re-marking based on complex traffic classification is configured, the S3700 adds
the same outer VLAN ID to packets with different VLAN IDs. In addition, the S3700 re-marks
different 802.1p priorities of packets with different VLAN IDs to provide differentiated services.
Networking Requirements
The Switch is connected to the router through GE0/0/3; Branch 1 and Branch 2 of the enterprise
can access the network through the Switch and router. See
.
Data services of Branch 1 and Branch 2 of the enterprise come from VLANs 100 and 200. When
the data service packets of Branch 1 and Branch 2 of the enterprise pass the Switch, the
Switch needs to add the outer VLAN tag with the VLAN 300 to the packets so that these packets
are identified as data services on the core network. In addition, Branch 1 requires better QoS
guarantee; therefore, the priority of data packets to Branch 1 is mapped to 4 and the priority of
data packets to Branch 2 is mapped to 2. By doing this, differentiated services are provided.
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.
41