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