mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-11-02 20:02:05 +01:00
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.
This commit is contained in:
parent
ba8b272d75
commit
3876906ef4
@ -67,10 +67,13 @@ change to work.
|
|||||||
Configuration Options
|
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>
|
.. cfgcmd:: set protocols mpls ldp interface <interface>
|
||||||
|
|
||||||
Use this command to enable LDP, and enable MPLS processing on the interface
|
Use this command to enable LDP on the interface you define.
|
||||||
you define.
|
|
||||||
|
|
||||||
.. cfgcmd:: set protocols mpls ldp router-id <address>
|
.. 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.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 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 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 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 'eth1' <--- Enable 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 '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 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 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
|
set interfaces loopback lo address '192.168.255.252/32' <--- Interface loopback IP for router ID and other uses
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user