The segment-routing ipv6 apply-sid import-rib command configures a device to apply for SIDs for routes in the VPNv4 or VPNv6 address family in one-SID-per-route or one-SID-per-next-hop mode.
The undo segment-routing ipv6 apply-sid import-rib command disables a device from applying for SIDs for routes in the VPNv4 or VPNv6 address family in one-SID-per-route or one-SID-per-next-hop mode.
By default, no SID application mode is configured.
Usage Scenario
In an Option B SRv6 and MPLS interworking scenario, the border leaf node is connected to the EVPN L3VPN over SRv6 network on one side and to the VPNv4/VPNv6 over MPLS network on the other side. After the border leaf node receives routes from the VPNv4/VPNv6 over MPLS network, it removes VPNv4/VPNv6 labels from routes and applies for SIDs. In one-SID-per-route mode, it applies for one SID for each route. In one-SID-per-next-hop mode, it applies for one SID for each next hop.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] l2vpn-family evpn [*HUAWEI-bgp-af-evpn] segment-routing ipv6 apply-sid per-nexthop import-rib vpnv4 [*HUAWEI-bgp-af-evpn] segment-routing ipv6 apply-sid per-nexthop import-rib vpnv6 [*HUAWEI-bgp-af-evpn] segment-routing ipv6 apply-sid per-route import-rib vpnv4 [*HUAWEI-bgp-af-evpn] segment-routing ipv6 apply-sid per-route import-rib vpnv6