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.