1.3.2 Configuring an Interface to Trust the Priority of Packets
After an interface is configured to trust packet priorities, the S3700 performs PHB mapping
according to the specified priority.
Context
The S3700 provides the following priority trust modes:
l
Trusting 802.1p priorities
If packets carry a VLAN tag, the S3700 searches for the mapping table of 802.1p priorities
and internal priorities and marks internal priorities for the packets based on the 802.1p
priorities of packets. If packets do not carry a VLAN tag, the S3700 uses the default 802.1p
priority of an interface and searches for the mapping table of 802.1p priorities and internal
priorities based on the default 802.1p priority of an interface.
l
Trusting DSCP priorities
The S3700 searches for the mapping table of DSCP priorities and internal priorities and
marks internal priorities for the packets based on DSCP priorities of packets.
To set the same trust priority on multiple interfaces, perform the configuration on the port group.
NOTE
Internal priorities are represented by CoS and colors defined in the DiffServ model.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Or, run:
port-group
port-group-name
The port group view is displayed.
NOTE
l
The interface type can be Ethernet, GE, or Eth-Trunk.
l
Create a port group before performing this task. For details on how to create a port group, see (Optional)
Configuring the Interface Group in the
S3700HI Ethernet Switches Configuration Guide - Ethernet
.
Step 3
Run:
trust
{
8021p
{
inner
|
outer
} |
dscp
}
The interface is configured to trust packet priorities.
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.
6