C
HAPTER
45
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 1073 –
EXAMPLES
The following shows output for the show ip ospf database command.
Console#show ip ospf database
OSPF Router with ID (192.168.0.2) (Process ID 1)
Router Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum Link count
192.168.0.2 192.168.0.2 225 0x80000004 0xdac5 1
192.168.0.3 192.168.0.3 220 0x80000004 0xd8c4 1
Net Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# CkSum
192.168.0.2 192.168.0.2 225 0x80000001 0x9c0f
AS External Link States
Link ID ADV Router Age Seq# CkSum Route Tag
0.0.0.0 192.168.0.2 487 0x80000001 0xd491 E2 0.0.0.0/0 0
0.0.0.0 192.168.0.3 222 0x80000001 0xce96 E2 0.0.0.0/0 0
Console#
The following shows output when using the asbr-summary keyword.
Console#show ip os database asbr-summary
OSPF Router with ID (0.0.0.0) (Process ID 1)
ASBR-Summary Link States (Area 0.0.0.1)
LS age: 0
Options: 0x2 (*|-|-|-|-|-|E|-)
LS Type: ASBR-summary-LSA
Table 144: show ip ospf database - display description
Field Description
OSPF Router
Process with ID
OSPF process ID and router ID. The router ID uniquely identifies the router
in the autonomous system. By convention, this is normally set to one of the
router's IP interface addresses.
Link ID Either a Router ID or an IP Address; it identifies the piece of the routing
domain that is being described by the advertisement
ADV Router Advertising router ID
Age Age of LSA (in seconds)
Seq# Sequence number of LSA (used to detect older duplicate LSAs)
CkSum Checksum of the complete contents of the LSA
Link count Number of interfaces attached to the router
Route Type 1 or Type 2 external metric (see the redistribute command) and route
Tag Optional tag if defined (see the redistribute command)