mpls te cspf disable (Tunnel interface view)

Function

The mpls te cspf disable command disables CSPF calculation when an LSP is being established in a TE tunnel.

The undo mpls te cspf disable command enables CSPF calculation when an LSP is being established in a TE tunnel.

By default, CSPF calculation is enabled when an LSP is being established in a TE tunnel.

Format

mpls te cspf disable

undo mpls te cspf disable

Parameters

None

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

After CSPF is enabled globally, CSPF calculation is triggered each time an LSP is being established in a TE tunnel. In the inter-AS VPN-Option C scenario, no IGP is configured between two ASs, causing the TEDB to fail to be generated. As a result, CSPF calculation fails to be performed, and inter-area TE tunnels fail to be set up. Run the mpls te cspf disable command on the configured TE tunnel interface to disable CSPF on the TE tunnel, and set up inter-area TE tunnels using direct routes or static routes.

Prerequisites

<h2 id="before-you-execute-this-command-you-must-do-the-following">Before you execute this command, you must do the following:</h2>
  • An MPLS TE tunnel has been created using the interface tunnel command.
  • MPLS TE has been configured as the protocol of the tunnel using the tunnel-protocol command.

Configuration Impact

After the mpls te cspf disable command is run, CR-LSP selection functions, such as hop limit, CSPF tie-breaking, and SRLG, will become invalid.

Example

# Disable CSPF calculation when an LSP is being established in a TE tunnel.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls te cspf
[*HUAWEI-mpls] quit
[*HUAWEI] interface Tunnel10
[*HUAWEI-Tunnel10] tunnel-protocol mpls te
[*HUAWEI-Tunnel10] mpls te cspf disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >