summaryrefslogtreecommitdiff
path: root/docs/interfaces/dummy.rst
blob: 8a24d4db77cdd6b54451bb6d06550fa6835bffc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.. _dummy-interface:

Dummy
-----

Dummy interfaces are much like the loopback interface, 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 Cisco IOS), or for testing
purposes.

Configuration commands:

.. code-block:: sh

  vyos@vyos# set interfaces dummy dum0
  Possible completions:
  +  address      IP address
     description  Interface description
     disable      Disable interface
   > ip           IPv4 routing parameters
   > ipv6         IPv6 routing parameters
     redirect     Incoming packet redirection destination
   > traffic-policy
                  Traffic-policy for interface