Got it

ISIS compares two LSP

Created: Nov 24, 2020 17:50:12Latest reply: Nov 25, 2020 22:10:51 508 12 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

 Hello,


We have a field in LSP:


Remaining Lifetime 2 bytes Indicates the remaining lifetime of the LSP in seconds.


Please tell me if I am wrong:


By default the value is 1200s (20 minutes). So, the most recent is the LSP with value of 1200 and going to 0.

If the value will be 0, the router will wait another 60s and after it it will delete from LSDB


After 300s (900s Remaning lifetime) the router which generate LSP will refresh the LSP.


From hedex:
"If the sequence number of the received LSP is equal to that of the local LSP, the DIS compares the Remaining Lifetime of the two LSPs. If Remaining Lifetime of the received LSP is 0, the DIS replaces the LSP with the received LSP, and broadcasts the new LSDB. If the Remaining Lifetime of local LSP is 0, the DIS sends the LSP to the inbound interface."


So why we choose the LSP with the smallest remaning lifetime if its not recent?

Featured Answers
Herediano
Created Nov 25, 2020 22:10:51

A router processes a received LSP as follows:

- Updating the LSDB on a broadcast link

  1. When the DIS receives an LSP, it searches the LSDB for the related records. If the DIS does not find the LSP in its LSDB, it adds the LSP to its LSDB and broadcasts the new LSDB.

  2. If the sequence number of the received LSP is greater than that of the local LSP, the DIS replaces the local LSP with the received LSP in the LSDB and broadcasts the new LSDB.

  3. If the sequence number of the received LSP is less than that of the local LSP, the DIS sends the local LSP in the LSDB to the inbound interface.

  4. If the sequence number of the received LSP is equal to that of the local LSP, the DIS compares the Remaining Lifetime of the two LSPs. If Remaining Lifetime of the received LSP is 0, the DIS replaces the LSP with the received LSP, and broadcasts the new LSDB. If the Remaining Lifetime of local LSP is 0, the DIS sends the LSP to the inbound interface.

  5. If the sequence number of the received LSP and the local LSP in the LSDB are the same and neither Remaining Lifetime is 0, the DIS compares the checksum of the two LSPs. If the received LSP has a greater checksum than that of the local LSP in the LSDB, the DIS replaces the local LSP in the LSDB with the received LSP and advertises the new LSDB. If the received LSP has a smaller checksum than that of the local LSP in the LSDB, the DIS sends the local LSP in the LSDB to the inbound interface.

  6. If the checksums of the received LSP and the local LSP are the same, the LSP is not forwarded.

- Updating the LSDB on a P2P link

  1. If the sequence number of the received LSP is greater than that of the local LSP in the LSDB, the router adds the received LSP to its LSDB. The router then sends a PSNP packet to acknowledge the received LSP and sends the LSP to all its neighbors except the neighbor that sends the LSP.

  2. If the sequence number of the received LSP is less than that of the local LSP, the router directly sends its LSP to the neighbor and waits for a PSNP from the neighbor as an acknowledgement.

  3. If the sequence number of the received LSP is the same as that of the local LSP in the LSDB, the router compares the Remaining Lifetimes of the two LSPs. If Remaining Lifetime of the received LSP is 0, the router adds the LSP to its LSDB. The router then sends a PSNP to acknowledge the received LSP. If Remaining Lifetime of the local LSP is 0, the router directly sends the local LSP to the neighbor and waits for a PSNP from the neighbor.

  4. If the sequence number of the received LSP and the local LSP in the LSDB are the same, and neither Remaining Lifetime is 0, the router compares the checksum of the two LSPs. If the received LSP has a greater checksum than that of the local LSP, the router adds the received LSP to its LSDB. The router then sends a PSNP to acknowledge the received LSP. If the received LSP has a smaller checksum than that of the local LSP, the router directly sends the local LSP to the neighbor and waits for a PSNP from the neighbor. At last, the router sends the LSP to all its neighbors except the neighbor that sends the LSP.

  5. If the checksums of the received LSP and the local LSP are the same, the LSP is not forwarded.

Here is a link more information for your reference:

