lsp-type (LSP jitter test instance)

Function

The lsp-type command specifies an LSP test type for an LSP jitter test instance.

The undo lsp-type command restores the default LSP test type.

By default, the LSP test type is ipv4.

Format

lsp-type ipv4

lsp-type te

undo lsp-type

Parameters

Parameter Description Value
te

Indicates that the TE tunnel is the test type of an LSP ping or traceroute test instance.

-

ipv4

Indicates that IPv4 is the test type of an LSP ping or traceroute test instance.

-

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

To specify a test type of an NQA LSP test instance, run the lsp-type command so that the test instance can monitor the connectivity of an LDP LSP or a TE tunnel.

  • If ipv4 is configured, the NQA test instance monitors the connectivity of a specified LDP LSP. The destination address of the test instance is configured using the destination-address command.
  • If te is configured, the NQA test instance monitors the connectivity of a TE tunnel. The destination address of the test instance is configured using the lsp-tetunnel command.

Prerequisites

An LSP test instance has been configured.

Precautions

If parameters need to be changed during the running of the test instance, the system prompts you whether to terminate the test instance. Press "Y" or "N" as required.

  • If you press "Y", the test instance is terminated and parameters changed. The settings take effect after being committed. To restart the test instance, run the start command.
  • If you press "N", the test instance keeps running, and the parameters fail to be modified.

Example

# Set the test type of the LSP ping test instance named user test to ipv4.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type lspjitter
[*HUAWEI-nqa-user-test] lsp-type ipv4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >