R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference

299
Syntax
apply ip-address default next-hop standby
undo apply ip-address default next-hop [ standby ]
Default
Both default next hops take effect to achieve load sharing.
Views
Policy node view
Default command level
2: System level
Usage guidelines
When two default next hops are specified, only the active default next hop takes effect. When the active
default next hop is not available, the standby default next hop takes effect.
When you specify two default next hops by using the apply ip-address default next-hop ip-address
command, and set the two default next hops to operate in active/standby mode by using the apply
ip-address default next-hop standby command, the first default next hop configured is the active default
next hop and the second is the standby default next hop.
Examples
# Specify two default next hops 1.1.1.1 (the active default next hop) and 2.2.2.2, and set the two default
next hops to operate in active/standby mode.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-pbr-aa-11] apply ip-address default next-hop 1.1.1.1
[Sysname-pbr-aa-11] apply ip-address default next-hop 2.2.2.2
[Sysname-pbr-aa-11] apply ip-address default next-hop standby
Related commands
apply ip-address default next-hop ip-address
apply ip-address next-hop ip-address
Use apply ip-address next-hop to set the next hops for packets.
Use undo apply ip-address next-hop to remove the configuration.
Syntax
apply ip-address next-hop ip-address [ direct ] [ track track-entry-number ] [ ip-address [ direct ] [ track
track-entry-number ] ]
undo apply ip-address next-hop [ ip-address [ ip-address ] ]
Views
Policy node view
Default command level
2: System level