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.
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. |
- |
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.
<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