summaryrefslogtreecommitdiff
path: root/docs/interfaces/dummy.rst
blob: c3d58ff1885e4dde6570ad11593021d0b4b5c017 (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:: console

  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