From cdb3550aaf1beb0d2069f33c5e66a232f7cbdee1 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 23 Nov 2020 21:19:44 +0100 Subject: interfaces: vlan: remove wrong arg in cmd headline --- docs/_include/interface-dhcp-options.txt | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'docs/_include/interface-dhcp-options.txt') diff --git a/docs/_include/interface-dhcp-options.txt b/docs/_include/interface-dhcp-options.txt index da1975fc..2bc23efc 100644 --- a/docs/_include/interface-dhcp-options.txt +++ b/docs/_include/interface-dhcp-options.txt @@ -1,4 +1,5 @@ -.. cfgcmd:: set interfaces {{ var0 }} dhcp-options client-id +.. cfgcmd:: set interfaces {{ var0 }} {{ var2 }} {{ var3 }} + dhcp-options client-id :rfc:`2131` states: The client MAY choose to explicitly provide the identifier through the 'client identifier' option. If the client supplies a 'client @@ -10,9 +11,10 @@ .. code-block:: none - set interfaces {{ var0 }} {{ var1 }} dhcp-options client-id 'foo-bar' + set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} dhcp-options client-id 'foo-bar' -.. cfgcmd:: set interfaces {{ var0 }} dhcp-options host-name +.. cfgcmd:: set interfaces {{ var0 }} {{ var2 }} {{ var3 }} + dhcp-options host-name Instead of sending the real system hostname to the DHCP server, overwrite the host-name with this given-value. @@ -21,20 +23,22 @@ .. code-block:: none - set interfaces {{ var0 }} {{ var1 }} dhcp-options host-name 'VyOS' + set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} dhcp-options host-name 'VyOS' -.. cfgcmd:: set interfaces {{ var0 }} dhcp-options vendor-class-id +.. cfgcmd:: set interfaces {{ var0 }} {{ var2 }} {{ var3 }} + dhcp-options vendor-class-id The vendor-class-id option can be used to request a specific class of vendor options from the server. - Example + Example: .. code-block:: none - set interfaces {{ var0 }} {{ var1 }} dhcp-options vendor-class-id 'VyOS' + set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} dhcp-options vendor-class-id 'VyOS' -.. cfgcmd:: set interfaces {{ var0 }} dhcp-options no-default-route +.. cfgcmd:: set interfaces {{ var0 }} {{ var2 }} {{ var3 }} + dhcp-options no-default-route Only request an address from the DHCP server but do not request a default gateway. @@ -43,4 +47,4 @@ .. code-block:: none - set interfaces {{ var0 }} {{ var1 }} dhcp-options no-default-route + set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} dhcp-options no-default-route -- cgit v1.2.3