< Home

Setting the Priority Mapping for the Public Tunnel

Context

To map priorities of incoming packets to PHBs and colors based on the mappings defined in a DiffServ domain, bind the DiffServ domain to the inbound interface of the packets. The system then maps priorities of packets to PHBs and colors based on the mappings in the DiffServ domain.

To map PHBs and colors of outgoing packets to priorities based on the mappings defined in a DiffServ domain, bind the DiffServ domain to the outbound interface of the packets. The system then maps PHBs and colors of outgoing packets to priorities based on the mappings in the DiffServ domain.

Priority mapping must be configured before the public tunnel is set up. If priority mapping is configured after the public tunnel is set up, you must restart MPLS LDP; otherwise, the setting cannot take effect.

Procedure

  • Perform the following steps on the ingress node.
    1. Run system-view

      The system view is displayed.

    2. Run mpls-qos ingress { use vpn-label-exp | trust upstream { ds-name | default | none } }

      The PHB/color of packet is mapped to the EXP priority of the public tunnel on the ingress node.

      By default, mapping from the PHB/color to the EXP priority of the public tunnel is performed according to the settings in the default domain.

      If you want to perform priority mapping based on the EXP priority of the private tunnel, specify the vpn-label-exp parameter in the command.

  • Perform the following steps on the transit node.
    1. Run system-view

      The system view is displayed.

    2. Run mpls-qos transit trust upstream { ds-name | default | none }

      Priority mapping is performed based on the EXP priority of the public tunnel on the transit node.

      By default, mapping of the EXP priority of the public tunnel is performed according to the settings in the default domain.

  • Perform the following steps on the egress node.
    1. Run system-view

      The system view is displayed.

    2. Run mpls-qos egress trust upstream { ds-name | default | none }

      The EXP priority of the public tunnel is mapped to the PHB/color on the egress node.

      By default, mapping from the EXP priority of the public tunnel to the PHB/color is performed according to the settings in the default domain.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic