The srv6-te-policy bgp-ls enable command enables a device to report path information about an SRv6 TE Policy to the BGP-LS module.
The undo srv6-te-policy bgp-ls enable command disables a device from reporting path information about an SRv6 TE Policy to the BGP-LS module.
By default, the switch that the SRv6 TE policy reports to BGP-LS is not enabled.
Usage Scenario
After the srv6-te-policy bgp-ls enable command is run in the segment routing IPv6 view, the device reports candidate path-specific information about the SRv6 TE Policy to the BGP-LS module. If a controller exists, the BGP-LS module can send the path information to the controller through the BGP-LS peer relationship.