summaryrefslogtreecommitdiff
path: root/docs/_include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-10 20:02:47 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-10 20:02:47 +0100
commitb7e61a03f09b93cdaa91a3c6b13d967621483f5c (patch)
tree1f73da172e4b175beaac3a5fb5cd798579b226f1 /docs/_include
parent58b3a577e5386e52ccfade8c5d9c3d5bc36f2839 (diff)
downloadvyos-documentation-b7e61a03f09b93cdaa91a3c6b13d967621483f5c.tar.gz
vyos-documentation-b7e61a03f09b93cdaa91a3c6b13d967621483f5c.zip
interfaces: extend usage of new cmdinclude directive for bridge, bond, eth, peth, vxlan
Commit c46473a ("docs: add ..cmdinclude:: directive") added support for including common text but only replacing individual labels so there can be source of truth also for the documentation.
Diffstat (limited to 'docs/_include')
-rw-r--r--docs/_include/interface-ipv6-addr-autoconf.txt20
-rw-r--r--docs/_include/interface-ipv6-addr-eui64.txt8
2 files changed, 28 insertions, 0 deletions
diff --git a/docs/_include/interface-ipv6-addr-autoconf.txt b/docs/_include/interface-ipv6-addr-autoconf.txt
new file mode 100644
index 00000000..22f9ee59
--- /dev/null
+++ b/docs/_include/interface-ipv6-addr-autoconf.txt
@@ -0,0 +1,20 @@
+.. cfgcmd:: set interfaces {{ var0 }} <interface> ipv6 address autoconf
+
+
+ :abbr:`SLAAC (Stateless Address Autoconfiguration)`
+ :rfc:`4862`. IPv6 hosts can configure themselves automatically when connected
+ to an IPv6 network using the Neighbor Discovery Protocol via :abbr:`ICMPv6
+ (Internet Control Message Protocol version 6)` router discovery messages.
+ When first connected to a network, a host sends a link-local router
+ solicitation multicast request for its configuration parameters; routers
+ respond to such a request with a router advertisement packet that contains
+ Internet Layer configuration parameters.
+
+ .. note:: This method automatically disables IPv6 traffic forwarding on the
+ interface in question.
+
+ Example:
+
+ .. code-block:: none
+
+ set interfaces {{ var0 }} {{ var1 }} ipv6 address autoconf
diff --git a/docs/_include/interface-ipv6-addr-eui64.txt b/docs/_include/interface-ipv6-addr-eui64.txt
new file mode 100644
index 00000000..40f22e5f
--- /dev/null
+++ b/docs/_include/interface-ipv6-addr-eui64.txt
@@ -0,0 +1,8 @@
+.. cfgcmd:: set interfaces {{ var0 }} <interface> ipv6 address eui64 <prefix>
+
+ :abbr:`EUI-64 (64-Bit Extended Unique Identifier)` as specified in
+ :rfc:`4291` allows a host to assign iteslf a unique 64-Bit IPv6 address.
+
+ .. code-block:: none
+
+ set interfaces {{ var0 }} {{ var1 }} ipv6 address eui64 2001:db8:beef::/64