Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

show ospf database

show ospf database—List the entries in the OSPF Link-State Advertisement (LSA) database (on vEdge routers only).

Command Syntax

show ospf database [vpn vpn-id] [ospf-parameter] [detail]

Options

None
List all the entries in the OSPF LSA database.
Detailed Information
detail
List detailed information about the entires in the OSPF LSA database.
Specific OSPF Property
ospf-parameter
List information about a specific OSPF property. ospf-property can be one of the following: adv-route, area​, area-local-opaque, as-external-opaque, asbr-summary, external, group-member, link-id, link-local-opaque, network, nssa-external, router, summary, and type-ext-attributes.
VPN-Specific Routes
vpn vpn-id
List the OSPF routing process information for the specified VPN.

Output Fields

The output fields are self-explanatory.

Example Output

vEdge# show ospf database
             LSA                LINK             ADVERTISING                                               
VPN    AREA  TYPE               ID               ROUTER           AGE      CHECKSUM  SEQ#        
-------------------------------------------------------------------------------------------------
0      51    router             172.16.255.11    172.16.255.11    624      0xe19f    0x80000004  
0      51    router             172.16.255.13    172.16.255.13    622      0x2dd9    0x80000010  
0      51    router             172.16.255.14    172.16.255.14    622      0xb6ad    0x80000004  
0      51    router             172.16.255.15    172.16.255.15    623      0xca94    0x80000004  
0      51    router             172.16.255.16    172.16.255.16    625      0xde7b    0x80000004  
0      51    router             172.16.255.21    172.16.255.21    623      0xcb96    0x80000005  
0      51    network            10.0.5.13        172.16.255.13    623      0x8f7c    0x80000002  
0      51    network            10.1.14.13       172.16.255.13    622      0xa134    0x80000001  
0      51    network            10.1.15.13       172.16.255.13    623      0xa42f    0x80000001  
0      51    network            10.1.16.13       172.16.255.13    625      0xa72a    0x80000001  
1      0     router             172.16.255.11    172.16.255.11    699      0xc5bd    0x80000003  
1      0     router             172.16.255.12    172.16.255.12    699      0xce55    0x80000007  
1      0     router             172.16.255.21    172.16.255.21    704      0x2238    0x80000003  
1      0     network            10.2.2.12        172.16.255.12    700      0xf9ec    0x80000001  
1      0     network            10.2.3.21        172.16.255.21    704      0xe6e2    0x80000001
vEdge# show ospf database area 0 detail 

      OSPF Router with ID - <172.16.255.11> 

      Router Link States <VPN 1 AREA 0>

LS age - 489
Options - 0x2 <E>
LS Flags - 0x3
Flags - 0x2 <ASBR>
LS Type - router-LSA
Link State ID - 172.16.255.11
Advertising Router - 172.16.255.11 
LS Seq Number - 0x8000001c
Checksum - 0x93d6
Length - 36
  Number of Links - 1

      Link connected to - a transit Network
       (Link Id) Designated Router address - 10.2.2.12
       (Link Data) Router Interface Address - 10.2.2.11
        Number of TOS metrics - 0
        TOS 0 Metric - 10
...

Release Information

Command introduced in Viptela Software Release 14.1.

  • Was this article helpful?