当前位置:网站首页>2022-06-25 advanced network engineering (XI) IS-IS synchronization process of three tables (neighbor table, routing table, link state database table), LSP, cSNP, psnp, LSP
2022-06-25 advanced network engineering (XI) IS-IS synchronization process of three tables (neighbor table, routing table, link state database table), LSP, cSNP, psnp, LSP
2022-07-03 19:25:00 【A goose】
Three big watches
IS-IS Deal with the OSPF There are also three big watches .
Neighborhood watch
<R3>display isis peer
Peer information for ISIS(1)
System Id Interface Circuit Id State HoldTime Type PRI
-------------------------------------------------------------------------------
R2 GE0/0/0 R3.01 Up 21s L2 64
R5 GE0/0/1 R5.02 Up 7s L2 64
R6 GE0/0/2 R3.03 Up 23s L2 64
Total Peer(s): 3System Id: System of neighbor device ID
interface: Exit interface
circuit id: link ID, It is divided into 2 Part of it is made up of , The first part says DIS Router , The second part represents the DIS Which links .
state: Current neighbor status
holdtime: Failure time
type: Established level
PRI: Interface DIS Election priority
Routing table
<R3>display isis route
Route information for ISIS(1)
-----------------------------
ISIS(1) Level-2 Forwarding Table
--------------------------------
IPV4 Destination IntCost ExtCost ExitInterface NextHop Flags
-------------------------------------------------------------------------------
10.1.0.0/24 20 NULL GE0/0/0 10.1.1.2 A/-/-/-
15.1.0.0/24 30 NULL GE0/0/1 20.1.1.5 A/-/-/-
GE0/0/0 10.1.1.2
20.1.0.0/24 20 NULL GE0/0/1 20.1.1.5 A/-/-/-
30.1.0.0/24 10 NULL GE0/0/2 Direct D/-/L/-
10.1.1.0/24 10 NULL GE0/0/0 Direct D/-/L/-
20.1.1.0/24 10 NULL GE0/0/1 Direct D/-/L/-
Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,
U-Up/Down Bit SetIPV4 Destination: Destination network address
IntCost: Internal expenses
ExtCost: External expenses
ExitInterface: Exit interface
NextHop: Next jump
Flags: Sign a ,D- Direct link routing A- Add to unicast routing table ( Non backbone area routing , from level-1-2 Router announcement ), L- adopt LSP Release ( Route in this area ), S- There is IGP Shortcut, U-Up/Down Bit Set( For anti ring )
PS: About U-Up/Down Bit Set The logo indicates this lsp The route of is originally issued by another region / Penetrating ,level-1-2 The router will prohibit it from sending back to another area , Avoid parameter loops
Link state database table
<R3>display isis lsdb
Database information for ISIS(1)
--------------------------------
Level-2 Link State Database
LSPID Seq Num Checksum Holdtime Length ATT/P/OL
-------------------------------------------------------------------------------
R2.00-00 0x0000001e 0xe9f6 1112 126 0/0/0
R3.00-00* 0x00000018 0xeb07 487 128 0/0/0
R3.01-00* 0x0000000f 0xadcb 487 55 0/0/0
R3.03-00* 0x0000000f 0x1063 487 55 0/0/0
R5.00-00 0x00000015 0xdce9 837 126 0/0/0
R5.02-00 0x0000000f 0xd49e 837 55 0/0/0
R6.00-00 0x00000011 0x7436 823 74 0/0/0
Total LSP(s): 7
*(In TLV)-Leaking Route, *(By LSPID)-Self LSP, +-Self LSP(Extended),
ATT-Attached, P-Partition, OL-OverloadLSPID:LSP identification , It is divided into 3 part . The first 1 Part of the identification generated by the router . The first 2 Partial representation DIS Which links ,0 For non DIS. The first 3 Part indicates whether to slice , Range 00-FF. An asterisk indicates that it is generated locally .
Seq Num: Link status serial number , Every time there is a topology change, add 1. Same as OSPF
Checksum: The checksum .
Holdtime: Failure time . Maximum by default 1200 second , Update cycle 900 second .
Length :PDU length , Unit byte .
ATT/P/OL: Sign a .ATT- from level-1-2 Routers produce , Explain that the originating router is connected to other areas , P- Support area repair OL- Insufficient memory overload , When overloaded , This article LSP Will not participate in routing calculation , It can be manually set to overload state .
Relevant command
Set overload
[R1-isis-1]set-overloadSet up ATT Always set ( stay level-1-2 Configuration on router )
[R1-isis-1]attached-bit advertise always Set up ATT Never set ( stay level-1-2 Configuration on router )
[R1-isis-1]attached-bit advertise never Set not to learn level-1-2 Router because ATT Set the default route issued ( stay level-1-2 Adjacent to the router level-1 Configuration on router )
[R1-isis-1]attached-bit avoid-learningView the specified entry information
<R3>display isis lsdb verbose 0000.0000.0006.00-00
Database information for ISIS(1)
--------------------------------
Level-2 Link State Database
LSPID Seq Num Checksum Holdtime Length ATT/P/OL
-------------------------------------------------------------------------------
0000.0000.0006.00-00 0x00000014 0x6e39 562 74 0/0/0
SOURCE R6.00
HOST NAME R6
NLPID IPV4
AREA ADDR 49.0002
INTF ADDR 30.1.0.6
NBR ID R3.03 COST: 10
IP-Internal 30.1.0.0 255.255.255.0 COST: 10
Total LSP(s): 1
*(In TLV)-Leaking Route, *(By LSPID)-Self LSP, +-Self LSP(Extended),
ATT-Attached, P-Partition, OL-Overload
SOURCE: Source entry
HOST NAME: Equipment name
NLPID: Protocol type
AREA ADDR: Area number
INTF ADDR: Interface IP Address
NBR ID: Neighbor identifier .DIS identifier
IP-Internal: Segment information
LSP
Link status message LSP Used to exchange link status information .

