path-type bypass (LSP Ping test instance)

Function

The path-type bypass command enables Echo Request packets to be transmitted through the bypass LSP.

The undo path-type command restores the default setting.

By default, Echo Request packets are not sent through the bypass LSP.

Format

path-type bypass

undo path-type

undo path-type bypass

Parameters

None

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

In an LSP ping test, service traffic is transmitted through the primary LSP on an IP network configured with SR-MPLS BE LSPs in normal situations. If the primary LSP is faulty, service traffic is switched to the bypass LSP before route convergence. However, the existing detection mechanism does not cover the forwarding entries of a bypass LSP. As a result, the system fails to switch traffic to the bypass LSP after the primary LSP becomes faulty, causing service interruptions. To resolve this problem, you can run the path-type bypass command to enable Echo Request packets to be transmitted through the bypass LSP.

Example

# Configure an LSPPING test instance to detect an bypass LSP.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type lspping
[*HUAWEI-nqa-user-test] lsp-type srbe
[*HUAWEI-nqa-user-test] path-type bypass
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >