set ip nexthop
Syntax
set {ip | ipv6} nexthop {global} <IP-ADDR>
no set {ip | ipv6} nexthop {global} <IP-ADDR>
Description
Sets the IP address of the next-hop of the route with the value configured in the set clause.
The
no
form of this command restores the default behavior of not modifying the IP address of the next-hop of the route.
Command context
config-route-map
Parameters
<IP-ADDR>
Specifies the IPv4 address to be set as the next-hop address of the route.
Authority
Administrators
Example
Configuring a set clause in the route map to modify the next-hop address of the route entry:
switch(config)# route-map GlobalMap permit seq 11 switch(config-route-map-GlobalMap-11)# set ip nexthop 1.1.1.2