mpls ping interval

Function

The mpls ping interval command sets the interval at which LSP ping packets are sent in a dynamic BFD session.

The undo mpls ping interval command restores the default interval.

By default, the interval at which LSP ping packets are sent in a dynamic BFD session is 60 seconds.

Format

mpls ping interval interval

undo mpls ping interval

Parameters

Parameter Description Value
interval

Specifies the interval at which LSP ping packets are sent by a dynamic BFD session.

The value is an integer that ranges from 30 to 600, in seconds. The default value is 60.

Views

BFD view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bfd write

Usage Guidelines

Usage Scenario

On an LSP, when the active role (the ingress) creates a dynamic BFD session, the sending of an LSP ping request packet carrying a BFD TLV is triggered. After receiving the LSP ping request packet, the passive role (the egress) replies with an LSP ping response packet carrying the BFD TLV. Then, a BFD session can be set up. The egress can automatically create the BFD session only after receiving the LSP ping packet. To set the interval at which LSP ping packets are sent by dynamic BFD, you can run the mpls ping interval command.

Prerequisites

BFD has been globally enabled using the bfd command in the system view.

Configuration Impact

Setting the interval at which LSP ping packets are sent to a small value imposes a heady burden on links.

Example

# Set the interval at which LSP ping packets are sent by dynamic BFD to 80 seconds.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] mpls ping interval 80
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >