remark mpls-exp

Use remark mpls-exp to configure an EXP value marking action in a traffic behavior.

Use undo remark mpls-exp to delete the action.

Syntax

remark mpls-exp exp-value

undo remark mpls-exp

Default

No EXP value marking action is configured.

Views

Traffic behavior view

Predefined user roles

network-admin

mdc-admin

Parameters

exp-value: EXP value in the range of 0 to 7.

Usage guidelines

If an MPLS packet has multiple labels, this command marks the topmost label.

Examples

# Set the EXP value to 0 for MPLS packets.

<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] remark mpls-exp 0