To map PHBs to priorities of packets sent to a downstream device based on the mappings defined
in a DiffServ domain, bind the DiffServ domain to the outbound interface. The system then maps
PHBs and colors to priorities of packets based on the mappings defined in the DiffServ domain.
To bind multiple interfaces to the same DiffServ domain, perform the configuration on the port
group to reduce the workload.
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 upstream
{
ds-domain-name
|
default
|
none
}
The interface is bound to a DiffServ domain.
If the
trust upstream
none
command is run on an interface, the S3700 does not perform priority
mapping for incoming and outgoing packets on the interface.
To delete the DiffServ domain that is bound to an interface, you must first run the
undo trust
upstream
command to delete the bound DiffServ domain. Then run the
trust upstream
command to reconfigure the DiffServ domain.
For details about the mapping, see the following commands:
l
8021p-inbound defines the mapping from the default 802.1p priorities to PHBs and colors.
l
8021p-outbound defines the mapping from PHBs and colors to 802.1p priorities.
l
ip-dscp-inbound defines the mapping from DSCP priorities to PHBs and colors.
l
ip-dscp-outbound defines the mapping from PHBs and colors to DSCP priorities.
Step 4
(Optional) Run:
undo qos phb marking enable
PHB mapping of outgoing packets is disabled.
By default, PHB mapping is enabled on an outbound interface.
----End
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.
9