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

298
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-pbr-aa-11] apply fail-action continue
apply ip-address default next-hop ip-address
Use apply ip-address default next-hop to set the default next hops.
Use undo apply ip-address default next-hop to remove the configuration.
Syntax
apply ip-address default next-hop ip-address [ direct ] [ track track-entry-number ] [ ip-address [ direct ]
[ track track-entry-number ] ]
undo apply ip-address default next-hop [ ip-address [ ip-address ] ]
Views
Policy node view
Default command level
2: System level
Parameters
ip-address: Specifies the default next hop IP address.
track track-entry-number: Specifies a track entry by its number in the range of 1 to 1024.
direct: Specifies the next hop to take effect when it is a directly connected next hop.
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 default next hops in one command line or by performing this command twice.
If you specify two default next hops, both default next hops take effect to achieve load sharing.
With a next hop specified, the undo apply ip-address default next-hop command removes the specified
default next hop.
Without any next hop specified, the undo apply ip-address default next-hop command removes all
default next hops.
Examples
# S e t t h e d e f a u l t n e x 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 default next-hop 1.1.1.1
apply ip-address default next-hop standby
Use apply ip-address default next-hop standby to set two default next hops to operate in active/standby
mode.
Use undo apply ip-address default next-hop to restore the default.