sr-te-policy bgp-ls enable

Function

The sr-te-policy bgp-ls enable command is used to enable the SR policy to report BGP-LS.

The undo sr-te-policy bgp-ls enable command is used to disable the SR policy to report BGP-LS.

By default, the SR-MPLS TE Policy to report BGP-LS function is not enabled.

Format

sr-te-policy bgp-ls enable

undo sr-te-policy bgp-ls enable

Parameters

None

Views

Segment routing view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
srpolicy write

Usage Guidelines

Usage Scenario

After the sr-te-policy bgp-ls enable command is run in the segment-routing view, the system sends the path information to the BGP-LS with the granularity of candidate path of the SR policy.

Example

# Enable the SR-MPLS TE policy to report BGP-LS.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] sr-te-policy bgp-ls enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >