lsp-tetunnel (LSP Ping test instance)

Function

The lsp-tetunnel command specifies a TE tunnel used in an NQA LSP Ping test instance.

The undo lsp-tetunnel command deletes the configured TE tunnel.

By default, no TE tunnel is configured.

Format

lsp-tetunnel { tunnelName | ifType ifNum }

lsp-tetunnel { tunnelName | ifType ifNum } { hot-standby | primary }

undo lsp-tetunnel

undo lsp-tetunnel { tunnelName | ifType ifNum } [ hot-standby | primary ]

Parameters

Parameter Description Value
tunnelName

Specifies the interface name of a TE tunnel.

The value is a character string, case-sensitive characters without spaces. The length ranges from 1 to 63.

ifType

Specifies the interface type of a TE tunnel of an NQA test instance. It must be tunnel.

-

ifNum

Specifies the interface number of a TE tunnel of an NQA test instance.

The value is a string of 1 to 63 case-insensitive characters, spaces not supported.

hot-standby

Specifies the checking of the hot-standby lsp of the tunnel.

-

primary

Specifies the checking of the primary lsp of the tunnel.

-

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

An LSP ping test instance monitors the connectivity of a TE tunnel.

Prerequisites

Only the interface number of a TE tunnel can be specified in an LSP test instance.

Before using the lsp-tetunnel command to configure the TE tunnel in an NQA LSP test instance, run the lsp-type te command to specify the NQA LSP test type to TE.

Configuration Impact

The specified interface number must be valid; otherwise, the test instance fails.

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.

    The command can be run to specify an interface number for a TE tunnel only when the LSP type is TE or SR-MPLS TE.

Example

# Specify a TE tunnel in the test instance named user test.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls rsvp-te
[*HUAWEI-mpls] quit
[*HUAWEI] interface Tunnel 10
[*HUAWEI-Tunnel10] tunnel-protocol mpls te
[*HUAWEI-Tunnel10] quit
[*HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type lspping
[*HUAWEI-nqa-user-test] lsp-type te
[*HUAWEI-nqa-user-test] lsp-tetunnel Tunnel 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >