summaryrefslogtreecommitdiff
path: root/docs/routing
diff options
context:
space:
mode:
authorCheeze_It <none@none.com>2020-10-19 19:42:40 -0600
committerCheeze_It <none@none.com>2020-10-19 19:42:40 -0600
commitc44aa8aeac5b3b279d2aca60e3d2bbe74565c2fe (patch)
tree2f733d1f1181cb83990768fff93226fececdee3c /docs/routing
parent46d1c9810560c6d3ce6f0646522df841923e811b (diff)
downloadvyos-documentation-c44aa8aeac5b3b279d2aca60e3d2bbe74565c2fe.tar.gz
vyos-documentation-c44aa8aeac5b3b279d2aca60e3d2bbe74565c2fe.zip
MPLS: fix conf-mode definitions and line breaks
Moved the configuration mode commands and descriptions to fit VyOS template.
Diffstat (limited to 'docs/routing')
-rw-r--r--docs/routing/mpls.rst30
1 files changed, 15 insertions, 15 deletions
diff --git a/docs/routing/mpls.rst b/docs/routing/mpls.rst
index 0ae6094c..86221104 100644
--- a/docs/routing/mpls.rst
+++ b/docs/routing/mpls.rst
@@ -37,7 +37,7 @@ For more information on how MPLS label switching works, please go visit
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
Protocol (LDP) as implemented by FRR, based on :rfc:`5036`.
@@ -61,44 +61,44 @@ must be explicitly set in the configuration.
Configuration Options
=====================
-Use this command to enable LDP, and enable MPLS processing on the interface you
-define.
-
.. cfgcmd:: set protocols mpls ldp interface <interface>
- Use this command to configure the IP address used as the LDP router-id of the
- local device.
+ 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 set the IPv4 or IPv6 transport-address used by LDP.
+ Use this command to configure the IP address used as the LDP router-id of the
+ local device.
.. 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 configure authentication for LDP peers. Set the
- IP address of the LDP peer and a password that should be shared in
- order to become neighbors.
+ Use this command to set the IPv4 or IPv6 transport-address used by LDP.
.. cfgcmd:: set protocols mpls ldp neighbor <IPv4 address> password <password>
- Use this command if you would like to set the discovery hello and hold time
- parameters.
+ 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
+ order to become neighbors.
.. 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.
+ Use this command if you would like to set the discovery hello and hold time
+ parameters.
.. cfgcmd:: set protocols mpls ldp discovery session-ipv4-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
-of 0 for explicit null operations.
+ Use this command if you would like to set the TCP session hold time intervals.
.. cfgcmd:: set protocols mpls ldp export ipv4 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
-----------------------------------------