< Home

mpls lsp-number-limit

Function

The mpls lsp-number-limit command sets the maximum number of BGP LSPs that can be established.

The undo mpls lsp-number-limit command restores the default maximum number of BGP LSPs that can be established, which is defined in a PAF file.

By default, the maximum number of BGP LSPs that can be established is defined in a PAF file.

Format

mpls lsp-number-limit bgp max-number

undo mpls lsp-number-limit bgp

Parameters

Parameter Description Value
bgp max-number Specifies the maximum number of BGP LSPs that can be established. The value is an integer ranging from the default value defined in the PAF file to the smaller one of the upper limit defined in a PAF file and the upper limit supported on an entire device.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The maximum number of BGP LSPs that can be established does not need to be adjusted. To dynamically set the maximum number of BGP LSPs that can be established on a Huawei device, run the mpls lsp-number-limit command.

Prerequisites

MPLS has been enabled globally.

Precautions

After a master/slave main control board switchover is performed, the BGP protocol is in the GR process. In the GR process, the mpls lsp-number-limit command cannot be used.

If the configured maximum number of BGP LSPs is less than the number of established LSPs, a configuration inconsistency between the master and slave main control board occurs, causing the slave main control board to restart.

Example

# Set the maximum number of BGP LSPs that can be established to 150000.

<sysname> system-view
[sysname] mpls
[sysname-mpls] mpls lsp-number-limit bgp 70000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >