Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).

Example for Configuring Priority Mapping

Example for Configuring Priority Mapping

Networking Requirements

As shown in Figure 3-5, tenant 1 and tenant 2 lease different servers that connect to core switches through an access switch and then access
the network outside the data center through egress routers.

The 802.1p priorities of packets from the servers of tenants 1 and 2 are both 0. The customer wants to provide differentiated services for tenant 1 and tenant 2 so that the CoS value of
tenant 1 is higher than that of tenant 2. This ensures low-delay services for tenant 1.

Figure 3-5 Networking diagram of priority mapping

Configuration Roadmap

The configuration roadmap is as follows:

Create VLANs and add interfaces to corresponding VLANs to enable Switch to communicate with the tenants' servers, SwitchA, and SwitchB.

Configure the interfaces that packets of tenants pass through to trust outer 802.1p priorities.

Create DiffServ domains on the Switch to map the 802.1p priority of tenant 1 to AF4 and the 802.1p priority of tenant 2 to AF2. Then apply the DiffServ domains to 10GE1/0/1 and 10GE1/0/2 to provide differentiated
services for the two tenants.