summaryrefslogtreecommitdiff
path: root/docs/configuration/service/dhcp-server.rst
diff options
context:
space:
mode:
authorRicky Pai <rickyp999+github@gmail.com>2022-08-12 10:09:07 -0700
committerRicky Pai <rickyp999+github@gmail.com>2022-08-12 10:09:07 -0700
commite3c911777f89d5710e9c303579efd6645252ef55 (patch)
treecae469fb6c1e3f8bb4dce2af74e678eaf002ae02 /docs/configuration/service/dhcp-server.rst
parent1b65bcf2f7aae8d3501528d879f1bd00524553c8 (diff)
downloadvyos-documentation-e3c911777f89d5710e9c303579efd6645252ef55.tar.gz
vyos-documentation-e3c911777f89d5710e9c303579efd6645252ef55.zip
fix ipv6 dhcp mapping codeblock
Diffstat (limited to 'docs/configuration/service/dhcp-server.rst')
-rw-r--r--docs/configuration/service/dhcp-server.rst23
1 files changed, 8 insertions, 15 deletions
diff --git a/docs/configuration/service/dhcp-server.rst b/docs/configuration/service/dhcp-server.rst
index 45fe63fb..46604dfd 100644
--- a/docs/configuration/service/dhcp-server.rst
+++ b/docs/configuration/service/dhcp-server.rst
@@ -720,21 +720,14 @@ The configuration will look as follows:
.. code-block:: none
- show service dhcp-server shared-network-name NET1
- shared-network-name NET1 {
- subnet 2001:db8::/64 {
- name-server 2001:db8:111::111
- address-range {
- start 2001:db8::100 {
- stop 2001:db8::199 {
- }
- }
- static-mapping client1 {
- ipv6-address 2001:db8::101
- identifier 00:01:00:01:12:34:56:78:aa:bb:cc:dd:ee:ff
- }
- }
- }
+ show service dhcpv6-server shared-network-name NET1
+ subnet 2001:db8::/64 {
+ static-mapping client1 {
+ identifier 00:01:00:01:12:34:56:78:aa:bb:cc:dd:ee:ff
+ ipv6-address 2001:db8::101
+ ipv6-prefix 2001:db8:0:101::/64
+ }
+ }
.. start_vyoslinter