summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-16 22:44:42 +0200
committerGitHub <noreply@github.com>2020-10-16 22:44:42 +0200
commit650be1a3d99ead29b64ed2801f8d05e96966a6f2 (patch)
tree50197a3586ed7c9ecdb4d8de0c7ae0ef44d2bb53 /docs
parent302b2f17697fc61d07e65464b96ae3c1d2233b30 (diff)
parent61acd8021f8ab7ca502412bc0796a55bf4f1b255 (diff)
downloadvyos-documentation-650be1a3d99ead29b64ed2801f8d05e96966a6f2.tar.gz
vyos-documentation-650be1a3d99ead29b64ed2801f8d05e96966a6f2.zip
Merge pull request #347 from srividya0208/vxlan_syntax
vxlan syntax correction: link and remote-port parameters are not available in rolling release
Diffstat (limited to 'docs')
-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>``