https://support.huawei.com/enterprise/en/doc/EDOC1100055485/4110e8a/basic-protocols-of-is-is


View more
  • x
  • convention:

kacpersky
kacpersky Created Nov 25, 2020 22:35:06 (0) (0)
Thank you but there is only information about 0 value of remaining lifetime.
It's only:
1) Compare seq number
2) Check renaming lifetime is it equal 0. Received or local
3) Compare checksum

So it means that router doesn't compare two remaining lifetime different from 0, right?  
Herediano
Herediano Reply kacpersky  Created Nov 26, 2020 03:52:36 (0) (0)
Exactly, if lifetime is not 0 is not meaningful for LSP processing.  
kacpersky
kacpersky Reply Herediano  Created Nov 26, 2020 08:07:42 (0) (0)
Now its clear :) thank you very much.  
Herediano
Herediano Reply kacpersky  Created Nov 26, 2020 16:05:04 (0) (0)
You're welcome  
orlimar
orlimar Reply kacpersky  Created Nov 28, 2020 12:43:42 (0) (0)
 

Recommended answer

Herediano
Created Nov 24, 2020 22:45:16

Hi @kacpersky,


The scenario that you are mentioning "If Remaining Lifetime of the received LSP is 0, the DIS replaces the LSP with the received LSP, and broadcasts the new LSDB" it's a special LSP called a purged LSP (an LSP with remaining lifetime set to 0) and is always considered newer than a non-purged copy of the same LSP or than the same LSP with a non-zero Remaining Lifetime.


You can refer to ISO 10589 Section 7.3.16 for more information.

ftp://ftp.iks-jena.de/pub/mitarb/lutz/standards/iso/iso10589.pdf

https://tools.ietf.org/html/rfc7987#section-7.3.15.1



View more
  • x
  • convention:

kacpersky
kacpersky Created Nov 24, 2020 23:09:40 (0) (0)
So it's something similar to OSPF LSA with LS Age 3600?  
Herediano
Herediano Reply kacpersky  Created Nov 24, 2020 23:37:32 (0) (0)
Hi, yes it's a similar concept as the one defined for premature aging of LSAs in OSPF.  
kacpersky
kacpersky Reply Herediano  Created Nov 25, 2020 09:27:11 (0) (0)
Ok, so except the case with 0 remaining lifetime means the larger - the newer?  
Herediano
Herediano Reply kacpersky  Created Nov 25, 2020 22:07:49 (0) (0)
Hi, if lifetime is not 0 is not meaningful for LSP processing. I will comment the complete process since it's too large.  
All Answers
Hello User. we are reviewing your question and we will answer you shortly. Thanks.
View more
  • x
  • convention:

Hi @kacpersky,


The scenario that you are mentioning "If Remaining Lifetime of the received LSP is 0, the DIS replaces the LSP with the received LSP, and broadcasts the new LSDB" it's a special LSP called a purged LSP (an LSP with remaining lifetime set to 0) and is always considered newer than a non-purged copy of the same LSP or than the same LSP with a non-zero Remaining Lifetime.


You can refer to ISO 10589 Section 7.3.16 for more information.

ftp://ftp.iks-jena.de/pub/mitarb/lutz/standards/iso/iso10589.pdf

https://tools.ietf.org/html/rfc7987#section-7.3.15.1



View more
  • x
  • convention:

kacpersky
kacpersky Created Nov 24, 2020 23:09:40 (0) (0)
So it's something similar to OSPF LSA with LS Age 3600?  
Herediano
Herediano Reply kacpersky  Created Nov 24, 2020 23:37:32 (0) (0)
Hi, yes it's a similar concept as the one defined for premature aging of LSAs in OSPF.  
kacpersky
kacpersky Reply Herediano  Created Nov 25, 2020 09:27:11 (0) (0)
Ok, so except the case with 0 remaining lifetime means the larger - the newer?  
Herediano
Herediano Reply kacpersky  Created Nov 25, 2020 22:07:49 (0) (0)
Hi, if lifetime is not 0 is not meaningful for LSP processing. I will comment the complete process since it's too large.  

