diff options
Diffstat (limited to 'docs/configuration')
-rw-r--r-- | docs/configuration/interfaces/loopback.rst | 2 | ||||
-rw-r--r-- | docs/configuration/policy/route-map.rst | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/docs/configuration/interfaces/loopback.rst b/docs/configuration/interfaces/loopback.rst index ec2976b6..b97aa69c 100644 --- a/docs/configuration/interfaces/loopback.rst +++ b/docs/configuration/interfaces/loopback.rst @@ -59,7 +59,7 @@ Operation .. code-block:: none - vyos@vyos:~$ show interfaces ethernet eth0 + vyos@vyos:~$ show interfaces loopback lo lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 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> |