The segment-routing ipv6 locator command configures an SRv6 locator to be referenced by the EVPN address family.
The undo segment-routing ipv6 locator command deletes the SRv6 locator referenced by the EVPN address family.
By default, no SRv6 locator is referenced in the EVPN address family view.
Usage Scenario
In an Option B SRv6 and MPLS interworking scenario, a border leaf node is connected to an EVPN L3VPN over SRv6 network on one side and to a VPNv4/VPNv6 over MPLS network on the other side. After this command is run, the border leaf node removes the VPNv4/VPNv6 label from the received VPNv4/VPNv6 over MPLS route and applies for a SID.
<HUAWEI> system-view [~HUAWEI] segment-routing ipv6 [*HUAWEI-segment-routing-ipv6] locator as ipv6-prefix 100::1 64 static 32 [*HUAWEI-segment-routing-ipv6-locator] quit [*HUAWEI-segment-routing-ipv6] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] l2vpn-family evpn [*HUAWEI-bgp-af-evpn] segment-routing ipv6 locator as