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.
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.
<HUAWEI> system-view [~HUAWEI] pce-client [*HUAWEI-pce-client] capability segment-routing-ipv6
<HUAWEI> system-view [~HUAWEI] pce-client [*HUAWEI-pce-client] capability initiated-lsp
<HUAWEI> system-view [~HUAWEI] pce-client [*HUAWEI-pce-client] capability segment-routing label-stitch
<HUAWEI> system-view [~HUAWEI] pce-client [*HUAWEI-pce-client] capability segment-routing