LSA 2 详解

时间:2023-02-09 17:59:09

LSA 2 详解

<ar3>display ospf lsdb network

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

Type : Network //LSA类型network,也就是LSA-2
Ls id : 10.1.1.3  // 广播链路DR的ip地址:10.1.1.3
Adv rtr : 3.3.3.3 //宣告路由器router-id
Ls age : 138
Len : 36
Options : E
seq# : 80000006
chksum : 0x8a93
Net mask : 255.255.255.0
Priority : Low
Attached Router 3.3.3.3 //广播链路上的路由器,都是记录了router-id
Attached Router 1.1.1.1
Attached Router 2.2.2.2

<ar3>

<ar3>display ospf lsdb router 3.3.3.3

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

Type : Router
Ls id : 3.3.3.3  //链路状态ID
Adv rtr : 3.3.3.3 //产生此LSA的路由器的Router ID
Ls age : 617
Len : 36
Options : E
seq# : 80000008
chksum : 0x214
Link count: 1

  • Link ID: 10.1.1.3 //DR接口的IP地址
    Data : 10.1.1.3 //宣告该Router LSA的路由器接口的ip地址
    Link Type: TransNet
    Metric : 1

<ar3>