From 945ad0f422fb5047d5a018cdd350ca75c9c3e6ee Mon Sep 17 00:00:00 2001 From: Cheeze_It Date: Thu, 30 Sep 2021 21:54:26 -0600 Subject: 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) --- docs/configuration/protocols/mpls.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'docs/configuration') 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 + + Use this command to enable MPLS processing on the interface you define. + .. cfgcmd:: set protocols mpls ldp 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
@@ -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 -- cgit v1.2.3