< Home

Creating a DiffServ Domain and Configuring Priority Mapping

Context

A DiffServ domain comprises of connected DiffServ nodes, which use the same service policy and implement the same PHBs.

When traffic enters a device, the device maps packet priorities to PHBs and colors. The device performs congestion management based on PHBs and congestion avoidance based on colors. When traffic flows out of the device, the device maps PHBs and colors of packets to priorities. The downstream device provides QoS services based on packet priorities.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run diffserv domain { default | ds-domain-name }

    A DiffServ domain is created and the DiffServ domain view is displayed.

    The default domain defines the default mappings from packet priorities to PHBs and colors. You can modify the mappings defined in the default domain but cannot delete the default domain.

  3. Define a traffic policy on the device.

    • Run mpls-exp-inbound exp-value phb service-class [ color ]

      The inbound interface is configured to map EXP priorities of MPLS packets to the PHBs and colors.

    • Run mpls-exp-outbound service-class color map exp-value

      The outbound interface is configured to map PHBs and colors to EXP priorities of MPLS packets.

    To check the default mappings between PHBs and colors of MPLS packets and EXP priorities, see mpls-exp-inbound and mpls-exp-outbound commands.

Verifying the Configuration

Run the display diffserv domain [ all | name ds-domain-name ] command to check the DiffServ domain configuration.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >