Name
set ip next-hop — route-map
Synopsis
set ip next-hopip address
[...ip address
] no set ip next-hopip address
[...ip address
]
Configures
Properties of routes matching a route map
Default
None
Description
This command sets the next-hop address for an incoming packet
regardless of any explicit route for the packet. It is similar to the
set
ip
default
next-hop
command except
that a next-hop address specified with this command cannot be
overridden by an explicit route. This command should be used in
conjunction with the ip policy route-map
command.
The IP address does not have to be an address that is adjacent to the
router.
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.