The nexthop interface command configures a device to allocate SIDs to BGP VPN IPv4 routes based on specified next hops.
The undo nexthop interface command restores the default configuration.
By default, a device is not configured to allocate SIDs to BGP VPN IPv4 routes based on next hops.
Usage Scenario
In an EVPN L3VPNv4 over SRv6 BE/SRv6 TE Policy scenario, to properly use network resources and reduce network congestion, run the nexthop interface command to allocate SIDs to BGP VPN IPv4 routes based on specified next hops. This configuration helps implement SID-based load balancing.
Precautions
<HUAWEI> system-view [~HUAWEI] ip vpn-instance v [*HUAWEI-vpn-instance-v] route-distinguisher 1:1 [*HUAWEI-vpn-instance-v-af-ipv4] quit [*HUAWEI-vpn-instance-v] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv4-family vpn-instance v [*HUAWEI-bgp-v] segment-routing ipv6 locator 1 evpn [*HUAWEI-bgp-v] segment-routing ipv6 apply-sid specify-nexthop evpn [*HUAWEI-bgp-v-sid-np-evpn] nexthop 1.1.1.1 interface GigabitEthernet 0/1/1