multicast: T6746: add "protocols static mroute" documentation

This commit is contained in:
Christian Breunig 2024-12-14 10:23:59 +01:00
parent a03409893a
commit ac0c578b52
2 changed files with 35 additions and 0 deletions

View File

@ -14,6 +14,7 @@ Protocols
igmp-proxy
isis
mpls
multicast
segment-routing
openfabric
ospf

View File

@ -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.