diff options
author | Paul Lettington <paul@plett.co.uk> | 2022-03-15 10:07:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 11:07:36 +0100 |
commit | da7272e37c6c4d687a56027617e9472de13a0a99 (patch) | |
tree | 0ad75b5ff03b5cb1f8ef6654caf120355acbde38 /docs | |
parent | 9b275d3077af68bd9c47a4ebb4b14d4bdc03b850 (diff) | |
download | vyos-documentation-da7272e37c6c4d687a56027617e9472de13a0a99.tar.gz vyos-documentation-da7272e37c6c4d687a56027617e9472de13a0a99.zip |
policy: T4293 ip-next-hop unchanged & peer-address (#734)
Documentation changes to go along with https://github.com/vyos/vyos-1x/pull/1243
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration/policy/route-map.rst | 29 |
1 files changed, 29 insertions, 0 deletions
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 <text> 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 <text> 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 <text> rule <1-65535> set ipv6-next-hop <global|local> <h:h:h:h:h:h:h:h> Nexthop IPv6 address. +.. cfgcmd:: set policy route-map <text> 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 <text> 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 <text> rule <1-65535> set large-community <text> |