summaryrefslogtreecommitdiff
path: root/docs/configuration/service
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2022-06-26 20:57:18 +0200
committerrebortg <github@ghlr.de>2022-06-26 20:57:18 +0200
commit3740d7d0f7f30b6e7eee800af4fe3592070ea908 (patch)
treec2381cb3d92f044d586fff561df4426fff9f6d64 /docs/configuration/service
parent656abb12401525eb000a2d430de36d3c4689450a (diff)
downloadvyos-documentation-3740d7d0f7f30b6e7eee800af4fe3592070ea908.tar.gz
vyos-documentation-3740d7d0f7f30b6e7eee800af4fe3592070ea908.zip
dhcp-relay: correct and add missing commands
Diffstat (limited to 'docs/configuration/service')
-rw-r--r--docs/configuration/service/dhcp-relay.rst9
1 files changed, 2 insertions, 7 deletions
diff --git a/docs/configuration/service/dhcp-relay.rst b/docs/configuration/service/dhcp-relay.rst
index 5355a0fd..5adb83bb 100644
--- a/docs/configuration/service/dhcp-relay.rst
+++ b/docs/configuration/service/dhcp-relay.rst
@@ -26,11 +26,6 @@ Configuration
Configure IP address of the DHCP `<server>` which will handle the relayed
packets.
-.. cfgcmd:: set service dhcp-relay relay-options relay-agents-packets discard
-
- The router should discard DHCP packages already containing relay agent
- information to ensure that only requests from DHCP clients are forwarded.
-
Options
-------
@@ -45,7 +40,7 @@ Options
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
+.. cfgcmd:: set service dhcp-relay relay-options relay-agents-packets
<append | discard | forward | replace>
Four policies for reforwarding DHCP packets exist:
@@ -117,7 +112,7 @@ Configuration
Options
-------
-.. cfgcmd:: set service dhcpv6-relay max-hop-count 'count'
+.. cfgcmd:: set service dhcpv6-relay max-hop-count <count>
Set maximum hop count before packets are discarded, default: 10