summaryrefslogtreecommitdiff
path: root/docs/interfaces
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-03-22 08:12:20 +0100
committerGitHub <noreply@github.com>2019-03-22 08:12:20 +0100
commit5d6ab100a482ae2b0efbc5cc544cc6c700f723f8 (patch)
treed4a246bf7565ac1f2a19e58a1252e1f181ec7fd9 /docs/interfaces
parent9e4aca97b8bc0bdc8d79b81bc11ca95ff4aff19a (diff)
parentd4e41a26dad9f6bce8667985c1c6bf4406c39a36 (diff)
downloadvyos-documentation-5d6ab100a482ae2b0efbc5cc544cc6c700f723f8.tar.gz
vyos-documentation-5d6ab100a482ae2b0efbc5cc544cc6c700f723f8.zip
Merge pull request #16 from rebortg/interfaces
add dummy interfaces
Diffstat (limited to 'docs/interfaces')
-rw-r--r--docs/interfaces/dummy.rst21
-rw-r--r--docs/interfaces/index.rst1
2 files changed, 22 insertions, 0 deletions
diff --git a/docs/interfaces/dummy.rst b/docs/interfaces/dummy.rst
new file mode 100644
index 00000000..dc46a4cb
--- /dev/null
+++ b/docs/interfaces/dummy.rst
@@ -0,0 +1,21 @@
+.. _dummy-interface:
+
+Dummy Interfaces
+----------------
+
+Dummy interfaces — much like the loopback, except you can have as many as you want.
+Dummy interfaces can be used as interfaces that always stay up (in the same fashion to loopbacks in IOS), or for testing purposes.
+
+Configuration commands:
+
+.. code-block:: sh
+
+ interfaces
+ dummy <dum[0-999]>
+ + address IP address
+ description Description
+ disable Disable interface
+ > ip IPv4 routing parameters
+ > ipv6 IPv6 routing parameters
+ redirect Incoming packet redirection destination
+ > traffic-policy Traffic-policy for interface \ No newline at end of file
diff --git a/docs/interfaces/index.rst b/docs/interfaces/index.rst
index 577ffe09..414ed925 100644
--- a/docs/interfaces/index.rst
+++ b/docs/interfaces/index.rst
@@ -50,6 +50,7 @@ respective sections.
:hidden:
addresses
+ dummy
ethernet
wireless
bridging