summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Göhler <github@ghlr.de>2023-11-21 20:46:17 +0100
committerGitHub <noreply@github.com>2023-11-21 20:46:17 +0100
commit330514a6c99e87b3c2c73cd0344a9760060d25bf (patch)
tree2061b1c1d0bef5d27174026548c6c9d87120ece3 /docs
parentca33735cfc607ab08574a770ca439f60cda8a31d (diff)
parentbf74eda74f3251dcd51f4caa65cb4d2b4c1b51b8 (diff)
downloadvyos-documentation-330514a6c99e87b3c2c73cd0344a9760060d25bf.tar.gz
vyos-documentation-330514a6c99e87b3c2c73cd0344a9760060d25bf.zip
Merge pull request #1157 from vyos/t5760-dhcp-user-class
dhcp-client: T5760: add CLI option to pass user-class parameter
Diffstat (limited to 'docs')
-rw-r--r--docs/_include/interface-dhcp-options.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/_include/interface-dhcp-options.txt b/docs/_include/interface-dhcp-options.txt
index 27a80acd..c5683ca3 100644
--- a/docs/_include/interface-dhcp-options.txt
+++ b/docs/_include/interface-dhcp-options.txt
@@ -28,6 +28,11 @@
.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
{{ var5 }} {{ var6 }} dhcp-options vendor-class-id <vendor-id>
+ This option is used by some DHCP clients to identify the vendor type and
+ possibly the configuration of a DHCP client. The information is a string of
+ bytes whose contents are specific to the vendor and are not specified in a
+ standard.
+
The vendor-class-id option can be used to request a specific class of vendor
options from the server.
@@ -74,3 +79,17 @@
.. code-block:: none
set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcp-options reject 192.168.100.0/24
+
+.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }}
+ {{ var5 }} {{ var6 }} dhcp-options user-class <string>
+
+ This option is used by some DHCP clients as a way for users to specify
+ identifying information to the client. This can be used in a similar way to
+ the vendor-class-identifier option, but the value of the option is specified
+ by the user, not the vendor.
+
+ Example:
+
+ .. code-block:: none
+
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} {{ var5 }} {{ var7 }} dhcp-options user-class VyOS