< Home

mpls-qos transit

Function

The mpls-qos transit command performs the priority mapping based on the EXP priority of the public tunnel on the transit node.

The undo mpls-qos transit command restores the default settings.

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

Format

mpls-qos transit trust upstream { ds-name | default }

undo mpls-qos transit trust upstream

mpls-qos transit trust upstream none

undo mpls-qos transit trust upstream none

Parameters

Parameter Description Value
trust upstream

Trusts the specified DiffServ domain.

-
ds-name

Specifies the name of a DiffServ domain.

The value is an existing DiffServ domain name.

default

Specifies the DiffServ domain as a default domain.

-
none

Indicates that the system does not perform EXP priority mapping in the public network tunnel, and sets the EXP field to 0 in the public network tunnel.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To implement certain QoS functions on an MPLS network, the device needs to determine the packet precedence according to the tunnel label of the MPLS public network. Therefore, you need to map the tunnel label to the EXP field.

Prerequisites

The specified DiffServ domain has been created using the diffserv domain command in the system view.

Precautions

Run before setting up the public tunnel; otherwise, you must reestablish the MPLS LDP session to make the command take effect.

If you modify the settings of the global DiffServ domain or change the DiffServ mode of the interface, VSI, or VPN instance, you must reestablish the MPLS LDP session; otherwise, the modification cannot take effect.

Example

# Perform the priority mapping based on the EXP priority of the public tunnel on the transit node.

<HUAWEI> system-view
[HUAWEI] diffserv domain ds1
[HUAWEI-dsdomain-ds1] quit
[HUAWEI] mpls-qos transit trust upstream ds1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic