entropy-label exp-mode

Function

The entropy-label exp-mode command sets a mode of handling the EXP field in MPLS packets with label 7.

The undo entropy-label exp-mode command is used to restore the default configuration.

By default, the uniform mode is used.

Format

entropy-label exp-mode { uniform | pipe }

undo entropy-label exp-mode

Parameters

Parameter Description Value
uniform

Indicates the uniform mode of handling the EXP field in MPLS packets with label 7.

-

pipe

Indicates the pipe mode of handling the EXP field in MPLS packets with label 7.

-

Views

MPLS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
config write

Usage Guidelines

Usage Scenario

To set a mode of handling the EXP field in MPLS packets with label 7, run the entropy-label exp-mode command. Either of the following modes can be set (take effect only on the egress PE):

  • uniform: The egress PE copies the EXP value in an MPLS packet to the EXP field in the IP or inner packet.
  • pipe: The egress PE does not copy the EXP value in an MPLS packet to the EXP field in the IP or inner packet.

Precautions

This command applies only to the Admin-VS.

Example

# Set a mode of handling the EXP field in MPLS packets with label 7 to uniform.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] entropy-label exp-mode uniform
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >