mpls te cspf path-selection adjacency-sid

Function

The mpls te cspf path-selection adjacency-sid command enables a device to run CSPF to compute an LSP in an SR-MPLS TE strictly based on adjacency SIDs.

The undo mpls te cspf path-selection adjacency-sid command disables a device from running CSPF to compute an LSP in an SR-MPLS TE strictly based on adjacency SIDs.

By default, this function is disabled.

Format

mpls te cspf path-selection adjacency-sid

undo mpls te cspf path-selection adjacency-sid

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

If the SR-MPLS TE ingress computes path, to enable the ingress to run CSPF to compute an LSP in an SR-MPLS TE strictly based on adjacency SIDs, run the mpls te cspf path-selection adjacency-sid command.

Prerequisites

The following operations have been performed:

  • An MPLS TE tunnel has been established using the interface tunnel command.
  • MPLS TE has been configured as a tunneling protocol using the tunnel-protocol command.
  • SR-MPLS TE has been configured using the mpls te signal-protocol segment-routing command to establish TE tunnels.

Example

# Enable a device to run CSPF to compute an LSP in an SR-MPLS TE strictly based on adjacency SIDs.
<HUAWEI> system-view
[~HUAWEI] mpls lsr-id 1.1.1.1
[*HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] interface tunnel 1
[*HUAWEI-Tunnel1] tunnel-protocol mpls te
[*HUAWEI-Tunnel1] mpls te signal-protocol segment-routing
[*HUAWEI-Tunnel1] mpls te cspf path-selection adjacency-sid
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >