summaryrefslogtreecommitdiff
path: root/docs/configuration/protocols/ospf.rst
diff options
context:
space:
mode:
authorCheeze-It <16260577+Cheeze-It@users.noreply.github.com>2023-06-03 13:12:36 -0600
committerGitHub <noreply@github.com>2023-06-03 13:12:36 -0600
commit6564302e7b27d209ba12052039b8371f8fed9327 (patch)
tree347af3aeb2bbc37fac1be5d1939c9651dd8d2383 /docs/configuration/protocols/ospf.rst
parent24121fa4a8ef66970f1be190f402f2dc253b0fa3 (diff)
downloadvyos-documentation-6564302e7b27d209ba12052039b8371f8fed9327.tar.gz
vyos-documentation-6564302e7b27d209ba12052039b8371f8fed9327.zip
Update ospf.rst
Adding IGP-LDP sync for OSPF
Diffstat (limited to 'docs/configuration/protocols/ospf.rst')
-rw-r--r--docs/configuration/protocols/ospf.rst65
1 files changed, 62 insertions, 3 deletions
diff --git a/docs/configuration/protocols/ospf.rst b/docs/configuration/protocols/ospf.rst
index 435e1297..92534203 100644
--- a/docs/configuration/protocols/ospf.rst
+++ b/docs/configuration/protocols/ospf.rst
@@ -190,6 +190,18 @@ Optional
:cfgcmd:`max-holdtime` sets the maximum wait time between two
consecutive SPF calculations. The default value is 10000 ms.
+.. cfgcmd:: set protocols ospf ldp-sync
+
+ This command will enable IGP-LDP synchronization globally for OSPF. This
+ requires for LDP to be functional. This is described in :rfc:`5443`. By
+ default all interfaces operational in OSPF are enabled for synchronization.
+ Loopbacks are exempt.
+
+.. cfgcmd:: set protocols ospf ldp-sync holddown <seconds>
+
+ This command will change the hold down value globally for IGP-LDP
+ synchronization during convergence/interface flap events.
+
Area Configuration
------------------
@@ -437,6 +449,15 @@ Interface Configuration
synchronizing process of the router's database with all neighbors. The
default value is 1 seconds. The interval range is 3 to 65535.
+.. cfgcmd:: set protocols ospf interface <interface> ldp-sync disable
+
+ This command disables IGP-LDP sync for this specific interface.
+
+.. cfgcmd:: set protocols ospf interface <interface> ldp-sync holddown
+ <seconds>
+
+ This command will change the hold down value for IGP-LDP synchronization
+ during convergence/interface flap events, but for this interface only.
Manual Neighbor Configuration
-----------------------------
@@ -603,11 +624,10 @@ Operational Mode Commands
Hello due in 4.563s
Neighbor Count is 1, Adjacent neighbor count is 1
-.. opcmd:: show ip ospf route [detail]
+.. opcmd:: show ip ospf route
This command displays the OSPF routing table, as determined by the most
- recent SPF calculation. With the optional :cfgcmd:`detail` argument,
- each route item's advertiser router and network attribute will be shown.
+ recent SPF calculation.
.. code-block:: none
@@ -847,6 +867,43 @@ Enable OSPF with route redistribution of the loopback and default originate:
set policy route-map CONNECT rule 10 match interface lo
+Enable OSPF and IGP-LDP synchronization:
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+**Node 1:**
+
+.. code-block:: none
+
+ set interfaces loopback lo address 10.1.1.1/32
+ set interfaces ethernet eth0 address 192.168.0.1/24
+
+ set protocols ospf area 0 network '192.168.0.0/24'
+ set protocols ospf area 0 network '10.1.1.1/32'
+ set protocols ospf parameters router-id '10.1.1.1'
+ set protocols ospf ldp-sync
+
+ set protocols mpls interface eth0
+ set protocols mpls ldp discovery transport-ipv4-address 10.1.1.1
+ set protocols mpls ldp interface lo
+ set protocols mpls ldp interface eth0
+ set protocols mpls ldp parameters transport-prefer-ipv4
+ set protocols mpls ldp router-id 10.1.1.1
+
+
+This gives us IGP-LDP synchronization for all non-loopback interfaces with
+a holddown timer of zero seconds:
+
+
+.. code-block:: none
+
+ Node-1@vyos:~$ show ip ospf mpls ldp-sync
+ eth0
+ LDP-IGP Synchronization enabled: yes
+ Holddown timer in seconds: 0
+ State: Sync achieved
+
+
+
Enable OSPF with Segment Routing (Experimental):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -856,6 +913,7 @@ Enable OSPF with Segment Routing (Experimental):
set interfaces loopback lo address 10.1.1.1/32
set interfaces ethernet eth0 address 192.168.0.1/24
+
set protocols ospf area 0 network '192.168.0.0/24'
set protocols ospf area 0 network '10.1.1.1/32'
set protocols ospf parameters opaque-lsa
@@ -871,6 +929,7 @@ Enable OSPF with Segment Routing (Experimental):
set interfaces loopback lo address 10.1.1.2/32
set interfaces ethernet eth0 address 192.168.0.2/24
+
set protocols ospf area 0 network '192.168.0.0/24'
set protocols ospf area 0 network '10.1.1.2/32'
set protocols ospf parameters opaque-lsa