summaryrefslogtreecommitdiff
path: root/docs/interfaces/dummy.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/interfaces/dummy.rst')
-rw-r--r--docs/interfaces/dummy.rst40
1 files changed, 14 insertions, 26 deletions
diff --git a/docs/interfaces/dummy.rst b/docs/interfaces/dummy.rst
index e452ae73..e0557d1d 100644
--- a/docs/interfaces/dummy.rst
+++ b/docs/interfaces/dummy.rst
@@ -22,36 +22,24 @@ you can have as many as you want.
Configuration
#############
-Address
--------
+Common interface configuration
+------------------------------
-.. cfgcmd:: set interfaces dummy <interface> address <address | dhcp | dhcpv6>
+.. cmdinclude:: ../_include/interface-address.txt
+ :var0: dummy
+ :var1: dum0
- Configure dummy interface `<interface>` 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: dummy
+ :var1: dum0
- Example:
+.. cmdinclude:: ../_include/interface-disable.txt
+ :var0: dummy
+ :var1: dum0
- .. code-block:: none
-
- set interfaces dummy dum10 address 192.0.2.1/24
- set interfaces dummy dum10 address 192.0.2.2/24
- set interfaces dummy dum10 address 2001:db8::ffff/64
- set interfaces dummy dum10 address 2001:db8:100::ffff/64
-
-Link Administration
--------------------
-
-.. cfgcmd:: set interfaces dummy <interface> description <description>
-
- Assign given `<description>` to interface. Description will also be passed
- to SNMP monitoring systems.
-
-.. cfgcmd:: set interfaces dummy <interface> disable
-
- Disable given `<interface>`. It will be placed in administratively down
- state.
+.. cmdinclude:: ../_include/interface-vrf.txt
+ :var0: dummy
+ :var1: dum0
Operation
=========