The lsp-tetunnel command configures the TE tunnel used in an NQA LSP test.
The undo lsp-tetunnel command deletes the configured TE tunnel.
By default, no TE tunnel is configured for an LSP test instance.
Parameter | Description | Value |
---|---|---|
tunnel interface-number | Specifies the tunnel interface number. | - |
hot-standby | Indicates the hot-standby tunnel of the TE tunnel. | - |
primary | Indicates the primary tunnel of the TE tunnel. | - |
Usage Scenario
Hot standby: An ordinary backup CR-LSP is set up immediately after a primary CR-LSP is set up. The ordinary backup CR-LSP takes over traffic if the primary CR-LSP fails. After the primary CR-LSP recovers, traffic switches back.
CR-LSP backup can be configured to allow traffic to switch from a primary CR-LSP to a backup CR-LSP, providing end-to-end protection.
Prerequisites
Before using the lsp-tetunnel command to configure the TE tunnel in an NQA LSP test instance, perform the following operations:
Precautions
LSP Jitter test instances cannot test the hot-standby tunnel of a TE tunnel.
You cannot change the TE tunnel when the LSP test is performed.
# Configure the TE tunnel of the test named user test.
<HUAWEI> system-view [HUAWEI] interface tunnel 1 [HUAWEI-Tunnel1] 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 1
# Configure the CR-LSP hot-standby tunnel of the test named user test.
<HUAWEI> system-view [HUAWEI] interface tunnel 1 [HUAWEI-Tunnel1] 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 1 hot-standby