3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
808 CHAPTER 61: IP UNICAST POLICY ROUTING CONFIGURATION COMMANDS
Parameters ip-address: IP address of the default next hop.
track track-entry-number: Specifies a track entry. The track-entry-number is in the
range 1 to 1024.
Description Use the
apply ip-address default next-hop command to set the default next
hop for matched packets.
Use the
undo apply ip-address default next-hop command to remove the
configuration.
At most two default next hops can be specified in one command line.
The next hop interface must be a point-to-point (P2P) interface rather than a
broadcast interface.
Related commands: apply ip-precedence, apply output-interface, apply default
output-interface, and apply ip-address next-hop.
Examples # Set the default next hop to 1.1.1.1 for matched packets.
<Sysname> system-view
[Sysname] policy-based-route aa permit node 11
[Sysname-policy-based-route] apply ip-address default next-hop 1.1.1
.1 track 1
apply ip-address next-hop
Syntax apply ip-address next-hop ip-address [ track track-entry-number ] [ ip-address
[ track track-entry-number ]]
undo apply ip-address next-hop [ ip-address [ ip-address ]]
View policy-based-route view
Parameters ip-address: IP address of the next hop.
track track-entry-number: Specifies a track entry. The track-entry-number is in the
range 1 to 1024.
Description Use the
apply ip-address next-hop command to set a next hop for matched
packets.
Use the
undo apply ip-address next-hop command to remove the
configuration.
You can specify up to two next hops in one command line for load-sharing.
Related commands: apply ip-precedence, apply output-interface, apply default
output-interface, and apply ip-address default next-hop.