summaryrefslogtreecommitdiff
path: root/docs/_include/interface-address-with-dhcp.txt
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-10 22:57:12 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-10 22:57:12 +0100
commitf0ed78b3ad3a7806b0443a2771cdeb6cbd13ba5a (patch)
treec236fa50dbcb4845f85c3f1c9f8eb16120305e9f /docs/_include/interface-address-with-dhcp.txt
parentf6ee81e58268ce1a666f68504f327f49c4402130 (diff)
downloadvyos-documentation-f0ed78b3ad3a7806b0443a2771cdeb6cbd13ba5a.tar.gz
vyos-documentation-f0ed78b3ad3a7806b0443a2771cdeb6cbd13ba5a.zip
interfaces: consolidate vxlan, geneve, wifi, pppoe, wwan to new include command syntax
Diffstat (limited to 'docs/_include/interface-address-with-dhcp.txt')
-rw-r--r--docs/_include/interface-address-with-dhcp.txt26
1 files changed, 13 insertions, 13 deletions
diff --git a/docs/_include/interface-address-with-dhcp.txt b/docs/_include/interface-address-with-dhcp.txt
index 28968bea..10838e72 100644
--- a/docs/_include/interface-address-with-dhcp.txt
+++ b/docs/_include/interface-address-with-dhcp.txt
@@ -1,20 +1,20 @@
.. cfgcmd:: set interfaces {{ var0 }} <interface> address <address | dhcp |
dhcpv6>
- Configure interface `<interface>` with one or more interface addresses.
+ Configure interface `<interface>` with one or more interface addresses.
- * **address** can be specified multiple times as IPv4 and/or IPv6
- address, e.g. 192.0.2.1/24 and/or 2001:db8::1/64
- * **dhcp** interface address is received by DHCP from a DHCP server
- on this segment.
- * **dhcpv6** interface address is received by DHCPv6 from a DHCPv6
- server on this segment.
+ * **address** can be specified multiple times as IPv4 and/or IPv6
+ address, e.g. 192.0.2.1/24 and/or 2001:db8::1/64
+ * **dhcp** interface address is received by DHCP from a DHCP server
+ on this segment.
+ * **dhcpv6** interface address is received by DHCPv6 from a DHCPv6
+ server on this segment.
- Example:
+ Example:
- .. code-block:: none
+ .. 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 }} 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