[R2]display ospf lsdb
OSPF Process 1 with Router ID 2.2.2.2
Link State Database
Area: 0.0.0.1
Type LinkState ID AdvRouter Age Len Sequence Metric
Router 2.2.2.2 2.2.2.2 21 48 80000008 1 # 查看 area 1 中自己产生的1 类lsa, 这里的metric 显示的1类LSA中最小的链路开销
Router 1.1.1.1 1.1.1.1 211 36 80000005 1
Network 10.1.12.1 1.1.1.1 211 32 80000002 0
Area: 0.0.0.2
Type LinkState ID AdvRouter Age Len Sequence Metric
Router 2.2.2.2 2.2.2.2 297 48 80000002 48
Router 3.3.3.3 3.3.3.3 298 48 80000002 48
[R2]
[R2]display ospf lsdb router self-originate
OSPF Process 1 with Router ID 2.2.2.2
Area: 0.0.0.1
Link State Database
Type : Router
Ls id : 2.2.2.2
Adv rtr : 2.2.2.2
Ls age : 4
Len : 48
Options : E
seq# : 80000008
chksum : 0x6325
Link count: 2
* Link ID: 10.1.12.1
Data : 10.1.12.2
Link Type: TransNet
Metric : 1
* Link ID: 10.2.2.0
Data : 255.255.255.0
Link Type: StubNet
Metric : 100 # 这里有一个末节网络
Priority : Low
Area: 0.0.0.2
Link State Database
<R1>
<R1>dis ospf lsdb
OSPF Process 1 with Router ID 1.1.1.1
Link State Database
Area: 0.0.0.1
Type LinkState ID AdvRouter Age Len Sequence Metric
Router 2.2.2.2 2.2.2.2 196 48 80000008 1 # 在R1上查看一样的
Router 1.1.1.1 1.1.1.1 385 36 80000005 1
Network 10.1.12.1 1.1.1.1 385 32 80000002 0
<R1>