< Home

lsp-exp

Function

The lsp-exp command configures the LSP EXP value of MPLS Echo Request packets in an NQA test instance.

Using the undo lsp-exp command, you can restore the default setting.

By default, LSP EXP is 0.

Format

lsp-exp exp

undo lsp-exp

Parameters

Parameter Description Value
exp

Specifies the LSP EXP value of an NQA test instance.

The value is an integer that ranges from 0 to 7. The default value is 0.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The MPLS experimental bits (EXP) field is a 3-bit field in the MPLS header used to mark the precedence of MPLS packets.

Test packets are added to different queues according to their LSP EXP values, so that
  • Congestion on the link can be avoided.
  • Specified queue can be detected.

Precautions

This command applies to only the LSP test.

You cannot change the configured LSP EXP value when the test is performed.

Example

# Set the LSP EXP value to 5.

<HUAWEI> system-view
[HUAWEI] nqa test-instance user test
[HUAWEI-nqa-user-test] test-type lspping
[HUAWEI-nqa-user-test] lsp-exp 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >