The srv6-te-policy locator command associates an SRv6 TE Policy with an SRv6 locator and specifies a binding SID for the SRv6 TE Policy.
The undo srv6-te-policy locator command restores the default configuration.
By default, SRv6 TE policy does not associated with a locator.
Usage Scenario
After configuring the Binding SID for the SRv6 TE Policy, you can use the Binding SID for path stitching. The Binding SID needs to be configured within the Locator network segment.
You can use this command to associate an SRv6 TE Policy with an SRv6 locator and specify a binding SID for the SRv6 TE Policy.<HUAWEI> system-view [~HUAWEI] segment-routing ipv6 [~HUAWEI-segment-routing-ipv6] locator test1 ipv6-prefix 1::1 64 static 32 [*HUAWEI-segment-routing-ipv6-locator] quit [*HUAWEI-segment-routing-ipv6] srv6-te-policy locator test1