lspv mpls-lsp-ping echo enable ipv6

Function

The lspv mpls-lsp-ping echo enable ipv6 command enables a device to respond to MPLS echo request IPv6 packets.

The undo lspv mpls-lsp-ping echo enable ipv6 command disables a device from responding to MPLS echo request IPv6 packets.

By default, a device is enabled from responding to MPLS Echo Request IPv6 packets.

Format

lspv mpls-lsp-ping echo enable ipv6

undo lspv mpls-lsp-ping echo enable ipv6

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

ICMP-based ping and tracert commands are used to locate forwarding fault points. However, if an LSP link gets faulty, the LSP fault point cannot be located because ICMP packets are forwarded based on IP.

In this case, run the ping lsp segment-routing te ipv6 or tracert lsp segment-routing te ipv6 command to detect the LSP fault. The commands test LSP connectivity through MPLS echo request IPv6 and MPLS echo reply IPv6 packets. Both MPLS echo request IPv6 and MPLS echo reply IPv6 packets are UDP packets using the well-known UDP port of 3503. The receiver distinguishes MPLS echo request and MPLS echo reply packets according to the port number. An MPLS echo request message carries FEC is sent along the same LSP as common packets with the same FEC to detect the connectivity of the LSP. MPLS echo request IPv6 packets are transmitted to the destination through MPLS, whereas MPLS echo reply IPv6 packets are transmitted to the source through IP.

For management or security purposes, you can run the lspv mpls-lsp-ping echo enable ipv6 command to enable the device to respond to MPLS echo request IPv6 packets, or run the undo lspv mpls-lsp-ping echo enable ipv6 command to disable this function. This function is disabled by shutting down port 3503.

After the LSP ping or tracert test is completed, you are advised to run the undo lspv mpls-lsp-ping echo enable ipv6 command to disable the device from responding to MPLS echo request IPv6 packets to prevent system resource occupation.

Prerequisites

Before running the command, run the segment-routing ipv6 command in the system view to enable the SRv6 capability.

Configuration Impact

If the device is disabled from responding to MPLS Echo Request IPv6 packets by running the undo lspv mpls-lsp-ping echo enable ipv6 command, the device does not respond to the ping lsp segment-routing te ipv6 or tracert lsp segment-routing te ipv6 command. As a result, when the device functions as the ping or tracert destination, running the ping lsp segment-routing te ipv6 or tracert lsp segment-routing te ipv6 command times out.

Example

# Enable a device to respond to MPLS echo request IPv6 packets.
<HUAWEI> system-view
[*HUAWEI] lspv mpls-lsp-ping echo enable ipv6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >