summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-09 21:18:18 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-09 21:18:18 +0100
commit7dfd655e9b7c4732623b58991ac5eb951c9ad7df (patch)
tree328d3982882a90e7ae0d007042e2200ece4aff09
parent5cb8fbdc27e05312f335560a6155afc60a098731 (diff)
downloadvyos-documentation-7dfd655e9b7c4732623b58991ac5eb951c9ad7df.tar.gz
vyos-documentation-7dfd655e9b7c4732623b58991ac5eb951c9ad7df.zip
vrf: add route-leaking
-rw-r--r--docs/vrf.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/vrf.rst b/docs/vrf.rst
index 6a24f223..ccf26bbb 100644
--- a/docs/vrf.rst
+++ b/docs/vrf.rst
@@ -125,6 +125,22 @@ Static Routes
.. note:: Routes with a distance of 255 are effectively disabled and not
installed into the kernel.
+Leaking
+"""""""
+
+.. cfgcmd:: set protocols vrf <name> static route <subnet> next-hop <address> next-hop-vrf <default | vrf-name>
+
+ Use this command if you have shared services or routes that should be shared
+ between multiple VRF instances. This will add an IPv4 route to VRF `<name>`
+ routing table to reach a `<subnet>` via a next-hop gatewys `<address>` in
+ a different VRF or leak it into the default VRF.
+
+.. cfgcmd:: set protocols vrf <name> static route6 <subnet> next-hop <address> next-hop-vrf <default | vrf-name>
+
+ Use this command if you have shared services or routes that should be shared
+ between multiple VRF instances. This will add an IPv6 route to VRF `<name>`
+ routing table to reach a `<subnet>` via a next-hop gatewys `<address>` in
+ a different VRF or leak it into the default VRF.
Blackhole
"""""""""