From 14772df32eb0d60122da853035642d2cb449720f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 26 Nov 2019 23:15:20 +0100 Subject: interfaces: use RFC anchor name --- docs/interfaces/addresses.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'docs/interfaces/addresses.rst') 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 -- cgit v1.2.3