C
HAPTER
45
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 1076 –
The following shows output when using the network keyword.
Console#show ip ospf database network
OSPF Router with ID (0.0.0.0) (Process ID 1)
Net Link States (Area 0.0.0.0)
LS age: 0
Options: 0x2 (*|-|-|-|-|-|E|-)
LS Type: network-LSA
Link State ID: 192.168.0.2 (address of Designated Router)
Advertising Router: 192.168.0.2
LS Seq Number: 80000005
Checksum: 0x9413
Length: 32
Network Mask: /24
Attached Router: 192.168.0.2
Attached Router: 192.168.0.3
.
.
.
The following shows output when using the router keyword.
Console#show ip ospf database router
OSPF Router with ID (0.0.0.0) (Process ID 1)
Router Link States (Area 0.0.0.0)
LS age: 0
Options: 0x2 (*|-|-|-|-|-|E|-)
Flags: 0x2 : ASBR
LS Type: router-LSA
Table 147: show ip ospf database network - display description
Field Description
OSPF Router ID Router ID
LS age Age of LSA (in seconds)
Options Optional capabilities associated with the LSA
LS Type Network Link - LSA describes the routers attached to the network
Link State ID Interface address of the designated router
Advertising
Router
Advertising router ID
LS Sequence
Number
Sequence number of LSA (used to detect older duplicate LSAs)
Checksum Checksum of the complete contents of the LSA
Length The length of the LSA in bytes
Network Mask Address mask for the network
Attached Router List of routers attached to the network; i.e., fully adjacent to the designated
router, including the designated router itself