mpls te cspf (MPLS view)

Function

The mpls te cspf command enables Constrained Shortest Path First (CSPF).

The undo mpls te cspf command disables CSPF.

This command varies in transport and router modes. For detailed differences, see Differences Between Commands in Transport and Router Modes. This topic describes the command configuration in router mode.

By default, CSPF is disabled.

Format

mpls te cspf

undo mpls te cspf

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 mechanism of selecting a path in an MPLS domain. CSPF must be enabled before other CSPF-related configurations are performed.

Prerequisites

MPLS TE must be enabled in the MPLS view before CSPF is enabled.

Example

# Enable CSPF.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls te cspf
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >