From da7272e37c6c4d687a56027617e9472de13a0a99 Mon Sep 17 00:00:00 2001 From: Paul Lettington Date: Tue, 15 Mar 2022 10:07:36 +0000 Subject: policy: T4293 ip-next-hop unchanged & peer-address (#734) Documentation changes to go along with https://github.com/vyos/vyos-1x/pull/1243 --- docs/configuration/policy/route-map.rst | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'docs/configuration/policy') diff --git a/docs/configuration/policy/route-map.rst b/docs/configuration/policy/route-map.rst index 7c236cf7..792014bc 100644 --- a/docs/configuration/policy/route-map.rst +++ b/docs/configuration/policy/route-map.rst @@ -201,11 +201,40 @@ Route Map Nexthop IP address. +.. cfgcmd:: set policy route-map rule <1-65535> set ip-next-hop + unchanged + + Set the next-hop as unchanged. Pass through the route-map without + changing its value + +.. cfgcmd:: set policy route-map rule <1-65535> set ip-next-hop + peer-address + + Set the BGP nexthop address to the address of the peer. For an incoming + route-map this means the ip address of our peer is used. For an + outgoing route-map this means the ip address of our self is used to + establish the peering with our neighbor. + .. cfgcmd:: set policy route-map rule <1-65535> set ipv6-next-hop Nexthop IPv6 address. +.. cfgcmd:: set policy route-map rule <1-65535> set ipv6-next-hop + peer-address + + Set the BGP nexthop address to the address of the peer. For an incoming + route-map this means the ip address of our peer is used. For an + outgoing route-map this means the ip address of our self is used to + establish the peering with our neighbor. + +.. cfgcmd:: set policy route-map rule <1-65535> set ipv6-next-hop + prefer-global + + For Incoming and Import Route-maps if we receive a v6 global and v6 LL + address for the route, then prefer to use the global address as the + nexthop. + .. cfgcmd:: set policy route-map rule <1-65535> set large-community -- cgit v1.2.3