当前位置:网站首页>[hcip] detailed explanation of six LSAS commonly used by OSPF
[hcip] detailed explanation of six LSAS commonly used by OSPF
2022-04-23 02:44:00 【Digital communication】
Catalog
More highlights , All in G Z H: Digital communication !!!
stay Hcia Stage , We introduced OSPF frequently-used LSA The main types are 1、2、3、4、5、7 common 6 Kind of LSA.
Today we mainly focus on OSPF Of 1 class 、2 class 、3 class LSA To comb . To this end, we set up OSPF The network is shown in the figure below :
Area 0 For broadcast type ,R1 Of G0 mouth ( Hereinafter referred to as interface 1) and R2 Of G0 mouth ( Hereinafter referred to as interface 2) Announce to area 0 in .R2 Of S0 mouth ( Hereinafter referred to as serial port 1) and R4 Of S0 mouth ( Hereinafter referred to as serial port 2) Announce to area 1 in . Area 1 by p2p Network type . The specific configuration will not be repeated .
We are R2 Routers , see lsdb Here's the picture .( The order is :[R2]display ospf lsdb)
1 class Lsa:
(1) It mainly describes the link information of the direct interface with the route ;
(2) Each router will generate one 1 class Lsa entry ;
(3)1 class Lsa There are four types of , Respectively p2p、stubnet、transnet、virtual;
(4)Lsa The meaning of internal elements :
We can see that , stay 2.2.2.2 Of lsdb in , contain 3 Kind of 1 class Lsa.
Transnet type :
among :
type: Express Lsa The type of ,router Express 1 class Lsa;
Ls id: It means that we should lsa The name of ;
adv rtr: Indicates that the lsa The router ;
Ls age: Indicates aging time , For the initial 0,3600 For aging ;
Len: Express Lsa Message length ;
seq: Serial number , For comparison Lsa New and old ;
Checksum: The checksum
Link count: The amount of link information
Link id: Information representing the pseudo node
Data: Indicates that it is connected to the pseudo node IP
link type: describe 1 class Lsa The type of ,transnet Expressed as broadcast or NBMA type
Metric: Cost value
P2P type :
among ,Lsa The header information is the same , No more narratives :
Link id: Indicates neighbor information ;
Data: Represents the interface between itself and its neighbors ;
Link type: describe 1 class Lsa The type of ,p2p Indicates that the network type is P2P,
Metric: Indicates the cost value of the link .
stubnet type :
Link id: The routing network number directly connected to itself ;
Data: A mask representing the network number ;
Link type: Expressed as node information ;
Metric: Indicates the cost value of the link .
virtual type
The virtual link is configured as :
[ Area ]vlink-peer To the end router id
To generate a link type by virtual A class of lsa. Its link id Represents the end-to-end route of the virtual link router id,data Represents the interface to the virtual link .
2 class Lsa:
(1) Mainly on the radio or NBMA In the network type , Information used to describe pseudo nodes ;
(2)Lsa The internal elements are shown in the figure below :
type: Express lsa type ,network Expressed as 2 class Lsa;
Attached router: Indicates neighbor routing
3 class Lsa:
(1) It's mainly about... In different areas 1 class Lsa and 2 class Lsa convert , So that it can be transmitted in different areas .
(2) Only ABR Route can be converted , And 3 class Lsa Flooding in this area .
(3)3 class Lsa The meaning of each element :
Compared with the above figure :
Last article , We talked about it. OSPF In the agreement 1 class ,2 class ,3 class Lsa, These three categories Lsa Mainly transmitted OSPF Link information in the protocol , However , In our daily life , It's impossible for all routers to run ospf agreement , This involves the concept of external routing , Is to be non ospf Routing information of the protocol , Announce the advance ospf Agreement . The specific configuration is :
[ospf process ]import-router static( Routing protocol , Here is the static route )
Let's set up a brief Topology .
Above picture , There were 3 individual area Area ,R4 For external routing ,R3 Of G0 The mouth did not announce OSPF in , But in R3 Add a static route , To find R4 Of loopback0 mouth .
stay R3 On , Introduce... Through the external routing just learned , Introduce this static route to ospf in .
R5 Of loopback0 There is no announcement into ospf in , But a direct external route .
according to Hcia Learned configuration commands , After we configure the network in the figure above , Introduce external routes into ospf in , stay R1 Check out ospf Of lsdb Information :
We found that , There are two new types of lsa entry , Namely sum-asbr,external. That's what we're talking about today 4 class ,5 class Lsa.
5 class Lsa:
(1) When an external route is introduced to ospf In the agreement , A router that connects external routes ( For example R3 Router ) Will be set to asbr route , And send the 1 strip 1 class Lsa Information , Tell the neighbors , I am for asbr, Then , Send external routing information , With 5 class Lsa In the form of , Forward .
(2)5 class Lsa Is in ospf Forwarding in the whole region .
(3)5 class Lsa Elements
type: Express Lsa type ,External Expressed as 5 class Lsa;
Ls id: Indicates the network number of the routing information ;
adv rtr: Indicates the advertiser's router-id:
E type:asbr Reach the target network cost The type of calculation , The default is 2, Indicates that only asbr To the target network cost value ; Can be changed to 1, In addition to calculating the above cost value , And then + Arrive by oneself asbr Of cost value .
Forwarding address: Used to do ospf Link optimization , If Fa by 0.0.0.0, Then the route to the outside will pass through adv rtr. If Fa There are specific ip, Then route to the outside , Will pass Fa Address to external routing .
4 class Lsa:
(1)4 class lsa Yes. asbr Sent 1 class Lsa Transformed from , The main function is to tell other areas that I can find 5 class Lsa The link state information contained .
(2)4 class Lsa By Abr Produced , And in ospf Flood in this area . That's why area0 and area1 One of them 4 class lsa, And only 5 class Lsa It's a separate one .
(3)4 class Lsa Elements :
type: Express Lsa The type of ,sum-asbr It means that we should Lsa by 4 class Lsa;
Ls id: Express asbr Route name for ;
adv rtr: It means you can go to asbr Route name for , stay abr Routers , Will be converted again , For example, above ,R1 Know what you're looking for Asbr Can pass R2 Router , meanwhile R1 Through to 4 class Lsa To update , Tell the area 2 The routing , I can find asbr.
Other elements and others Lsa identical .
7 class Lsa:
(1)7 class Lsa yes Nssa The area is used to generate when introducing external routes Lsa;
(2)7 class Lsa Flood only in this area ;
(3)7 class Lsa When passing to other areas ,abr Will 7 class Lsa Convert to 5 class Lsa, Flooding in other areas .
(4)7 class Lsa Elements :
type: Express Lsa type ,nssa by 7 class lsa
Ls id: Indicates the network number that announces the routing information ;
Adv rtr: Indicates the advertiser ;
The rest is related to 5 class Lsa Exactly the same ,7 class lsa It is to solve the problem of introducing external routing into special areas , It can be simply understood as nssa Regional 7 Class is equivalent to the... Of a normal region 5 class .
More highlights , All in G Z H: Digital communication !!!
版权声明
本文为[Digital communication]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230241257106.html
边栏推荐
- Decision tree principle of machine learning
- 5W of knowledge points
- After idea is successfully connected to H2 database, there are no sub files
- 【Hcip】OSPF常用的6种LSA详解
- Windows MySQL 8 zip installation
- Flink stream processing engine system learning (I)
- 解决win7 中powershell挖矿占用CPU100%
- [suggestion collection] hematemesis sorting out golang interview dry goods 21 questions - hanging interviewer-1
- Practical combat of industrial defect detection project (II) -- steel surface defect detection based on deep learning framework yolov5
- 期中汇总(概论+应用层+运输层)
猜你喜欢
Flink stream processing engine system learning (I)
1、 Sequence model
[XJTU計算機網絡安全與管理]第二講 密碼技術
定了,今日起,本号粉丝可免费参与网易数据分析培训营!
JVM runtime data area (I)
Download the genuine origin Pro 2022 tutorial and how to activate it
Fast and robust multi person 3D pose estimation from multiple views
Handwritten memory pool and principle code analysis [C language]
RT_ Thread ask and answer
windows MySQL8 zip安装
随机推荐
mysql function函数语法
So library dependency
基于Torchserve部署SBERT模型<语义相似度任务>
How big the program development of single chip microcomputer project can be, it represents your level of knocking code
国产轻量级看板式Scrum敏捷项目管理工具
学习正则表达式选项、断言
Niuke hand speed monthly race 48 C (I can't understand the difference. It belongs to yes)
Machine learning (Zhou Zhihua) Chapter 14 probability graph model
Day 4 of learning rhcsa
Flink learning (XI) watermark
Jupyter for local and remote access to ECS
Renesas electronic MCU RT thread development and Design Competition
[unity3d] rolling barrage effect in live broadcasting room
Global, exclusive and local routing guard
Data warehouse construction table 111111
进阶上将程序员必备素质
Download the genuine origin Pro 2022 tutorial and how to activate it
Those years can not do math problems, using pyhon only takes 1 minute?
基于Scrum进行创新和管理
JZ35 复杂链表的复制