summaryrefslogtreecommitdiff
path: root/docs/interfaces/vxlan.rst
diff options
context:
space:
mode:
authorroot <root@srividya.int.sentrium.io>2020-10-16 08:57:36 -0400
committerroot <root@srividya.int.sentrium.io>2020-10-16 08:57:36 -0400
commit61acd8021f8ab7ca502412bc0796a55bf4f1b255 (patch)
tree50197a3586ed7c9ecdb4d8de0c7ae0ef44d2bb53 /docs/interfaces/vxlan.rst
parent302b2f17697fc61d07e65464b96ae3c1d2233b30 (diff)
downloadvyos-documentation-61acd8021f8ab7ca502412bc0796a55bf4f1b255.tar.gz
vyos-documentation-61acd8021f8ab7ca502412bc0796a55bf4f1b255.zip
vxlan syntax correction: link and remote-port parameters are not available in rolling release
Replaced "link" with "source-interface" and "remote-port" with "port" .. code-block:: none vyos@vyos# set int vxlan vxlan1 Possible completions: + address IP address description Interface specific description disable Administratively disable interface > firewall Firewall options group Multicast group address for VXLAN interface > ip IPv4 routing parameters > ipv6 IPv6 routing parameters mac Media Access Control (MAC) address mtu Maximum Transmission Unit (MTU) > policy Policy route options port Destination port of VXLAN tunnel (default: 8472) remote Remote address of VXLAN tunnel source-address VXLAN source address source-interface Physical interface used for connection vni Virtual Network Identifier
Diffstat (limited to 'docs/interfaces/vxlan.rst')
-rw-r--r--docs/interfaces/vxlan.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/interfaces/vxlan.rst b/docs/interfaces/vxlan.rst
index a11f4b62..bf3b6dee 100644
--- a/docs/interfaces/vxlan.rst
+++ b/docs/interfaces/vxlan.rst
@@ -230,7 +230,7 @@ traffic from.
set interfaces bridge br241 member interface 'vxlan241'
set interfaces vxlan vxlan241 group '239.0.0.241'
- set interfaces vxlan vxlan241 link 'eth0'
+ set interfaces vxlan vxlan241 source-interface 'eth0'
set interfaces vxlan vxlan241 vni '241'
! Our seconds vxlan interface
@@ -239,7 +239,7 @@ traffic from.
set interfaces bridge br242 member interface 'vxlan242'
set interfaces vxlan vxlan242 group '239.0.0.242'
- set interfaces vxlan vxlan242 link 'eth0'
+ set interfaces vxlan vxlan242 source-interface 'eth0'
set interfaces vxlan vxlan242 vni '242'
**Leaf3 configuration:**
@@ -255,7 +255,7 @@ traffic from.
set interfaces bridge br241 member interface 'vxlan241'
set interfaces vxlan vxlan241 group '239.0.0.241'
- set interfaces vxlan vxlan241 link 'eth0'
+ set interfaces vxlan vxlan241 source-interface 'eth0'
set interfaces vxlan vxlan241 vni '241'
! Our seconds vxlan interface
@@ -264,7 +264,7 @@ traffic from.
set interfaces bridge br242 member interface 'vxlan242'
set interfaces vxlan vxlan242 group '239.0.0.242'
- set interfaces vxlan vxlan242 link 'eth0'
+ set interfaces vxlan vxlan242 source-interface 'eth0'
set interfaces vxlan vxlan242 vni '242'
As you can see, Leaf2 and Leaf3 configuration is almost identical. There are
@@ -300,7 +300,7 @@ same on all Leafs that has this interface.
.. code-block:: none
- set interfaces vxlan vxlan241 link 'eth0'
+ set interfaces vxlan vxlan241 source-interface 'eth0'
Sets the interface to listen for multicast packets on. Could be a loopback, not
yet tested.
@@ -314,7 +314,7 @@ multicast-address.
.. code-block:: none
- set interfaces vxlan vxlan241 remote-port 12345
+ set interfaces vxlan vxlan241 port 12345
The destination port used for creating a VXLAN interface in Linux defaults to
its pre-standard value of 8472 to preserve backwards compatibility. A
@@ -331,7 +331,7 @@ set directly. Let's change the Multicast example from above:
# leaf2 and leaf3
delete interfaces vxlan vxlan241 group '239.0.0.241'
- delete interfaces vxlan vxlan241 link 'eth0'
+ delete interfaces vxlan vxlan241 source-interface 'eth0'
# leaf2
set interface vxlan vxlan241 remote 10.1.3.3
@@ -340,4 +340,4 @@ set directly. Let's change the Multicast example from above:
set interface vxlan vxlan241 remote 10.1.2.2
The default port udp is set to 8472.
-It can be changed with ``set interface vxlan <vxlanN> remote-port <port>``
+It can be changed with ``set interface vxlan <vxlanN> port <port>``