summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-17 06:56:11 +0100
committerGitHub <noreply@github.com>2024-12-17 06:56:11 +0100
commit8139b449925ec02ea1c3a75097c519af61e491a9 (patch)
tree7ca572fd51bdb1bc6f8f05a62f686d2332b3d29d /docs/configuration
parenta2877eb87328c4e634c86b9d372ff42ab3e43179 (diff)
parentac0c578b52f276da92786c5925f3d7b5980ad42e (diff)
downloadvyos-documentation-8139b449925ec02ea1c3a75097c519af61e491a9.tar.gz
vyos-documentation-8139b449925ec02ea1c3a75097c519af61e491a9.zip
Merge pull request #1577 from vyos/T6746-frr-10
static: T6746: document BFD for static routes
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/protocols/index.rst1
-rw-r--r--docs/configuration/protocols/multicast.rst34
-rw-r--r--docs/configuration/protocols/static.rst40
3 files changed, 75 insertions, 0 deletions
diff --git a/docs/configuration/protocols/index.rst b/docs/configuration/protocols/index.rst
index b48954fa..f95c1cf6 100644
--- a/docs/configuration/protocols/index.rst
+++ b/docs/configuration/protocols/index.rst
@@ -14,6 +14,7 @@ Protocols
igmp-proxy
isis
mpls
+ multicast
segment-routing
openfabric
ospf
diff --git a/docs/configuration/protocols/multicast.rst b/docs/configuration/protocols/multicast.rst
new file mode 100644
index 00000000..61a04e5e
--- /dev/null
+++ b/docs/configuration/protocols/multicast.rst
@@ -0,0 +1,34 @@
+.. _routing-static:
+
+#########
+Multicast
+#########
+
+In order to influence Multicast :abbr:`RPF (Reverse Path Forwarding)` lookup,
+it is possible to insert into zebra routes for the Multicast
+:abbr:`RIB (Routing Information Base)`. These routes are only used for RPF
+lookup and will not be used by ZEBRA for insertion into the kernel or for
+normal RIB processing. As such it is possible to create weird states with
+these commands.
+
+Use with caution. Most of the time this will not be necessary.
+
+.. cfgcmd:: set protocols static mroute <subnet> next-hop <address>
+ [distance <distance>]
+
+ Insert into the Multicast RIB Route `<subnet>` with specified next-hop.
+ The distance can be specified as well if desired.
+
+.. cfgcmd:: set protocols static mroute <subnet> next-hop <address> disable
+
+ Do not install route for `<subnet>` into the Multicast RIB.
+
+.. cfgcmd:: set protocols static mroute <subnet> interface <interface>
+ [distance <distance>]
+
+ Insert into the Multicast RIB Route `<subnet>` with specified `<interface>`.
+ The distance can be specified as well if desired.
+
+.. cfgcmd:: set protocols static mroute <subnet> interface <interface> disable
+
+ Do not install route for `<subnet>` into the Multicast RIB.
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
==================