A router processes a received LSP as follows:

- Updating the LSDB on a broadcast link

  1. When the DIS receives an LSP, it searches the LSDB for the related records. If the DIS does not find the LSP in its LSDB, it adds the LSP to its LSDB and broadcasts the new LSDB.

  2. If the sequence number of the received LSP is greater than that of the local LSP, the DIS replaces the local LSP with the received LSP in the LSDB and broadcasts the new LSDB.

  3. If the sequence number of the received LSP is less than that of the local LSP, the DIS sends the local LSP in the LSDB to the inbound interface.

  4. If the sequence number of the received LSP is equal to that of the local LSP, the DIS compares the Remaining Lifetime of the two LSPs. If Remaining Lifetime of the received LSP is 0, the DIS replaces the LSP with the received LSP, and broadcasts the new LSDB. If the Remaining Lifetime of local LSP is 0, the DIS sends the LSP to the inbound interface.

  5. If the sequence number of the received LSP and the local LSP in the LSDB are the same and neither Remaining Lifetime is 0, the DIS compares the checksum of the two LSPs. If the received LSP has a greater checksum than that of the local LSP in the LSDB, the DIS replaces the local LSP in the LSDB with the received LSP and advertises the new LSDB. If the received LSP has a smaller checksum than that of the local LSP in the LSDB, the DIS sends the local LSP in the LSDB to the inbound interface.

  6. If the checksums of the received LSP and the local LSP are the same, the LSP is not forwarded.

- Updating the LSDB on a P2P link

  1. If the sequence number of the received LSP is greater than that of the local LSP in the LSDB, the router adds the received LSP to its LSDB. The router then sends a PSNP packet to acknowledge the received LSP and sends the LSP to all its neighbors except the neighbor that sends the LSP.

  2. If the sequence number of the received LSP is less than that of the local LSP, the router directly sends its LSP to the neighbor and waits for a PSNP from the neighbor as an acknowledgement.

  3. If the sequence number of the received LSP is the same as that of the local LSP in the LSDB, the router compares the Remaining Lifetimes of the two LSPs. If Remaining Lifetime of the received LSP is 0, the router adds the LSP to its LSDB. The router then sends a PSNP to acknowledge the received LSP. If Remaining Lifetime of the local LSP is 0, the router directly sends the local LSP to the neighbor and waits for a PSNP from the neighbor.

  4. If the sequence number of the received LSP and the local LSP in the LSDB are the same, and neither Remaining Lifetime is 0, the router compares the checksum of the two LSPs. If the received LSP has a greater checksum than that of the local LSP, the router adds the received LSP to its LSDB. The router then sends a PSNP to acknowledge the received LSP. If the received LSP has a smaller checksum than that of the local LSP, the router directly sends the local LSP to the neighbor and waits for a PSNP from the neighbor. At last, the router sends the LSP to all its neighbors except the neighbor that sends the LSP.

  5. If the checksums of the received LSP and the local LSP are the same, the LSP is not forwarded.

Here is a link more information for your reference:

https://support.huawei.com/enterprise/en/doc/EDOC1100055485/4110e8a/basic-protocols-of-is-is


View more
  • x
  • convention:

kacpersky
kacpersky Created Nov 25, 2020 22:35:06 (0) (0)
Thank you but there is only information about 0 value of remaining lifetime.
It's only:
1) Compare seq number
2) Check renaming lifetime is it equal 0. Received or local
3) Compare checksum

So it means that router doesn't compare two remaining lifetime different from 0, right?  
Herediano
Herediano Reply kacpersky  Created Nov 26, 2020 03:52:36 (0) (0)
Exactly, if lifetime is not 0 is not meaningful for LSP processing.  
kacpersky
kacpersky Reply Herediano  Created Nov 26, 2020 08:07:42 (0) (0)
Now its clear :) thank you very much.  
Herediano
Herediano Reply kacpersky  Created Nov 26, 2020 16:05:04 (0) (0)
You're welcome  
orlimar
orlimar Reply kacpersky  Created Nov 28, 2020 12:43:42 (0) (0)
 

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.