remark mpls-exp

Function

The remark mpls-exp command re-marks the EXP value of MPLS packets.

The undo remark mpls-exp command cancels the configuration.

By default, re-marking the EXP value of MPLS packets is not configured in traffic behavior view.

Format

remark mpls-exp exp

undo remark mpls-exp [ exp ]

Parameters

Parameter Description Value
exp

Specifies the EXP value of MPLS packets.

The value is an integer ranging from 0 to 7.

Views

Traffic behavior view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

You can run this command to re-mark the EXP value of MPLS packets.

Prerequisites

The traffic behavior is configured.

Follow-up Procedure

The traffic policy is configured and the policy is applied to interfaces.

Precautions

If the remark mpls-exp command is run repeatedly in the same traffic behavior view, the later configuration overrides the previous one.

The remark mpls-exp command can be applied to only inbound traffic on a P device.

This command re-marks only the outermost label of packets.

Example

# Set the EXP value of MPLS packets to 3.
<HUAWEI> system-view
[~HUAWEI] traffic behavior b1
[*HUAWEI-behavior-b1] remark mpls-exp 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >