summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-26 23:15:20 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-26 23:15:20 +0100
commit14772df32eb0d60122da853035642d2cb449720f (patch)
treee5af92d2895e16c60a587d3afed68b4759fc98e6 /docs
parent586fa9d2936304181552858593a133d9e3a90a97 (diff)
downloadvyos-documentation-14772df32eb0d60122da853035642d2cb449720f.tar.gz
vyos-documentation-14772df32eb0d60122da853035642d2cb449720f.zip
interfaces: use RFC anchor name
Diffstat (limited to 'docs')
-rw-r--r--docs/interfaces/addresses.rst14
1 files changed, 6 insertions, 8 deletions
diff --git a/docs/interfaces/addresses.rst b/docs/interfaces/addresses.rst
index c8bccb18..92d1a73b 100644
--- a/docs/interfaces/addresses.rst
+++ b/docs/interfaces/addresses.rst
@@ -1,7 +1,7 @@
.. _interfaces-addresses:
-Interface Addresses
--------------------
+Addresses
+---------
Each interface can be configured with a description and address. Interface
addresses might be:
@@ -11,11 +11,9 @@ addresses might be:
* DHCP IPv4 ``address dhcp``
* DHCP IPv6 ``address dhcpv6``
-An interface description is assigned using the following command:
-
-.. code-block:: sh
+.. cfgcmd:: set interfaces ethernet eth0 description 'OUTSIDE'
- set interfaces ethernet eth0 description 'OUTSIDE'
+An interface description is assigned using the following command:
IPv4
^^^^
@@ -120,7 +118,7 @@ Examples:
Router Advertisements
*********************
-Router advertisements are described in :rfc:`4861` section 4.2. They are part
+Router advertisements are described in :rfc:`4861#section-4.6.2`. They are part
of what is known as SLAAC (Stateless Address Autoconfiguration).
To enable or disable, use:
@@ -154,7 +152,7 @@ To set the options described in "Router Advertisement Message Format":
Prefix Information
~~~~~~~~~~~~~~~~~~
-Prefix information is described in :rfc:`4861` section 4.6.2.
+Prefix information is described in :rfc:`4861#section-4.6.2`.
.. code-block:: sh