R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
300
Parameters
ip-address: Specifies the next hop IP address.
direct: Specifies that the next hop must be directly connected to take effect.
track track-entry-number: Specifies a track entry by its number in the range of 1 to 1024.
standby: Specifies the active/standby load sharing mode. Without this keyword, round robin load
sharing is implemented.
Usage guidelines
You can specify up to two next hops in one command line or by performing this command twice. If you
specify two next hops, both next hops take effect to achieve load sharing.
With a next hop specified, the undo apply ip-address next-hop command removes the specified next
hop.
Without any next hop specified, the undo apply ip-address next-hop command removes all next hops.
Examples
# S e t a d i r e ct ly - c o n n e c t e d n ex t h o p o f 1.1.1.1.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-pbr-aa-11] apply ip-address next-hop 1.1.1.1 direct
apply ip-address next-hop standby
Use apply ip-address next-hop standby to set two next hops to operate in active/standby mode.
Use undo apply ip-address next-hop to restore the default.
Syntax
apply ip-address next-hop standby
undo apply ip-address next-hop [ standby ]
Default
Both next hops take effect to achieve load sharing.
Views
Policy node view
Default command level
2: System level
Usage guidelines
When two next hops are specified, only the active next hop takes effect. When the active next hop is not
available, the standby next hop takes effect.
When you specify two next hops by using the apply ip-address next-hop ip-address command, and set
the two next hops to operate in active/standby mode by using the apply ip-address next-hop standby
command, the first next hop configured is the active next hop and the second is the standby next hop.
Examples
# S p e c i f y t wo n e x t h o p s 1.1.1.1 ( a d i re c t n e x t h o p ) and 2.2.2.2, and set the two next hops to operate in
active/standby mode.