< Home

lsp-tetunnel

Function

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.

Format

lsp-tetunnel tunnel interface-number [ hot-standby | primary ]

undo lsp-tetunnel

Parameters

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

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

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.

An NQA LSP test instance can check the reachability of the following LSPs and collect SLA statistics:
  • MPLS TE tunnel: Run the lsp-tetunnel interface-type interface-number command to configure an interface number for an MPLS TE tunnel.
  • Hot-standby MPLS CR-LSP: Run the lsp-tetunnel interface-type interface-number hot-standby command to configure an interface number for a hot-standby MPLS CR-LSP.
  • Primary MPLS TE tunnel: Run the lsp-tetunnel interface-type interface-number primary command to configure an interface number for a primary MPLS TE tunnel.

Prerequisites

Before using the lsp-tetunnel command to configure the TE tunnel in an NQA LSP test instance, perform the following operations:

  • Run the interface tunnel interface-number command to create a tunnel interface.
  • Run the lsp-type te command to set the NQA LSP test type to TE.

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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >