summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Stepler <brandon@stepler.net>2021-02-10 20:00:00 -0500
committerBrandon Stepler <brandon@stepler.net>2021-02-10 20:10:15 -0500
commitf369cf079732e7ea86803fc714644b30b19b97c4 (patch)
tree2fa526ae111301d89eb3677c079d6c7326601e1e
parentfd387540352fb47eec7479a6747e764a558ba1ba (diff)
downloadvyos-documentation-f369cf079732e7ea86803fc714644b30b19b97c4.tar.gz
vyos-documentation-f369cf079732e7ea86803fc714644b30b19b97c4.zip
dhcp: T3300: add DHCP default route distance
-rw-r--r--docs/_include/interface-dhcp-options.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/_include/interface-dhcp-options.txt b/docs/_include/interface-dhcp-options.txt
index 1a0ce260..2030ae3d 100644
--- a/docs/_include/interface-dhcp-options.txt
+++ b/docs/_include/interface-dhcp-options.txt
@@ -48,3 +48,14 @@
.. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcp-options no-default-route
+
+.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
+ {{ var5 }} {{ var6 }} dhcp-options default-route-distance <distance>
+
+ Set the distance for the default gateway sent by the DHCP server.
+
+ Example:
+
+ .. code-block:: none
+
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcp-options default-route-distance 220