Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

show ip ospf database

Displays OSPF database information.

show ip ospf [ process pid ] database [ max-age | self-originate | { asbr-summary | external | network | nssa-external | opaque-area | opaque-as | opaque-link | router | summary } [ adv-router ipv4 | ipv4 [ adv-router ipv4 | self-originate ] ] ]
process pid
Specifies the PID of an IPv4 OSPF process.
max-age
Display OSPF max-age database.
self-originate
Display OSPF self-originate database.
asbr-summary
Display OSPF Autonomous System Border Router (ASBR) summary database.
external
Display OSPF external database.
network
Display OSPF network database.
nssa-external
Display OSPF NSSA external database.
opaque-area
Display OSPF opaque-area database.
opaque-as
Display OSPF opaque-as database.
opaque-link
Display OSPF opaque-link database.
router
Display OSPF router database.
summary
Display summary of OSPF database.
adv-router ipv4
Display the OSPF database for a given address of the advertised router specified.
ipv4
Display the OSPF database for a given address.
self-originate
Display the self-originate OSPF database for a given address.

Operational mode

Use this command to display OSPF database information.

The following example shows how to display general information about the OSPF database.

vyatta@vyatta:~$ show ip ospf database

       OSPF Router with ID (10.100.10.1)

                Router Link States (Area 10.1.0.0)

Link ID         ADV Router      Age  Seq#       CkSum  Link count
10.1.0.33       10.1.0.33        123 0x800003e5 0x791f 1
10.1.0.58       10.1.0.58        123 0x80000562 0x4e7e 1
10.100.10.1     10.100.10.1      117 0x800001b6 0xfe13 1

                Net Link States (Area 10.1.0.0)

Link ID         ADV Router      Age  Seq#       CkSum
10.1.0.58       10.1.0.58        123 0x800003df 0x0bf3

                AS External Link States

Link ID         ADV Router      Age  Seq#       CkSum  Route
76.0.0.0        10.1.0.58       1850 0x800000b3 0x83e4 E2 76.0.0.0/8 [0x0]

vyatta@vyatta:~$