summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-14 10:14:48 +0100
committerChristian Breunig <christian@breunig.cc>2024-12-14 10:14:48 +0100
commita03409893a5a1e5bd76b3b6cf772fdf87653db9d (patch)
treeb495d3c52d99ba9396d9a40f20f621e54aea413f /docs
parenta2877eb87328c4e634c86b9d372ff42ab3e43179 (diff)
downloadvyos-documentation-a03409893a5a1e5bd76b3b6cf772fdf87653db9d.tar.gz
vyos-documentation-a03409893a5a1e5bd76b3b6cf772fdf87653db9d.zip
static: T6746: document BFD for static routes
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/protocols/static.rst40
1 files changed, 40 insertions, 0 deletions
diff --git a/docs/configuration/protocols/static.rst b/docs/configuration/protocols/static.rst
index 9b1719f0..3e3eb47b 100644
--- a/docs/configuration/protocols/static.rst
+++ b/docs/configuration/protocols/static.rst
@@ -62,6 +62,26 @@ IPv4 Interface Routes
Range is 1 to 255, default is 1.
+IPv4 BFD
+========
+
+.. cfgcmd:: set protocols static route <subnet> next-hop <address> bfd
+
+ Configure a static route for `<subnet>` using gateway `<address>` and use the
+ gateway address as BFD peer destination address.
+
+.. cfgcmd:: set protocols static route <subnet> next-hop <address> bfd profile <profile>
+
+ Configure a static route for `<subnet>` using gateway `<address>` and use the
+ gateway address as BFD peer destination address with BFD profile `<profile>`.
+
+.. cfgcmd:: set protocols static route <subnet> next-hop <address> bfd multi-hop
+ source-address <source-address>
+
+ Configure a static route for `<subnet>` using gateway `<address>` and use the
+ gateway address as BFD peer destination address with source address
+ `<source>` but initiate a multi-hop session.
+
DHCP Interface Routes
=====================
@@ -191,6 +211,26 @@ IPv6 Interface Routes
set protocols static route6 2001:db8:1000::/36 interface eth0 segments '2001:db8:aaaa::7/2002::4/2002::3/2002::2'
+IPv6 BFD
+========
+
+.. cfgcmd:: set protocols static route6 <subnet> next-hop <address> bfd
+
+ Configure a static route for `<subnet>` using gateway `<address>` and use the
+ gateway address as BFD peer destination address.
+
+.. cfgcmd:: set protocols static route6 <subnet> next-hop <address> bfd profile <profile>
+
+ Configure a static route for `<subnet>` using gateway `<address>` and use the
+ gateway address as BFD peer destination address with BFD profile `<profile>`.
+
+.. cfgcmd:: set protocols static route6 <subnet> next-hop <address> bfd multi-hop
+ source-address <source>
+
+ Configure a static route for `<subnet>` using gateway `<address>` and use the
+ gateway address as BFD peer destination address with source address
+ `<source>` but initiate a multi-hop session.
+
IPv6 Reject Routes
==================