/
run show ospf database
run show ospf database
To display the OSPF database, run the command run show ospf database. To display OSPF database summary, add the argument summary to the command.
If OSPF is running in multiple VRFs then add the parameter VRF to display OSPF database for the specified VRF.
Command Syntax
run show ospf [vrf<vrf-name>] database [summary]
Example
- Display the OSPF database for vrf1.
admin@switch1# run show ospf vrf vrf1 database VRF Name: vrf1 OSPF Router with ID (1.1.1.1) Router Link States (Area 0.0.0.0) Link ID ADV Router Age Seq# CkSum Link count 1.1.1.1 1.1.1.1 328 0x80000017 0xf095 1 2.2.2.2 2.2.2.2 405 0x80000018 0xadcf 1 Net Link States (Area 0.0.0.0) Link ID ADV Router Age Seq# CkSum 10.251.201.3 2.2.2.2 345 0x80000014 0x89d6 Summary Link States (Area 0.0.0.0) Link ID ADV Router Age Seq# CkSum Route 11.251.201.0 1.1.1.1 388 0x80000014 0x80ea 11.251.201.0/24 ASBR-Summary Link States (Area 0.0.0.0) Link ID ADV Router Age Seq# CkSum 3.3.3.3 1.1.1.1 908 0x80000010 0xfa38 Router Link States (Area 1.1.1.1) Link ID ADV Router Age Seq# CkSum Link count 1.1.1.1 1.1.1.1 1058 0x8000001a 0x0779 1 3.3.3.3 3.3.3.3 1087 0x8000001b 0x8be0 1 Net Link States (Area 1.1.1.1) Link ID ADV Router Age Seq# CkSum 11.251.201.4 3.3.3.3 1067 0x80000014 0x86cf Summary Link States (Area 1.1.1.1) Link ID ADV Router Age Seq# CkSum Route 10.251.201.0 1.1.1.1 378 0x80000014 0x8dde 10.251.201.0/24 AS External Link States Link ID ADV Router Age Seq# CkSum Route 0.0.0.0 3.3.3.3 1607 0x80000010 0x7442 E2 0.0.0.0/0 [0x0]
Related content
Copyright © 2025 Pica8 Inc. All Rights Reserved.