mpls te cspf optimize-mode disable

Function

The mpls te cspf optimize-mode disable command disables the optimization mode when CSPF is used to calculate the path.

The undo mpls te cspf optimize-mode disable command enables the optimization mode when CSPF is used.

By default, CSPF uses optimization mode when calculating paths.

Format

mpls te cspf optimize-mode disable

undo mpls te cspf optimize-mode disable

Parameters

None

Views

MPLS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

CSPF provides a method for selecting a path in the MPLS domain. By default, the optimization mode is used for path calculation, and the path calculation is performed from Egress to Ingress. Compared with the common calculation method, the optimization mode has higher efficiency.

The mpls te cspf optimize-mode disable command is used to disable the CSPF optimization mode. After the configuration, the path is calculated from Ingress to Egress.

Example

# Disable the optimization mode when CSPF is used to calculate the path.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls te cspf
[*HUAWEI-mpls] mpls te cspf optimize-mode disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >