当前位置:网站首页>[hcip] OSPF relationship establishment
[hcip] OSPF relationship establishment
2022-07-26 22:38:00 【Domeecky】
Catalog
Establish a master-slave relationship
Adjacency relationship establishment
OSPF Message type
(1)Hello message : Used to establish neighborhoods
(2)DD message : For interactive LSA Summary information of
(3)LSR message : Used to send a message LSA
(4)LSU message : Used for sending LSA Details of
(5)LSACK message : Used to check the received LSA Confirm
Neighborhood building
(1) Turn on OSPF The neighbor states in the device neighbor table of are initially Down
(2)A towards B send out Hello message , Carry your own Router ID
(3)B Upon receipt A Put it in the neighbor list and put A The status of is set to init, Reply again Hello message , Carry yourself and A Of Router ID
(4)A Upon receipt B In your neighbor list and directly put B The status in the neighbor table is set to 2-Way, Again to B reply Hello message , Carry yourself and B Of Router ID
(5)B After receipt of , take A The status in the neighbor table is set to 2-Way

The election DR and BDR
After building a neighborhood relationship, there are 40 Second election DR and BDR, Elected DR and BDR Can't be forcibly occupied

Router ID:
If not specified Router ID, Then the global Router ID, It will not change automatically after use .
overall situation Router ID:
Because every routing protocol needs Router ID, So use overall situation Router ID As the default of Routing Protocol Router ID.
overall situation Router ID Election rules : The first device configuration IP Address .
Establish a master-slave relationship
Used to initialize the link state database
1、DRother and DR The state between two is determined by 2-Way To ExStart And send each other DD message ( Content is empty , The serial number is random ,Options All set ).
2、Router-ID Small become slave devices , Lose the power to generate serial numbers ( Serial number is the serial number of the message sent by the main device ), The state is set to ExChange And the reply DD message ( Serial number is the main equipment serial number ,I by 1,MS by 0).
3、 After the main equipment is received , Because the serial number is the serial number of the last message , Then confirm that the other party has received the data and become a slave device ( Implicit confirmation ), Change your status to ExChange, Continue to send message interaction data ( Serial number in sequence +1,).
4、 The adjacency relationship is established , The status of both parties changes to Loading, And start interacting LSA.
After receiving the message from the device , If the message serial number has been +1, Then confirm that the other party has received the data sent by itself ( Implicit confirmation ), When interacting with data again , The serial number is the serial number of the opposite party .
When the master device receives the slave device M In place DD When the message ( Indicates that the slave device still has data to send ), Because the slave device cannot generate serial numbers , At this time, the master device will send an empty DD The message provides the serial number to the slave device .
Adjacency relationship establishment
All non DR Hui He DR、BDR Establish adjacency between (FULL),DROther They will only establish a neighbor relationship (2-Way), No interaction LSA.
Interaction LSA
LSDB Interaction principle : Interaction itself does not LSA, And use new LSA, Replace old LSA.
1、 According to the other party's LSDB Send... To the other party LSR( Ask for what you don't have LSA Details )
2、 Mutual development LSU( Requested by the other party LSA Details )
3、 Mutual development LS ACK ( Acknowledge receipt of LSU)
4、 Both parties set the status to Full( Steady state ).


OSPF Supported network types
stay NBMA in ,OSPF Building a neighbor relationship requires that the network segments at both ends be consistent 、 Consistent mask
stay P2P in , No network segment is required 、 Consistent mask
stay P2MP in , The default requirement is network segment 、 Consistent mask , But it can be modified
OSPF Multicast address

边栏推荐
- Embedded sig | distributed soft bus
- 2019生物识别论坛成功落幕:这十大看点不容错过!
- DTS搭载全新自研内核,突破两地三中心架构的关键技术|腾讯云数据库
- [MySQL] - index principle and use
- IDEA的那些环境配置及插件
- what is a kit in qt
- A few pictures help you clarify "China's financial institution system"
- [basics of C language] 17 preliminary study of linked list
- 参数解析与跳石板
- Add resource files for the project and pictures for buttons in QT
猜你喜欢

leetcode:857. 雇佣 K 名工人的最低成本【分块思考 + 由简单入手】

A few pictures help you clarify "China's financial institution system"

Embedded SIG | 分布式软总线

Nacos作为注册中心、配置中心入门使用篇-实现远程调用、动态获取配置文件、数据库配置信息

NVIDIA SMI error: NVIDIA SMI has failed because it could't communicate with the NVIDIA driver complete record

Embedded sig | distributed soft bus
![[IO Development Notes] smart cloud intelligent watering device practice (1) - Basic demo implementation](/img/db/122cc54ad8b5b06c885d7455ecb034.png)
[IO Development Notes] smart cloud intelligent watering device practice (1) - Basic demo implementation

SQL二次注入详解

nvidia-smi报错:NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver 完整记录

基于信心上界蒙特卡洛搜索树(UCT)实现四子棋
随机推荐
Regular expressions and bypass cases
华为Atlas900揭秘:集成数千颗昇腾910芯片,算力堪比50万台PC!
nvidia-smi报错:NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver 完整记录
The potential of emerging markets is unlimited, and advance.ai risk control products help Chinese offshore enterprises build a solid foundation for safe development
Implementation principle of semaphore in golang
Unity operates on Explorer, opens explorer, selects files, and filters files
Nacos作为注册中心、配置中心入门使用篇-实现远程调用、动态获取配置文件、数据库配置信息
【HCIP】OSPF 关系建立
继关闭苏州厂之后,欧姆龙东莞厂宣布解散,2000多人面临失业!
各有一项指纹专利被宣告无效!汇顶与思立微均正式回应!
What is Base64?
『Mysql』汇总Mysql索引失效的常见场景
Module 8 (message queue MySQL table storing message data)
2022-07-26:以下go语言代码输出什么?A:5;B:hello;C:编译错误;D:运行错误。 package main import ( “fmt“ )
JSON字符串转化为JSON对象,获取某个key的值,判断某个key是否存在
基于gRPC编写golang简单C2远控
Sell 700million a year, and get ready for the IPO of Dezhou braised chicken
纷享销客罗旭对话西门子王海滨:先进制造,要向数字化要效益
DTS is equipped with a new self-developed kernel, which breaks through the key technology of the three center architecture of the two places Tencent cloud database
Embedded SIG | 分布式软总线
