From a03409893a5a1e5bd76b3b6cf772fdf87653db9d Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 14 Dec 2024 10:14:48 +0100 Subject: [PATCH 1/2] static: T6746: document BFD for static routes --- docs/configuration/protocols/static.rst | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/docs/configuration/protocols/static.rst b/docs/configuration/protocols/static.rst index 9b1719f038..3e3eb47b3c 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 next-hop
bfd + + Configure a static route for `` using gateway `
` and use the + gateway address as BFD peer destination address. + +.. cfgcmd:: set protocols static route next-hop
bfd profile + + Configure a static route for `` using gateway `
` and use the + gateway address as BFD peer destination address with BFD profile ``. + +.. cfgcmd:: set protocols static route next-hop
bfd multi-hop + source-address + + Configure a static route for `` using gateway `
` and use the + gateway address as BFD peer destination address with source address + `` 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 next-hop
bfd + + Configure a static route for `` using gateway `
` and use the + gateway address as BFD peer destination address. + +.. cfgcmd:: set protocols static route6 next-hop
bfd profile + + Configure a static route for `` using gateway `
` and use the + gateway address as BFD peer destination address with BFD profile ``. + +.. cfgcmd:: set protocols static route6 next-hop
bfd multi-hop + source-address + + Configure a static route for `` using gateway `
` and use the + gateway address as BFD peer destination address with source address + `` but initiate a multi-hop session. + IPv6 Reject Routes ================== From ac0c578b52f276da92786c5925f3d7b5980ad42e Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 14 Dec 2024 10:23:59 +0100 Subject: [PATCH 2/2] multicast: T6746: add "protocols static mroute" documentation --- docs/configuration/protocols/index.rst | 1 + docs/configuration/protocols/multicast.rst | 34 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 docs/configuration/protocols/multicast.rst diff --git a/docs/configuration/protocols/index.rst b/docs/configuration/protocols/index.rst index b48954fa0a..f95c1cf6e6 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 0000000000..61a04e5ea1 --- /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 next-hop
+ [distance ] + + Insert into the Multicast RIB Route `` with specified next-hop. + The distance can be specified as well if desired. + +.. cfgcmd:: set protocols static mroute next-hop
disable + + Do not install route for `` into the Multicast RIB. + +.. cfgcmd:: set protocols static mroute interface + [distance ] + + Insert into the Multicast RIB Route `` with specified ``. + The distance can be specified as well if desired. + +.. cfgcmd:: set protocols static mroute interface disable + + Do not install route for `` into the Multicast RIB.