From 24121fa4a8ef66970f1be190f402f2dc253b0fa3 Mon Sep 17 00:00:00 2001 From: Cheeze-It <16260577+Cheeze-It@users.noreply.github.com> Date: Sat, 3 Jun 2023 13:10:57 -0600 Subject: Update isis.rst Adding IGP-LDP sync for IS-IS --- docs/configuration/protocols/isis.rst | 59 ++++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) (limited to 'docs/configuration/protocols') diff --git a/docs/configuration/protocols/isis.rst b/docs/configuration/protocols/isis.rst index ef9cc960..18a7c166 100644 --- a/docs/configuration/protocols/isis.rst +++ b/docs/configuration/protocols/isis.rst @@ -127,6 +127,19 @@ IS-IS Global Configuration level-2 This command will generate a default-route in L2 database. + + +.. cfgcmd:: set protocols isis ldp-sync + + This command will enable IGP-LDP synchronization globally for ISIS. This + requires for LDP to be functional. This is described in :rfc:`5443`. By + default all interfaces operational in IS-IS are enabled for synchronization. + Loopbacks are exempt. + +.. cfgcmd:: set protocols isis ldp-sync holddown + + This command will change the hold down value globally for IGP-LDP + synchronization during convergence/interface flap events. Interface Configuration @@ -200,6 +213,15 @@ Interface Configuration This command disables Three-Way Handshake for P2P adjacencies which described in :rfc:`5303`. Three-Way Handshake is enabled by default. +.. cfgcmd:: set protocols isis interface ldp-sync disable + + This command disables IGP-LDP sync for this specific interface. + +.. cfgcmd:: set protocols isis interface ldp-sync holddown + + + This command will change the hold down value for IGP-LDP synchronization + during convergence/interface flap events, but for this interface only. Route Redistribution -------------------- @@ -401,7 +423,42 @@ Routes on Node 2: I 203.0.113.0/24 [115/10] via 192.0.2.1, eth1, 00:03:42 - +Enable IS-IS and IGP-LDP synchronization +======================================== + +**Node 1:** + +.. code-block:: none + + set interfaces loopback lo address 192.168.255.255/32 + set interfaces ethernet eth0 address 192.0.2.1/24 + + set protocols isis interface eth0 + set protocols isis interface lo passive + set protocols isis ldp-sync + set protocols isis net 49.0001.1921.6825.5255.00 + + set protocols mpls interface eth0 + set protocols mpls ldp discovery transport-ipv4-address 192.168.255.255 + 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 192.168.255.255 + + +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 isis mpls ldp-sync + eth0 + LDP-IGP Synchronization enabled: yes + holddown timer in seconds: 0 + State: Sync achieved + + Enable IS-IS with Segment Routing (Experimental) -- cgit v1.2.3 From 6564302e7b27d209ba12052039b8371f8fed9327 Mon Sep 17 00:00:00 2001 From: Cheeze-It <16260577+Cheeze-It@users.noreply.github.com> Date: Sat, 3 Jun 2023 13:12:36 -0600 Subject: Update ospf.rst Adding IGP-LDP sync for OSPF --- docs/configuration/protocols/ospf.rst | 65 +++++++++++++++++++++++++++++++++-- 1 file changed, 62 insertions(+), 3 deletions(-) (limited to 'docs/configuration/protocols') 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 + + 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 ldp-sync disable + + This command disables IGP-LDP sync for this specific interface. + +.. cfgcmd:: set protocols ospf interface ldp-sync holddown + + + 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 -- cgit v1.2.3 From 3f93cac914675b997eabeb659cd070bb32fda782 Mon Sep 17 00:00:00 2001 From: Cheeze-It <16260577+Cheeze-It@users.noreply.github.com> Date: Sat, 3 Jun 2023 13:17:11 -0600 Subject: Update ospf.rst Re-adding a part that I accidentally deleted. --- docs/configuration/protocols/ospf.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/configuration/protocols') diff --git a/docs/configuration/protocols/ospf.rst b/docs/configuration/protocols/ospf.rst index 92534203..089f30a1 100644 --- a/docs/configuration/protocols/ospf.rst +++ b/docs/configuration/protocols/ospf.rst @@ -624,10 +624,11 @@ Operational Mode Commands Hello due in 4.563s Neighbor Count is 1, Adjacent neighbor count is 1 -.. opcmd:: show ip ospf route +.. opcmd:: show ip ospf route [detail] This command displays the OSPF routing table, as determined by the most - recent SPF calculation. + recent SPF calculation. With the optional :cfgcmd:`detail` argument, + each route item's advertiser router and network attribute will be shown. .. code-block:: none -- cgit v1.2.3