diff options
author | Robert Göhler <github@ghlr.de> | 2023-06-06 21:20:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 21:20:04 +0200 |
commit | b41f753f3c315e36a2867d1e139e479d8ed75281 (patch) | |
tree | a2c5acd0209a80ad4f1ba873979adf4882a16528 | |
parent | 6bc5e938067efbb81b8192513fc7b64f2dd9cbd6 (diff) | |
parent | 3f93cac914675b997eabeb659cd070bb32fda782 (diff) | |
download | vyos-documentation-b41f753f3c315e36a2867d1e139e479d8ed75281.tar.gz vyos-documentation-b41f753f3c315e36a2867d1e139e479d8ed75281.zip |
Merge pull request #1022 from Cheeze-It/master
T5081: ISIS and OSPF syncronization with IGP-LDP sync
-rw-r--r-- | docs/configuration/protocols/isis.rst | 59 | ||||
-rw-r--r-- | docs/configuration/protocols/ospf.rst | 60 |
2 files changed, 118 insertions, 1 deletions
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 <seconds> + + 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 <interface> ldp-sync disable + + This command disables IGP-LDP sync for this specific interface. + +.. cfgcmd:: set protocols isis 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. 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) diff --git a/docs/configuration/protocols/ospf.rst b/docs/configuration/protocols/ospf.rst index 435e1297..089f30a1 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 ----------------------------- @@ -847,6 +868,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 +914,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 +930,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 |