ospf协议一类lsa 二类lsa 三类lsa

Posted caidachun-didi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ospf协议一类lsa 二类lsa 三类lsa相关的知识,希望对你有一定的参考价值。

技术图片

 

 

一类lsa 只在本区域泛洪,每个路由都会产生一类lsa 描述本路由器的routerID 接口ip DR的接口ip

<r3>dis ospf lsdb router

OSPF Process 1 with Router ID 3.3.3.3
Area: 0.0.0.0
Link State Database


Type : Router
Ls id : 2.2.2.2
Adv rtr : 2.2.2.2
Ls age : 179
Len : 36
Options : E
seq# : 80000005
chksum : 0x243
Link count: 1
* Link ID: 123.0.0.1
Data : 123.0.0.2
Link Type: TransNet
Metric : 1

Type : Router
Ls id : 1.1.1.1
Adv rtr : 1.1.1.1
Ls age : 179
Len : 36
Options : ABR E
seq# : 80000008
chksum : 0x3d0d
Link count: 1
* Link ID: 123.0.0.1
Data : 123.0.0.1
Link Type: TransNet
Metric : 1

Type : Router
Ls id : 3.3.3.3
Adv rtr : 3.3.3.3
Ls age : 179
Len : 36
Options : E
seq# : 80000004
chksum : 0xc577
Link count: 1
* Link ID: 123.0.0.1
Data : 123.0.0.3
Link Type: TransNet
Metric : 1

<r3>
<r3>
<r3>dis ospf lsdb ne
<r3>dis ospf lsdb network

  2类本区域泛洪 lsID是DR接口ip,不是routerID  本网段有哪些路由器ID是多少

<r3>dis ospf lsdb network 

	 OSPF Process 1 with Router ID 3.3.3.3
		         Area: 0.0.0.0
		 Link State Database 


  Type      : Network
  Ls id     : 123.0.0.1
  Adv rtr   : 1.1.1.1  
  Ls age    : 190 
  Len       : 36 
  Options   :  E  
  seq#      : 80000004 
  chksum    : 0x6357
  Net mask  : 255.255.255.0
  Priority  : Low
     Attached Router    1.1.1.1
     Attached Router    2.2.2.2
     Attached Router    3.3.3.3
 
<r3>dis ospf lsdb s	

  3类ls-id 是 网段地址 

<r3>dis ospf lsdb summary

	 OSPF Process 1 with Router ID 3.3.3.3
		         Area: 0.0.0.0
		 Link State Database 


  Type      : Sum-Net
  Ls id     : 14.0.0.0
  Adv rtr   : 1.1.1.1  
  Ls age    : 1018 
  Len       : 28 
  Options   :  E  
  seq#      : 80000001 
  chksum    : 0xa0a9
  Net mask  : 255.255.255.0
  Tos 0  metric: 1
  Priority  : Low
 
<r3>

  邻居关系中直和dr和bdr建立邻居关系

<r3>dis ospf peer

	 OSPF Process 1 with Router ID 3.3.3.3
		 Neighbors 

 Area 0.0.0.0 interface 123.0.0.3(GigabitEthernet0/0/3)‘s neighbors
 Router ID: 1.1.1.1          Address: 123.0.0.1       
   State: Full  Mode:Nbr is  Slave  Priority: 1
   DR: 123.0.0.1  BDR: 123.0.0.2  MTU: 0    
   Dead timer due in 40  sec 
   Retrans timer interval: 4 
   Neighbor is up for 00:02:44     
   Authentication Sequence: [ 0 ] 

 Router ID: 2.2.2.2          Address: 123.0.0.2       
   State: Full  Mode:Nbr is  Slave  Priority: 1
   DR: 123.0.0.1  BDR: 123.0.0.2  MTU: 0    
   Dead timer due in 28  sec 
   Retrans timer interval: 4 
   Neighbor is up for 00:02:44     
   Authentication Sequence: [ 0 ] 

  

以上是关于ospf协议一类lsa 二类lsa 三类lsa的主要内容,如果未能解决你的问题,请参考以下文章

OSPF的LSA类型

OSPF协议各类LSA的内容总结

OSPF 多区域配置

OSPF路由计算及12类LSA详解

路由基础之OSPF LSA详细讲解

【HCIP】2OSPF协议-4四类、五类LSA