summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-01-21 12:29:21 +0100
committerChristian Poessinger <christian@poessinger.com>2020-01-21 12:29:21 +0100
commit3d96045e7eb94b62d42bc18040b1e7408a6f4a7c (patch)
treea8183244805a97fc69c4d666cf66f0b793c65883 /docs
parent9bac097c6e7919d604b64f0e221288c4424588cb (diff)
downloadvyos-documentation-3d96045e7eb94b62d42bc18040b1e7408a6f4a7c.tar.gz
vyos-documentation-3d96045e7eb94b62d42bc18040b1e7408a6f4a7c.zip
dhcp-relay: make CLI syntax more consistent
Diffstat (limited to 'docs')
-rw-r--r--docs/services/dhcp.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/services/dhcp.rst b/docs/services/dhcp.rst
index 5c7fad9e..397722d9 100644
--- a/docs/services/dhcp.rst
+++ b/docs/services/dhcp.rst
@@ -667,18 +667,18 @@ The generated configuration will look like:
Options
-------
-.. cfgcmd:: set service dhcp-relay relay-options hop-count 'count'
+.. cfgcmd:: set service dhcp-relay relay-options hop-count <count>
- Set the maximum hop count before packets are discarded. Range 0...255,
+ Set the maximum hop `<count>` before packets are discarded. Range 0...255,
default 10.
-.. cfgcmd:: set service dhcp-relay relay-options max-size 'size'
+.. cfgcmd:: set service dhcp-relay relay-options max-size <size>
- Set maximum size of DHCP packets including relay agent information. If a
+ Set maximum `<size>` of DHCP packets including relay agent information. If a
DHCP packet size surpasses this value it will be forwarded without appending
relay agent information. Range 64...1400, default 576.
-.. cfgcmd:: set service dhcp-relay relay-options relay-agents-packet 'policy'
+.. cfgcmd:: set service dhcp-relay relay-options relay-agents-packet <append | discard | forward | replace>
Four policies for reforwarding DHCP packets exist: