capability

Function

The capability command configures the capability of generating tunnels and LSPs on a PCE client.

The undo capability command restores the default configuration.

By default, a PCC is disabled from generating tunnels and LSPs.

Format

capability { initiated-lsp | segment-routing [ label-stitch ] }

undo capability { initiated-lsp | segment-routing [ label-stitch ] }

Parameters

Parameter Description Value
initiated-lsp

Enables a PCC to generate PCE initiated LSPs.

-

segment-routing

Enables the segment routing capability on a PCC.

-

label-stitch

Enables a PCC to process label stitch messages.

-

Views

PCE client view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pce write

Usage Guidelines

Usage Scenario

In a scenario where a PCE is used to establish an SR-MPLS TE tunnel, the PCE client needs to support segment routing. To enable the PCE client to support segment routing, run the capability segment-routing command.

In a scenario where a PCE is used to establish an automatic RSVP-TE tunnel, the PCE client must support the initiated-lsp capability. In this case, run the capability initiated-lsp command.

To create an SRv6 TE Policy using a PCE, run the capability segment-routing-ipv6 command to enable the PCE client to support SRv6.

Prerequisites

A PCE client has been configured using the pce-client command.

Configuration Impact

After the capability command is run, changing the PCC capability initiates existing PCEP sessions.

Example

# Enable the SRv6 capability on a PCC.
<HUAWEI> system-view
[~HUAWEI] pce-client
[*HUAWEI-pce-client] capability segment-routing-ipv6
# Enable the initiated-lsp capability on a PCC.
<HUAWEI> system-view
[~HUAWEI] pce-client
[*HUAWEI-pce-client] capability initiated-lsp
# Enable a PCC to process label stitch messages of SR-MPLS TE tunnel.
<HUAWEI> system-view
[~HUAWEI] pce-client
[*HUAWEI-pce-client] capability segment-routing label-stitch
# Enable the segment routing capability on a PCC.
<HUAWEI> system-view
[~HUAWEI] pce-client
[*HUAWEI-pce-client] capability segment-routing
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >