From 2fadd2febf36b867d1b6d66a1cf5d09a5f4219f2 Mon Sep 17 00:00:00 2001 From: Yuxiang Zhu Date: Tue, 12 Jul 2022 22:55:43 +0800 Subject: Add directed broadcast forwarding documentation --- docs/_include/interface-ip.txt | 18 +++++++++++++++++- docs/configuration/system/ip.rst | 11 ++++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/_include/interface-ip.txt b/docs/_include/interface-ip.txt index 75441040..4164985b 100644 --- a/docs/_include/interface-ip.txt +++ b/docs/_include/interface-ip.txt @@ -19,7 +19,7 @@ {{ var5 }} {{ var6 }} ip arp-cache-timeout Once a neighbor has been found, the entry is considered to be valid for at - least for this specifc time. An entry's validity will be extended if it + least for this specific time. An entry's validity will be extended if it receives positive feedback from higher level protocols. This defaults to 30 seconds. @@ -63,6 +63,22 @@ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} ip disable-forwarding +.. cfgcmd:: set interfaces {{ var0 }} {{ var2 }} {{ var3 }} + {{ var5 }} {{ var6 }} ip enable-directed-broadcast + + Define different modes for IP directed broadcast forwarding as described in + :rfc:`1812` and :rfc:`2644`. + + If configured, incoming IP directed broadcast packets on this interface will + be forwarded. + + If this option is unset (default), incoming IP directed broadcast packets + will not be forwarded. + + .. code-block:: none + + set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} ip enable-directed-broadcast + .. cfgcmd:: set interfaces {{ var0 }} {{ var2 }} {{ var3 }} {{ var5 }} {{ var6 }} ip enable-arp-accept diff --git a/docs/configuration/system/ip.rst b/docs/configuration/system/ip.rst index 78aeef4e..f36cf9f5 100644 --- a/docs/configuration/system/ip.rst +++ b/docs/configuration/system/ip.rst @@ -9,6 +9,15 @@ System configuration commands Use this command to disable IPv4 forwarding on all interfaces. +.. cfgcmd:: set system ip disable-directed-broadcast-forwarding + + Use this command to disable IPv4 directed broadcast forwarding on all + interfaces. + + If set, IPv4 directed broadcast forwarding will be completely disabled + regardless of whether per-interface directed broadcast forwarding is + enabled or not. + .. cfgcmd:: set system ip arp table-size Use this command to define the maximum number of entries to keep in @@ -67,4 +76,4 @@ And the different IPv4 **reset** commands available: bgp Clear Border Gateway Protocol (BGP) statistics or status igmp IGMP clear commands multicast IP multicast routing table - route Reset IP route \ No newline at end of file + route Reset IP route -- cgit v1.2.3