Remaining Lifetime : LSP Survival time , In seconds .
LSP ID: It's made up of three parts ,System ID、 Pseudo nodes ID and LSP Number after slicing .
Sequence Number: LSP The serial number of . The first one sent when the router starts LSP The serial number in the message is 1, In the future, when it is necessary to generate new LSP when , new LSP The serial number of is in the previous LSP Add 1. Higher serial numbers mean newer LSP.
Checksum : LSP Checksum .
ATT(Attachment): from Level-1-2 Routers produce , Used to indicate whether the originating router is connected to other areas . Although this flag bit also exists in Level-1 and Level-2 Of LSP in , But in fact, this field is only related to Level-1-2 Router originated L1 LSP of .
OL(LSDB Overload,1bit): Overload flag bit . Set the overload flag bit LSP Although it will spread in the network , But it will not be used when calculating the route through the overloaded router . That is, after setting the overload bit on the router , Other routers are in progress SPF This router will not be considered in the calculation . When the router is out of memory , The system automatically sends LSP Set the overload flag bit in the message .
IS Type(2bit): Generate LSP Type of router . Used to indicate that Level-1 still Level-2 Router (01 Express Level-1,11 Express Level-2).
Grab bag observation

1.PDU length :126 byte
2. Time to live :1198 second
3.LSP-ID:0000.0000.0005.00-00
4. Link status serial number : 0x00000000f
5. The checksum :0x09c3
6. Check the state :good
7. Generate LSP Type of router : All flags 0, Grade 2 Of LSP(3 Indicates a two-level system 11 That's the hierarchy 2)
8. Indicates the protocol type
9. Indicates the area number
10. Indicates the name of the generated router
11. Indicates the system that generated the router ID and DIS Entry number
12. Indicates that the interface information of the router is generated
13. Ben LSP Included network segment information
CSNP
CSNP Include this device LSDB All of the LSP Abstract , Routers interact CSNP To determine whether synchronization is needed LSDB.
On the broadcast network ,CSNP from DIS Send regularly ( The default sending cycle is 10 second ).
On a point-to-point network ,CSNP Send only when the adjacency relationship is established for the first time .

Source ID: issue CSNP Packet router System ID.
Start LSP:CSNP The first in the message LSP Of ID value .
End LSP ID:CSNP The last one in the message LSP Of ID value .
Grab bag observation

1.PUD length :147 byte
2. The source route of this message system ID:0000.0000.0003
3. Link identifier of the source route :00
4. first LSP ID value :0000.0000.0000.00-00
5. the last one LSP ID value :ffff.ffff.ffff.ff-ff
6. The source route contains LSP A list of
PSNP
PSNP Only partial LSP Summary information of ( And CSNP Different )
When you find LSDB Out of sync ( After adding a new device ),PSNP To ask neighbors to send new LSP.
In a point-to-point network , When I received LSP when , Use PSNP Yes, I received LSP Confirm .

Source ID: issue PSNP Packet router System ID.
Grab bag observation

1.PDU length :99 byte
2. The source route of this message system ID:0000.0000.0007
3. Link identifier of the source route :00
4. The source route contains LSP A list of
LSP The synchronization process of

1.R3 Send HELLO Then establish adjacency . Then send the local LSP.
2.DIS received R3 Of LSP Then add to LSDB in . Send again CSNP.
3.R3 received CSNP Then compare your own LSDB. Send again PSNP Request missing parts .
4.DIS received PSNP Later, this part LSP Send to R3.
PS: The synchronization process of point-to-point network is similar to that of broadcast network .
边栏推荐
- Chapter 1: sum of three factorials, graph point scanning
- Redis master-slave synchronization, clustering, persistence
- Driveseg: dynamic driving scene segmentation data set
- 第一章: 舍罕王失算
- 第二十章:y= sin(x)/x,漫步坐标系计算,y= sin(x)/x 带廓幅图形,奥运五环,小球滚动与弹跳,流水显示,矩形优化裁剪,r个皇后全控nxn棋盘
- Ctrip will implement a 3+2 work system in March, with 3 days on duty and 2 days at home every week
- 论文阅读 GloDyNE Global Topology Preserving Dynamic Network Embedding
- Octopus online ecological chain tour Atocha protocol received near grant worth $50000
- 第二章:求长方体数组,指定区间内的完全数,改进指定区间内的完全数
- Summary of 90 day learning materials and notes of Zhang Fei's actual electronic hardware engineer
猜你喜欢
![[disease identification] machine vision lung cancer detection system based on Matlab GUI [including Matlab source code 1922]](/img/fc/00835b95537cf889588502a3d13bc9.png)
[disease identification] machine vision lung cancer detection system based on Matlab GUI [including Matlab source code 1922]

Ego planner code parsing Bspline_ Optimizer section (3)

Chapter 1: find the factorial n of n!

Why should the gradient be manually cleared before back propagation in pytorch?

If the warehouse management communication is not in place, what problems will occur?

2022-07-02 网工进阶(十五)路由策略-Route-Policy特性、策略路由(Policy-Based Routing)、MQC(模块化QoS命令行)

Sentinel source code analysis part I sentinel overview

第一章:求n的阶乘n!

Sentinel source code analysis part II - sentinel dashboard console startup and configuration

2022-06-25 网工进阶(十一)IS-IS-三大表(邻居表、路由表、链路状态数据库表)、LSP、CSNP、PSNP、LSP的同步过程
随机推荐
【光学】基于matlab涡旋光产生【含Matlab源码 1927期】
Chapter 1: drinking soft drinks, step tariff calculation, step tariff calculation function, personal income tax, solving square root inequality, simplifying solving square root inequality, solving dem
The necessity of lean production and management in sheet metal industry
Scrape crawler framework
Differential constrained SPFA
Thinking about festivals
01 - QT OpenGL display OpenGL window
PR 2021 quick start tutorial, material import and management
PR 2021 quick start tutorial, how to create a new sequence and set parameters?
东数西算拉动千亿产业,敢啃“硬骨头”的存储厂商才更有机会
04 -- QT OpenGL two sets of shaders draw two triangles
Valentine's Day - make an exclusive digital collection for your lover
[academic related] how to find the innovation of top papers? Chinese universities won the CVPR Best Student Thesis Award for the first time
Driveseg: dynamic driving scene segmentation data set
05 -- QT OpenGL draw cube uniform
03 -- QT OpenGL EBO draw triangle
Think of new ways
What does a really excellent CTO look like in my eyes
During MySQL installation, the download interface is empty, and the components to be downloaded are not displayed. MySQL installer 8.0.28.0 download interface is empty solution
2022-06-25 网工进阶(十一)IS-IS-三大表(邻居表、路由表、链路状态数据库表)、LSP、CSNP、PSNP、LSP的同步过程