summaryrefslogtreecommitdiff
path: root/docs/_include/interface-address-with-dhcp.txt
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-23 17:32:11 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-23 17:32:11 +0100
commit6588e905512e80e6038fd210837b52f43a7632ad (patch)
tree90f0b2fb985ebd2901301b2638912e3e42a42268 /docs/_include/interface-address-with-dhcp.txt
parent55b77175b4824384f5540a17f53f4e18fbedbce0 (diff)
downloadvyos-documentation-6588e905512e80e6038fd210837b52f43a7632ad.tar.gz
vyos-documentation-6588e905512e80e6038fd210837b52f43a7632ad.zip
interfaces: add generic VLAN documentation
Diffstat (limited to 'docs/_include/interface-address-with-dhcp.txt')
-rw-r--r--docs/_include/interface-address-with-dhcp.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/_include/interface-address-with-dhcp.txt b/docs/_include/interface-address-with-dhcp.txt
index 10838e72..45bc9b03 100644
--- a/docs/_include/interface-address-with-dhcp.txt
+++ b/docs/_include/interface-address-with-dhcp.txt
@@ -1,4 +1,4 @@
-.. cfgcmd:: set interfaces {{ var0 }} <interface> address <address | dhcp |
+.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }} {{ var4 }} address <address | dhcp |
dhcpv6>
Configure interface `<interface>` with one or more interface addresses.
@@ -14,7 +14,7 @@
.. code-block:: none
- set interfaces {{ var0 }} {{ var1 }} address 192.0.2.1/24
- set interfaces {{ var0 }} {{ var1 }} address 2001:db8::1/64
- set interfaces {{ var0 }} {{ var1 }} dhcp
- set interfaces {{ var0 }} {{ var1 }} dhcpv6 \ No newline at end of file
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} address 192.0.2.1/24
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} address 2001:db8::1/64
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} dhcp
+ set interfaces {{ var0 }} {{ var1 }} {{ var2 }} {{ var4 }} dhcpv6 \ No newline at end of file