R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)
314
track track-entry-number: Specifies a track entry by its number in the range of 1 to 1024.
Usage guidelines
You can specify up to two default next hops by performing this command once or twice.
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 next-hop
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 [ vpn-instance vpn-instance-name ] ip-address [ direct ] [ track
track-entry-number ] [ ip-address [ direct ] [ track track-entry-number ] ]
undo apply ip-address next-hop [ [ vpn-instance vpn-instance-name ] ip-address [ ip-address ] ]
Views
Policy node view
Default command level
2: System level
Parameters
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN that the default next hop belongs to by its
name, a case-sensitive string of 1 to 31 characters. The specified VPN must already exist.
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.
Usage guidelines
You can specify up to two next hops by performing this command once or twice.
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 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










