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


The set routing route-map set-action ipv6-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 ipv6-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 ipv6-next-hop {[global ipv6-addr <next-hop-address>][local ipv6-addr <next-hop-address>]peer-address | prefer-global}

delete routing route-map <route-map-name> order <NUMBER> set-action ipv6-next-hop {[global ipv6-addr <next-hop-address>][local ipv6-addr <next-hop-address>]peer-address | prefer-global}


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.

{[global ipv6-addr <next-hop-address>][local ipv6-addr <next-hop-address>]peer-address | prefer-global}

Specifies the IPv6 address to be set as the next-hop address or peer address of the route .


Example

  •  Set the IP address of the peer address of the route with the value configured in the action clause.
admin@Xorplus# set routing route-map GlobalMap order 10 set-action ipv6-next-hop peer-address
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.