summaryrefslogtreecommitdiff
path: root/docs/interfaces/loopback.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-10 20:26:15 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-10 20:26:15 +0100
commitbe6c3c1624174c5762a1349e31111d34db642767 (patch)
tree8bc6d89b6e4a6a971cab13b87b8acbc113340e25 /docs/interfaces/loopback.rst
parent0d8451f1dd3ba31e9c39ebafd2dc32f25d5f582d (diff)
downloadvyos-documentation-be6c3c1624174c5762a1349e31111d34db642767.tar.gz
vyos-documentation-be6c3c1624174c5762a1349e31111d34db642767.zip
interfaces: add common description include file
Diffstat (limited to 'docs/interfaces/loopback.rst')
-rw-r--r--docs/interfaces/loopback.rst14
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/interfaces/loopback.rst b/docs/interfaces/loopback.rst
index e15062cf..06486faa 100644
--- a/docs/interfaces/loopback.rst
+++ b/docs/interfaces/loopback.rst
@@ -22,14 +22,16 @@ services on your local machine.
Configuration
=============
-Address
--------
+Common interface configuration
+------------------------------
-.. cfgcmd:: set interfaces loopback lo address <address>
+.. cmdinclude:: ../_include/interface-address.txt
+ :var0: loopback
+ :var1: lo
- Configure Loopback interface `lo` 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.
+.. cmdinclude:: ../_include/interface-description.txt
+ :var0: loopback
+ :var1: lo
Link Administration
-------------------