上一篇:OSPF接口信息及中继列表
OSPF的链路状态数据库的路由链路状态信息
更加详细的描述R1路由器的链路状态数据库中每一个学习到的路由信息的具体状态信息。
- R1#sh ip ospf database router 查询OSPF的链路状态数据库的路由链路状态信息
- OSPF Router with ID (1.1.1.1) (Process ID 100)
- 路由ID是1.1.1.1,进程ID是100
- Router Link States (Area 0)
- LS age: 1320 链路状态的老化是1320
- Options: (No TOS-capability, DC)
- LS Type: Router Links 链路类型是路由链路
- Link State ID: 1.1.1.1 链路状态ID是1.1.1.1
- Advertising Router: 1.1.1.1 路由的ID是1.1.1.1
- LS Seq Number: 80000007 链路状态的标识符
- Checksum: 0x78A7 校验值
- Length: 60 长度
- Number of Links: 3 链路更新次数
- Link connected to: another Router (point-to-point) 链路连接其他路由器的信息,是点对点的链路
- (Link ID) Neighboring Router ID: 2.2.2.2 邻居ID是2.2.2.2
- (Link Data) Router Interface address: 199.99.1.1 本地链路接口地址199.99.1.1
- Number of TOS metrics: 0
- TOS 0 Metrics: 64 接口开销COST为64
- Link connected to: a Stub Network 链路连接为一个末节网络,这个表示这个网络的内部不会有其他的网络设备。
- (Link ID) Network/subnet number: 199.99.1.0 末节网络的网段为199.99.1.0
- (Link Data) Network Mask: 255.255.255.0 掩码信息
- Number of TOS metrics: 0
- TOS 0 Metrics: 64 开销为64
- Link connected to: a Stub Network 接口链路为末节网络
- (Link ID) Network/subnet number: 1.1.1.1 环回接口
- (Link Data) Network Mask: 255.255.255.255
- Number of TOS metrics: 0
- TOS 0 Metrics: 1 开销为64
- LS age: 1316
- Options: (No TOS-capability, DC)
- LS Type: Router Links
- Link State ID: 2.2.2.2
- Advertising Router: 2.2.2.2
- LS Seq Number: 80000006
- Checksum: 0x8B63
- Length: 84
- Number of Links: 5
- Link connected to: another Router (point-to-point)
- (Link ID) Neighboring Router ID: 199.99.2.2
- (Link Data) Router Interface address: 199.99.2.1
- Number of TOS metrics: 0
- TOS 0 Metrics: 64
- Link connected to: a Stub Network
- (Link ID) Network/subnet number: 199.99.2.0
- (Link Data) Network Mask: 255.255.255.0
- Number of TOS metrics: 0
- TOS 0 Metrics: 64
- Link connected to: another Router (point-to-point)
- (Link ID) Neighboring Router ID: 1.1.1.1
- (Link Data) Router Interface address: 199.99.1.2
- Number of TOS metrics: 0
- TOS 0 Metrics: 64
- Link connected to: a Stub Network
- (Link ID) Network/subnet number: 199.99.1.0
- (Link Data) Network Mask: 255.255.255.0
- Number of TOS metrics: 0
- TOS 0 Metrics: 64
- Link connected to: a Stub Network
- (Link ID) Network/subnet number: 2.2.2.2
- (Link Data) Network Mask: 255.255.255.255
- Number of TOS metrics: 0
- TOS 0 Metrics: 1
- LS age: 1318
- Options: (No TOS-capability, DC)
- LS Type: Router Links
- Link State ID: 199.99.2.2
- Advertising Router: 199.99.2.2
- LS Seq Number: 80000004
- Checksum: 0xCCF4
- Length: 60
- Number of Links: 3
- Link connected to: another Router (point-to-point)
- (Link ID) Neighboring Router ID: 2.2.2.2
- (Link Data) Router Interface address: 199.99.2.2
- Number of TOS metrics: 0
- TOS 0 Metrics: 64
- Link connected to: a Stub Network
- (Link ID) Network/subnet number: 199.99.2.0
- (Link Data) Network Mask: 255.255.255.0
- Number of TOS metrics: 0
- TOS 0 Metrics: 64
- Link connected to: a Stub Network
- (Link ID) Network/subnet number: 3.3.3.3
- (Link Data) Network Mask: 255.255.255.255
- Number of TOS metrics: 0
- TOS 0 Metrics: 1
OSPF的相关信息还有很多,我们将会继续向大家介绍,下一篇我们见会为大家介绍:OSPF之调试Debug信息分析
【编辑推荐】