summaryrefslogtreecommitdiff
path: root/docs/configuration/protocols
diff options
context:
space:
mode:
authorCheeze_It <none@none.com>2021-09-30 21:54:26 -0600
committerCheeze_It <none@none.com>2021-09-30 21:54:26 -0600
commit3876906ef49a8d0f6777a895d378fdc9aa58a0b1 (patch)
treef0fe98365047f2c6fd8c8d74b1c3706153f96a86 /docs/configuration/protocols
parentba8b272d75cd3a6a45ba22071f8074b3dda8ba60 (diff)
downloadvyos-documentation-3876906ef49a8d0f6777a895d378fdc9aa58a0b1.tar.gz
vyos-documentation-3876906ef49a8d0f6777a895d378fdc9aa58a0b1.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.
Diffstat (limited to 'docs/configuration/protocols')
-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