Name

set ip default next-hop — route-map

Synopsis

set ip default next-hop ip-address [...  ip-address]
no set ip default next-hop ip-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 if there is no explicit route for the packet already. 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, 2nd Edition 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.