summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorCheeze_It <none@none.com>2021-09-30 21:54:26 -0600
committerChristian Poessinger <christian@poessinger.com>2021-10-01 08:35:03 +0200
commit945ad0f422fb5047d5a018cdd350ca75c9c3e6ee (patch)
treee76594dbeba4451e6756106b70e3067c2657fb03 /docs/configuration
parent24f85e110ca006c00563b263751984510180c15a (diff)
downloadvyos-documentation-945ad0f422fb5047d5a018cdd350ca75c9c3e6ee.tar.gz
vyos-documentation-945ad0f422fb5047d5a018cdd350ca75c9c3e6ee.zip
Adding MPLS documentation changes that I forgot to add a long time ago.
Here we are adding documentation showing the separation of MPLS enable for interfaces separately from LDP. This was decoupled a while ago but I completely forgot to add it to the documentation. It is added now though. (cherry picked from commit 3876906ef49a8d0f6777a895d378fdc9aa58a0b1)
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/protocols/mpls.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/configuration/protocols/mpls.rst b/docs/configuration/protocols/mpls.rst
index 312a0df2..d1d0cd87 100644
--- a/docs/configuration/protocols/mpls.rst
+++ b/docs/configuration/protocols/mpls.rst
@@ -67,10 +67,13 @@ change to work.
Configuration Options
=====================
+.. cfgcmd:: set protocols mpls interface <interface>
+
+ Use this command to enable MPLS processing on the interface you define.
+
.. cfgcmd:: set protocols mpls ldp interface <interface>
- Use this command to enable LDP, and enable MPLS processing on the interface
- you define.
+ Use this command to enable LDP on the interface you define.
.. cfgcmd:: set protocols mpls ldp router-id <address>
@@ -200,9 +203,10 @@ Sample configuration to setup LDP on VyOS
set protocols ospf area 0 network '192.168.255.252/32' <--- Routing for loopback
set protocols ospf area 0 network '192.168.0.5/32' <--- Routing for an interface connecting to the network
set protocols ospf parameters router-id '192.168.255.252' <--- Router ID setting for OSPF
+ set protocols mpls interface 'eth1' <--- Enable MPLS for an interface connecting to network
set protocols mpls ldp discovery transport-ipv4-address '192.168.255.252' <--- Transport address for LDP for TCP sessions to connect to
- set protocols mpls ldp interface 'eth1' <--- Enable MPLS and LDP for an interface connecting to network
- set protocols mpls ldp interface 'lo' <--- Enable MPLS and LDP on loopback for future services connectivity
+ set protocols mpls ldp interface 'eth1' <--- Enable LDP for an interface connecting to network
+ set protocols mpls ldp interface 'lo' <--- Enable LDP on loopback for future services connectivity
set protocols mpls ldp router-id '192.168.255.252' <--- Router ID setting for LDP
set interfaces ethernet eth1 address '192.168.0.5/31' <--- Interface IP for connecting to network
set interfaces loopback lo address '192.168.255.252/32' <--- Interface loopback IP for router ID and other uses