Got it

OSPF - DN BIT

Created: Oct 26, 2020 15:21:25Latest reply: Oct 27, 2020 14:13:04 435 4 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello,


Can you please explain me what is DN bit and when is used?


Featured Answers

Recommended answer

Unicef
MVE Created Oct 26, 2020 15:30:27

Dear User,

When a PE advertises Type 3, Type 5, and Type 7 LSAs to a CE through Area 0, the highest optional bit (called DN bit) of these LSAs must be reset. If the PE advertises these LSAs to a CE through an area that is not Area 0, the DN bit does not need to be reset.

The DN bit is used to prevent loops. A PE does not process the received LSA that contains a DN bit. In a CE dual-homing scenario, this prevents the other PE from learning the same LSA from the CE and so prevents loops.
The PE sets and checks the DN bit in Type 3, Type 5, and Type 7 LSAs.

https://support.huawei.com/enterprise/en/doc/EDOC1000091883/de483cb/what-is-the-function-of-the-dn-bit-in-ospf-lsas


Thanks!

View more
  • x
  • convention:

All Answers

Dear User,

When a PE advertises Type 3, Type 5, and Type 7 LSAs to a CE through Area 0, the highest optional bit (called DN bit) of these LSAs must be reset. If the PE advertises these LSAs to a CE through an area that is not Area 0, the DN bit does not need to be reset.

The DN bit is used to prevent loops. A PE does not process the received LSA that contains a DN bit. In a CE dual-homing scenario, this prevents the other PE from learning the same LSA from the CE and so prevents loops.
The PE sets and checks the DN bit in Type 3, Type 5, and Type 7 LSAs.

https://support.huawei.com/enterprise/en/doc/EDOC1000091883/de483cb/what-is-the-function-of-the-dn-bit-in-ospf-lsas


Thanks!

View more
  • x
  • convention:

  • x
  • convention:

Hello,

The typical scenario is that a CE is dual-homed to PEs, or different CEs in an AS are connected to different PEs. 

144928ay2sku25a0ej2kkt.png

As shown in the preceding figure, OSPF runs between PEs and CEs. By default, the DN-bit in the option field of LSAs is used to prevent loops and prevent suboptimal route selection. The DN set takes effect on the PE. 

1. When the PE1 sends LSA3, LSA5, and LSA7 to the CE1, the DN bit in the LSAs is set to 1. 

2. PE2 receives the LSAs with DN bit set to 1 but does not use them for route calculation. 


View more
  • x
  • convention:

Thank you guys for the help.

View more
  • x
  • convention:

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.