cspf disable

Function

The cspf disable command disables CSPF in a P2MP template.

The undo cspf disable command restores the default configuration.

By default, CSPF is enabled in a P2MP template.

Format

cspf disable

undo cspf disable

Parameters

None

Views

MPLS TE P2MP template 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 computation is triggered once TE LSPs are to be established. In an inter-domain scenario, if a loose explicit path is configured in a P2MP template and NG MVPN triggers the creation of dynamic P2MP tunnels, CSPF that is enabled by default causes a failure to establish the P2MP tunnel. To prevent this problem, run the cspf disable command in the P2MP template to disable CSPF path computation. Then BGP or static routes are used to establish inter-domain TE tunnels.

Example

# Disable CSPF in the P2MP template.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls te p2mp-te
[*HUAWEI-mpls] quit
[*HUAWEI] mpls te p2mp-template t1
[*HUAWEI-te-p2mp-template-t1] cspf disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >