lspv mpls-lsp-ping cpu-defend

Function

The lspv mpls-lsp-ping cpu-defend command sets an upper limit for the rate of sending MPLS echo request packets to the main control board.

The undo lspv mpls-lsp-ping cpu-defend command restores the default rate.

By default, 1000 MPLS Echo Request packets are sent to the main control board per second.

Format

lspv mpls-lsp-ping cpu-defend cpu-defend

undo lspv mpls-lsp-ping cpu-defend cpu-defend

undo lspv mpls-lsp-ping cpu-defend

Parameters

Parameter Description Value
cpu-defend

Specifies the rate of sending MPLS echo request packets to the main control board.

The value is an integer ranging from 10 to 65535, expressed in packets per second.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

As NQA is deployed on the main control board of a device, both the initiator and responder of an LSP ping test need to send LSP ping test packets to the main control board for processing. If a large number of packets are sent to the main control board, the CPU usage of the main control board increases, which adversely affects device operation. To prevent this problem, run the lspv mpls-lsp-ping cpu-defend command to set an upper limit for the rate of sending MPLS echo request packets to the main control board.

Configuration Impact

If the number of MPLS Echo Request packets sent to the main control board exceeds the specified upper limit, excess packets will be discarded.

Example

# Set the upper limit for the rate of sending MPLS echo request packets to the main control board to 1500 packets per second.
<HUAWEI> system-view
[~HUAWEI] lspv mpls-lsp-ping cpu-defend 1500
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >