Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show ospf3 database

Syntax

Syntax (EX Series Switches and QFX Series)

Description

Display the entries in the OSPF version 3 (OSPFv3) link-state database, which contains data about link-state advertisement (LSA) packets.

Options

none

Display standard information about all entries in the OSPFv3 link-state database.

brief | detail | extensive | summary

(Optional) Display the specified level of output.

advertising-router (address | self)

(Optional) Display the LSAs advertised either by a particular routing device or by this routing device.

area area-id

(Optional) Display the LSAs in a particular area.

external

(Optional) Display external LSAs.

instance instance-name

(Optional) Display all OSPF database information under the named routing instance.

inter-area-prefix

(Optional) Display information about interarea-prefix LSAs.

inter-area-router

(Optional) Display information about interarea-router LSAs.

intra-area-prefix

(Optional) Display information about intra-area-prefix LSAs.

link

(Optional) Display information about link LSAs.

link-local

(Optional) Display information about link-local LSAs.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

lsa-id lsa-id

(Optional) Display the LSA with the specified LSA identifier.

network

(Optional) Display information about network LSAs.

nssa

(Optional) Display information about not-so-stubby area (NSSA) LSAs.

realm (ipv4-multicast | ipv4-unicast | ipv6-multicast)

(Optional) Display information about the specified OSPFv3 realm, or address family. Use the realm option to specify an address family other than IPv6 unicast, which is the default.

router

(Optional) Display information about router LSAs.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show ospf3 database command. Output fields are listed in the approximate order in which they appear.

Table 1: show ospf3 database Output Fields

Field Name

Field Description

Level of Output

OSPF link state database, area area-number

Entries in the link-state database for this area.

brief detail extensive

OSPF AS SCOPE link state database

Entries in the AS scope link-state database.

brief detail extensive

OSPF Link-Local link state database, interface interface-name

Entries in the link-local link-state database for this interface.

brief detail extensive

area

Area number. Area 0.0.0.0 is the backbone area.

All levels

Type

Type of link advertisement: Extern, InterArPfx, InterArRtr, IntraArPrx , Link, Network, NSSA, or Router.

brief detail extensive

ID

Link identifier included in the advertisement. An asterisk (*) preceding the identifier marks database entries that originated from the local routing device.

brief detail extensive

Adv Rtr

Address of the routing device that sent the advertisement.

brief detail extensive

Seq

Link sequence number of the advertisement.

brief detail extensive

Age

Time elapsed since the LSA was originated, in seconds.

brief detail extensive

Cksum

Checksum value of the LSA.

brief detail extensive

Len

Length of the advertisement, in bytes.

brief detail extensive

Router (Router Link-State Advertisements)

bits

Flags describing the routing device that generated the LSP.

detail extensive

Options

Option bits carried in the router LSA.

detail extensive

For Each Router Link

Type

Type of interface. The value of all other output fields describing a routing device interface depends on the interface’s type:

  • PointToPoint (1)—Point-to-point connection to another routing device.

  • Transit (2)—Connection to a transit network.

  • Virtual (4)—Virtual link.

detail extensive

Loc-if-id

Local interface ID assigned to the interface that uniquely identifies the interface with the routing device.

detail extensive

Nbr-if-id

Interface ID of the neighbor's interface for this routing device link.

detail extensive

Nbr-rtr-id

Router ID of the neighbor routing device (for type 2 interfaces, the attached link’s designated router).

detail extensive

Metric

Cost of the router link.

detail extensive

Gen timer

How long until the LSA is regenerated, in the format hours:minutes:seconds.

extensive

Aging timer

How long until the LSA expires, in the format hours:minutes:seconds.

extensive

Installed nn:nn:nn ago

How long ago the route was installed, in the format hours:minutes:seconds.

extensive

expires in nn:nn:nn

How long until the route expires, in the format hours:minutes:seconds.

extensive

sent nn:nn:nn ago

Time elapsed since the LSA was last transmitted or flooded to an adjacency or an interface, respectively, in the format hours:minutes:seconds.

extensive

Ours

Indicates that this is a local advertisement.

extensive

Network (Network Link-State Advertisements)

Options

Option bits carried in the network LSA.

detail extensive

Attached Router

Router IDs of each of the routing devices attached to the link. Only routing devices that are fully adjacent to the designated router are listed. The designated router includes itself in this list.

detail extensive

InterArPfx (Interarea-Prefix Link-State Advertisements)

Prefix

IPv6 address prefix.

detail extensive

Prefix-options

Option bit associated with the prefix.

detail extensive

Metric

Cost of this route. Expressed in the same units as the interface costs in the router LSAs. When the interarea-prefix LSA is describing a route to a range of addresses, the cost is set to the maximum cost to any reachable component of the address range.

detail extensive

Gen timer

How long until the LSA is regenerated, in the format hours:minutes:seconds.

extensive

Aging timer

How long until the LSA expires, in the format hours:minutes:seconds.

extensive

Installed nn:nn:nn ago

How long ago the route was installed, in the format hours:minutes:seconds.

extensive

expires in nn:nn:nn

How long until the route expires, in the format hours:minutes:seconds.

extensive

sent nn:nn:nn ago

Time elapsed since the LSA was last transmitted or flooded to an adjacency or an interface, respectively, in the format hours:minutes:seconds.

extensive

Ours

Indicates that this is a local advertisement.

extensive

InterArRtr (Interarea-Router Link-State Advertisements)

Dest-router-id

Router ID of the routing device described by the LSA.

detail extensive

options

Optional capabilities supported by the routing device.

detail extensive

Metric

Cost of this route. Expressed in the same units as the interface costs in the router LSAs. When the interarea-prefix LSA is describing a route to a range of addresses, the cost is set to the maximum cost to any reachable component of the address range.

detail extensive

Prefix

IPv6 address prefix.

extensive

Prefix-options

Option bit associated with the prefix.

extensive

Extern (External Link-State Advertisements)

Prefix

IPv6 address prefix.

detail extensive

Prefix-options

Option bit associated with the prefix.

detail extensive

Metric

Cost of the route, which depends on the value of Type.

detail extensive

Type n

Type of external metric: Type 1 or Type 2.

detail extensive

Aging timer

How long until the LSA expires, in the format hours:minutes:seconds.

extensive

Installed nn:nn:nn ago

How long ago the route was installed, in the format hours:minutes:seconds.

extensive

expires in nn:nn:nn

How long until the route expires, in the format hours:minutes:seconds.

extensive

sent nn:nn:nn ago

Time elapsed since the LSA was last transmitted or flooded to an adjacency or an interface, respectively, in the format hours:minutes:seconds.

extensive

Link (Link-State Advertisements)

IPv6-Address

IPv6 link-local address on the link for which this link LSA originated.

detail extensive

Options

Option bits carried in the link LSA.

detail extensive

priority

Router priority of the interface attaching the originating routing device to the link.

detail extensive

Prefix-count

Number of IPv6 address prefixes contained in the LSA. The rest of the link LSA contains a list of IPv6 prefixes to be associated with the link.

detail extensive

Prefix

IPv6 address prefix.

detail extensive

Prefix-options

Option bit associated with the prefix.

detail extensive

Gen timer

How long until the LSA is regenerated, in the format hours:minutes:seconds.

extensive

Aging timer

How long until the LSA expires, in the format hours:minutes:seconds.

extensive

Installed nn:nn:nn ago

How long ago the route was installed, in the format hours:minutes:seconds.

extensive

expires in nn:nn:nn

How long until the route expires, in the format hours:minutes:seconds.

extensive

sent nn:nn:nn ago

Time elapsed since the LSA was last transmitted or flooded to an adjacency or an interface, respectively, in the format hours:minutes:seconds.

extensive

Ours

Indicates that this is a local advertisement.

extensive

IntraArPfx (Intra-Area-Prefix Link-State Advertisements)

Ref-lsa-type

LSA type of the referenced LSA.

  • Router—Address prefixes are associated with a router LSA.

  • Network—Address prefixes are associated with a network LSA.

detail extensive

Ref-lsa-id

Link-state ID of the referenced LSA.

detail extensive

Ref-router-id

Advertising router ID of the referenced LSA.

detail extensive

Prefix-count

Number of IPv6 address prefixes contained in the LSA. The rest of the link LSA contains a list of IPv6 prefixes to be associated with the link.

detail extensive

Prefix

IPv6 address prefix.

detail extensive

Prefix-options

Option bit associated with the prefix.

detail extensive

Metric

Cost of this prefix. Expressed in the same units as the interface costs in the router LSAs.

detail extensive

Gen timer

How long until the LSA is regenerated, in the format hours:minutes:seconds.

extensive

Aging timer

How long until the LSA expires, in the format hours:minutes:seconds.

extensive

Installed hh:mm:ss ago

How long ago the route was installed, in the format hours:minutes:seconds.

extensive

expires in hh:mm:ss

How long until the route expires, in the format hours:minutes:seconds.

extensive

sent hh:mm:ss ago

Time elapsed since the LSA was last transmitted or flooded to an adjacency or an interface, respectively, in the format hours:minutes:seconds.

extensive

n Router LSAs

Number of router LSAs in the link-state database.

summary

n Network LSAs

Number of network LSAs in the link-state database.

summary

n InterArPfx LSAs

Number of interarea-prefix LSAs in the link-state database.

summary

n InterArRtr LSAs

Number of interarea-router LSAs in the link-state database.

summary

n IntraArPfx LSAs

Number of intra-area-prefix LSAs in the link-state database.

summary

Externals

Display of the external LSA database.

summary

n Extern LSAs

Number of external LSAs in the link-state database.

summary

Interface interface-name

Name of the interface for which link-local LSA information is displayed.

summary

n Link LSAs

Number of link LSAs in the link-state database.

summary

Sample Output

show ospf3 database brief

show ospf3 database summary

Release Information

Command introduced before Junos OS Release 7.4.

realm option introduced in Junos OS Release 9.2.

advertising-router (address | self) option introduced in Junos Relase 9.5.

advertising-router (address | self) option introduced in Junos OS Release 9.5 for EX Series switches.