C613-50170-01 Rev B
Command Reference for x510 Series
1183
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
R
OUTE
M
AP
C
OMMANDS
SET
IP
NEXT
-
HOP
(
ROUTE
MAP
)
set ip next-hop (route map)
Overview
Use this command to add a next-hop set clause to a route map entry.
When a route matches the route map entry, the device sets the route’s next hop to
the specified IP address.
Use the
no
variant of this command to remove the set clause.
Syntax
set ip next-hop <
ip-address
>
no set ip next-hop
[<ip-address
>]
Mode
Route-map Configuration
Usage
Use this command to set the next-hop IP address to the routes.
This command is valid for:
•
OSPF routes
•
RIP routes.
Example
To use entry 3 of the route map called
mymap
to give matching routes a next hop
of 10.10.0.67, use the commands:
awplus#
configure terminal
awplus(config)#
route-map mymap permit 3
awplus(config-route-map)#
set ip next-hop 10.10.0.67
Related
Commands
Parameter
Description
<ip-address>
The IP address of the next hop, entered in the form A.B.C.D.