From a48579abde1ad127fe34a79dd10d72f47ffa3565 Mon Sep 17 00:00:00 2001 From: Nicolas Vollmar Date: Wed, 13 Nov 2024 13:17:40 +0100 Subject: T6871: add missing static route documentation --- docs/configuration/protocols/static.rst | 51 +++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) (limited to 'docs/configuration/protocols') diff --git a/docs/configuration/protocols/static.rst b/docs/configuration/protocols/static.rst index bfc25201..02c9e91b 100644 --- a/docs/configuration/protocols/static.rst +++ b/docs/configuration/protocols/static.rst @@ -138,8 +138,47 @@ Interface Routes set protocols static route6 2001:db8:1000::/36 interface eth0 segments '2001:db8:aaaa::7/2002::4/2002::3/2002::2' -Blackhole -========= + +DHCP Interface Routes +===================== + +.. cfgcmd:: set protocols static route dhcp-interface + + Defines route with DHCP interface supplying next-hop IP address. + + +Reject Routes +============= + +.. cfgcmd:: set protocol static route reject + + Defines route which emits an ICMP unreachable when matched. + +.. cfgcmd:: set protocols static route reject distance + + Defines distance for this route, routes with smaller administrative + distance are elected prior to those with a higher distance. + +.. cfgcmd:: set protocols static route reject tag + + Sets a tag for this route. + +.. cfgcmd:: set protocol static route6 reject + + Defines route which emits an ICMP unreachable when matched. + +.. cfgcmd:: set protocols static route6 reject distance + + Defines distance for this route, routes with smaller administrative + distance are elected prior to those with a higher distance. + +.. cfgcmd:: set protocols static route6 reject tag + + Sets a tag for this route. + + +Blackhole Routes +================ .. cfgcmd:: set protocols static route blackhole @@ -154,6 +193,10 @@ Blackhole Defines blackhole distance for this route, routes with smaller administrative distance are elected prior to those with a higher distance. +.. cfgcmd:: set protocols static route blackhole tag + + Sets a tag for this route. + .. cfgcmd:: set protocols static route6 blackhole Use this command to configure a "black-hole" route on the router. A @@ -167,6 +210,10 @@ Blackhole Defines blackhole distance for this route, routes with smaller administrative distance are elected prior to those with a higher distance. +.. cfgcmd:: set protocols static route6 blackhole tag + + Sets a tag for this route. + Alternate Routing Tables ======================== -- cgit v1.2.3