Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
diffserv domain
{
default
|
ds-domain-name
}
A DiffServ domain is created and the DiffServ domain view is displayed.
The default DiffServ domain defines the mappings from priorities of packets to PHBs and colors.
You can change the mappings defined in the default DiffServ domain, but cannot delete the
default DiffServ domain.
In addition to the default DiffServ domain, a maximum of seven domains can be created on an
S3700.
Step 3
Run the following commands as required.
l
To map 802.1p priorities of packets in a VLAN to PHBs and colors, run the following
command on the inbound interface:
8021p-inbound
8021p-value
phb
service-class
[
color
]
l
To map PHBs and colors of packets to 802.1p priorities of VLAN packets, run the following
command on the outbound interface:
8021p-outbound
service-class
color
map
8021p-value
l
To map DSCP priorities of IP packets to PHBs and colors, run the following command on
the inbound interface:
ip-dscp-inbound
dscp-value
phb
service-class
[
color
]
l
To map PHBs and colors to DSCP priorities of IP packets, run the following command on
the outbound interface:
ip-dscp-outbound
service-class
color
map
dscp-value
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.
----End
1.3.5 Applying a DiffServ Domain
After the DiffServ domain is applied to a specified interface, the S3700 performs PHB mapping
for packets passing through the interface.
Context
To map priorities of packets coming from an upstream device to PHBs and colors based on the
mappings defined in a DiffServ domain, bind the DiffServ domain to the inbound interface. The
system maps packet priorities to PHBs and colors based on the mappings defined in the DiffServ
domain.
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.
8