一类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 ]
原文地址:https://www.cnblogs.com/caidachun-didi/p/12396518.html