< Home

mpls-qos ingress

Function

The mpls-qos ingress command maps the PHB/color of packets to the EXP priority of the public tunnel on the ingress node.

The undo mpls-qos ingress 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 ingress { use vpn-label-exp | trust upstream { ds-name | default } }

undo mpls-qos ingress { use vpn-label-exp | trust upstream }

mpls-qos ingress trust upstream none

undo mpls-qos ingress trust upstream none

Parameters

Parameter Description Value
use vpn-label-exp

Indicates the EXP value in the inner label of a packet.

-
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. You can specify use vpn-label-exp.

Prerequisites

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

Precautions

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

Example

# Map the PHB/color of packets to the EXP priority of the public tunnel on the ingress node.

<HUAWEI> system-view
[HUAWEI] diffserv domain ds1
[HUAWEI-dsdomain-ds1] quit
[HUAWEI] mpls-qos ingress trust upstream ds1

System Response

None

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