The set routing route-map action ip next-hop command sets the IP address of the next-hop of the route with the value configured in the action clause.
The delete routing route-map action ip next-hop command restores the default behavior of not modifying the IP address of the next-hop of the route.
Command Syntax
set routing route-map <route-map-name> <NUMBER> action ip next-hop {<ipv4-address>|peer-address|unchanged}
delete routing route-map <route-map-name> <NUMBER> action ip next-hop {<ipv4-address>|peer-address|unchanged}
Parameter
Parameter | Description |
route-map <route-map-name> | Specifies the name of the route map. Required. |
<NUMBER> | Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535. |
{<ipv4-address>|peer-address|unchanged} | Specifies the IPv4 address to be set as the next-hop address of the route. |
Example
- Set the IP address of the next-hop of the route with the value configured in the action clause.
admin@Xorplus# set routing route-map GlobalMap 10 action ip next-hop peer-address admin@Xorplus# commit