R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
456
&<1-n>: Indicates that the argument before it can be entered up to n times. The value of n is 4.
Usage guidelines
You can specify multiple next hops for backup or load sharing by executing this command once or
multiple times.
You can specify up to m next hops for a node. The value of m is 16.
With a next hop specified, the undo apply next-hop command removes the next hop.
Without any next hop specified, the undo apply next-hop command removes all next hops.
Examples
# S e t a d i re c t l y - c o n n e c t e d 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 next-hop 1.1.1.1 direct
Related commands
apply loadshare
apply output-interface
Use apply output-interface to set an output interface.
Use undo apply output-interface to remove the configuration.
Syntax
apply output-interface { interface-type interface-number [ track track-entry-number ] }&<1-n>
undo apply output-interface [ { interface-type interface-number }&<1-n> ]
Default
No output interface is set.
Views
Policy node view
Predefined user roles
network-admin
Parameters
interface-type interface-number: Specifies an interface by its type and number.
track track-entry-number: Specifies a track entry by its number in the range of 1 to 1024.
&<1-n>: Indicates that the argument before it can be entered up to n times. The value of n is 4.
Usage guidelines
You can specify multiple output interfaces for backup or load sharing by executing this command once
or multiple times.
You can specify up to m output interfaces for a node. The value of m is 16.
The output interface must be P2P type. Using a non-P2P output interface can result in forwarding failures
when the interface has multiple next hops. Non-P2P interfaces include broadcast and NBMA interfaces
such as Ethernet and virtual-template interfaces.