set routing route-map set-action ip-next-hop


The set routing route-map set-action ip-next-hop command sets the IP address of the next-hop address or peer address of the route with the value configured in the action clause or keep unchanged.
The delete routing route-map set-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> order  <NUMBERset-action ip-next-hop {ipv4-addr <next-hop-address> | peer-address | unchanged}

delete routing route-map <route-map-name> order <NUMBER> set-action ip-next-hop {ipv4-addr <next-hop-address> | peer-address | 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.

ip-next-hop {ipv4-addr <next-hop-address> | peer-address | 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 action clause.
admin@Xorplus# set routing route-map GlobalMap order 10 set-action ip-next-hop ipv4-addr 10.10.10.1
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.