summaryrefslogtreecommitdiff
path: root/docs/_include/interface-address.txt
blob: 00a9ec091d67fdbcb7c7ce5baddb9680caba96bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.. cfgcmd:: set interfaces {{ var0 }} <interface> address <address>

  Configure 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

  Example:

  .. code-block:: none

    set interfaces {{ var0 }} {{ var1 }} address 192.0.2.1/24
    set interfaces {{ var0 }} {{ var1 }} address 2001:db8::1/64