The apply ipv6 backup-nexthop command configures a backup next hop in a routing policy.
The undo apply ipv6 backup-nexthop command deletes the configured backup next hop.
By default, the backup next hop is not configured in a routing policy.
Product |
Support |
---|---|
S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S |
Supported. |
S2720-EI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S6720-LI, and S6720S-LI |
Not supported. |
Parameter | Description | Value |
---|---|---|
ipv6-address |
Specifies the IPv6 address of a backup next hop. |
The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
auto |
Automatically searches for the backup next hop. |
- |
Usage Scenario
The apply ipv6 backup-nexthop command is used to configure a backup next hop for a route in IPv6 FRR and VPN FRR scenarios. After IPv6 FRR is enabled, data traffic can be quickly switched to the backup next hop if the primary link fails.
Prerequisites
if-match clauses can be used to set matching rules such as interfaces, IPv6 prefix lists, and ACLs before a backup next hop is configured.
Follow-up Procedure
The configured route-policy can be used in the ipv6 frr (system view) command or the ipv6 frr (VPN instance view) command that is run to configure IPv6 FRR for a public or private network. It can also be used in the vpn frr command that is run to enable VPN FRR.
In a VPN FRR scenario, you only need to run the apply ipv6 backup-nexthop command to configure a backup next hop.
In an IPv6 FRR scenario, you need to run both the apply ipv6 backup-nexthop and apply ipv6 backup-interface commands.
Precautions
For P2P links, a backup next hop is not necessary. For non-P2P links, a backup next hop is necessary.
# Configure the backup interface and the backup next hop in the route-policy named ipv6_frr_rp.
<HUAWEI> system-view [HUAWEI] route-policy ip_frr_rp permit node 10 [HUAWEI-route-policy] apply ipv6 backup-interface vlanif10 [HUAWEI-route-policy] apply ipv6 backup-nexthop 2000::1
# Delete the configured backup next hop from the route-policy named ipv6_frr_rp.
<HUAWEI> system-view [HUAWEI] route-policy ipv6_frr_rp permit node 10 [HUAWEI-route-policy] undo apply ipv6 backup-nexthop