MPLS: fix conf-mode definitions and line breaks

Moved the configuration mode commands and descriptions to fit VyOS template.
This commit is contained in:
Cheeze_It 2020-10-19 19:42:40 -06:00
parent 46d1c98105
commit c44aa8aeac

View File

@ -37,7 +37,7 @@ For more information on how MPLS label switching works, please go visit
Label Distribution Protocol Label Distribution Protocol
=========================== ===========================
The :abbr: `MPLS (Multi-Protocol Label Switching)` architecture does not assume The :abbr:`MPLS (Multi-Protocol Label Switching)` architecture does not assume
a single protocol to create MPLS paths. VyOS supports the Label Distribution a single protocol to create MPLS paths. VyOS supports the Label Distribution
Protocol (LDP) as implemented by FRR, based on :rfc:`5036`. Protocol (LDP) as implemented by FRR, based on :rfc:`5036`.
@ -61,44 +61,44 @@ must be explicitly set in the configuration.
Configuration Options Configuration Options
===================== =====================
Use this command to enable LDP, and 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 you
define.
.. cfgcmd:: set protocols mpls ldp router-id <address>
Use this command to configure the IP address used as the LDP router-id of the Use this command to configure the IP address used as the LDP router-id of the
local device. local device.
.. cfgcmd:: set protocols mpls ldp router-id <address> .. cfgcmd:: set protocols mpls ldp discovery transport-ipv4-address <IPv4 address>
.. cfgcmd:: set protocols mpls ldp discovery transport-ipv6-address <IPv6 address>
Use this command to set the IPv4 or IPv6 transport-address used by LDP. Use this command to set the IPv4 or IPv6 transport-address used by LDP.
.. cfgcmd:: set protocols mpls ldp discovery transport-ipv4-address <IPv4 address> .. cfgcmd:: set protocols mpls ldp neighbor <IPv4 address> password <password>
.. cfgcmd:: set protocols mpls ldp discovery transport-ipv6-address <IPv6 address>
Use this command to configure authentication for LDP peers. Set the Use this command to configure authentication for LDP peers. Set the
IP address of the LDP peer and a password that should be shared in IP address of the LDP peer and a password that should be shared in
order to become neighbors. order to become neighbors.
.. cfgcmd:: set protocols mpls ldp neighbor <IPv4 address> password <password> .. cfgcmd:: set protocols mpls ldp discovery hello-interval <seconds>
.. cfgcmd:: set protocols mpls ldp discovery hello-holdtime <seconds>
Use this command if you would like to set the discovery hello and hold time Use this command if you would like to set the discovery hello and hold time
parameters. parameters.
.. cfgcmd:: set protocols mpls ldp discovery hello-interval <seconds>
.. cfgcmd:: set protocols mpls ldp discovery hello-holdtime <seconds>
Use this command if you would like to set the TCP session hold time intervals.
.. cfgcmd:: set protocols mpls ldp discovery session-ipv4-holdtime <seconds> .. cfgcmd:: set protocols mpls ldp discovery session-ipv4-holdtime <seconds>
.. cfgcmd:: set protocols mpls ldp discovery session-ipv6-holdtime <seconds> .. cfgcmd:: set protocols mpls ldp discovery session-ipv6-holdtime <seconds>
Use this command if you would like for the router to advertise FECs with a label Use this command if you would like to set the TCP session hold time intervals.
of 0 for explicit null operations.
.. cfgcmd:: set protocols mpls ldp export ipv4 explicit-null .. cfgcmd:: set protocols mpls ldp export ipv4 explicit-null
.. cfgcmd:: set protocols mpls ldp export ipv6 explicit-null .. cfgcmd:: set protocols mpls ldp export ipv6 explicit-null
Use this command if you would like for the router to advertise FECs with a label
of 0 for explicit null operations.
Sample configuration to setup LDP on VyOS Sample configuration to setup LDP on VyOS
----------------------------------------- -----------------------------------------