show ospf3 database
Syntax
show ospf3 database <brief | detail | extensive | summary> <advertising-router (address | self)> <area area-id> <external> <instance instance-name> <inter-area-prefix> <inter-area-router> <intra-area-prefix> <link> <link-local> <logical-system (all | logical-system-name)> <lsa-id lsa-id> <network> <nssa> <realm (ipv4-multicast | ipv4-unicast | ipv6-multicast)> <router>
Syntax (EX Series Switches and QFX Series)
show ospf3 database <brief | detail | extensive | summary> <advertising-router (address | self)> <area area-id> <external> <instance instance-name> <inter-area-prefix> <inter-area-router> <intra-area-prefix> <link> <link-local> <lsa-id lsa-id> <network> <nssa> <router>
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 |
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.
Field Name |
Field Description |
Level of Output |
---|---|---|
OSPF link state database, area area-number |
Entries in the link-state database for this area. |
|
OSPF AS SCOPE link state database |
Entries in the AS scope link-state database. |
|
OSPF Link-Local link state database, interface interface-name |
Entries in the link-local link-state database for this interface. |
|
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. |
|
ID |
Link identifier included in the advertisement. An asterisk (*) preceding the identifier marks database entries that originated from the local routing device. |
|
Adv Rtr |
Address of the routing device that sent the advertisement. |
|
Seq |
Link sequence number of the advertisement. |
|
Age |
Time elapsed since the LSA was originated, in seconds. |
|
Cksum |
Checksum value of the LSA. |
|
Len |
Length of the advertisement, in bytes. |
|
Router (Router Link-State Advertisements) | ||
bits |
Flags describing the routing device that generated the LSP. |
|
Options |
Option bits carried in the router LSA. |
|
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:
|
|
Loc-if-id |
Local interface ID assigned to the interface that uniquely identifies the interface with the routing device. |
|
Nbr-if-id |
Interface ID of the neighbor's interface for this routing device link. |
|
Nbr-rtr-id |
Router ID of the neighbor routing device (for type 2 interfaces, the attached link’s designated router). |
|
Metric |
Cost of the router link. |
|
Gen timer |
How long until the LSA is regenerated, in the format hours:minutes:seconds. |
|
Aging timer |
How long until the LSA expires, in the format hours:minutes:seconds. |
|
Installed nn:nn:nn ago |
How long ago the route was installed, in the format hours:minutes:seconds. |
|
expires in nn:nn:nn |
How long until the route expires, in the format hours:minutes:seconds. |
|
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. |
|
Ours |
Indicates that this is a local advertisement. |
|
Network (Network Link-State Advertisements) | ||
Options |
Option bits carried in the network LSA. |
|
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. |
|
InterArPfx (Interarea-Prefix Link-State Advertisements) | ||
Prefix |
IPv6 address prefix. |
|
Prefix-options |
Option bit associated with the prefix. |
|
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. |
|
Gen timer |
How long until the LSA is regenerated, in the format hours:minutes:seconds. |
|
Aging timer |
How long until the LSA expires, in the format hours:minutes:seconds. |
|
Installed nn:nn:nn ago |
How long ago the route was installed, in the format hours:minutes:seconds. |
|
expires in nn:nn:nn |
How long until the route expires, in the format hours:minutes:seconds. |
|
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. |
|
Ours |
Indicates that this is a local advertisement. |
|
InterArRtr (Interarea-Router Link-State Advertisements) | ||
Dest-router-id |
Router ID of the routing device described by the LSA. |
|
options |
Optional capabilities supported by the routing device. |
|
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. |
|
Prefix |
IPv6 address prefix. |
|
Prefix-options |
Option bit associated with the prefix. |
|
Extern (External Link-State Advertisements) | ||
Prefix |
IPv6 address prefix. |
|
Prefix-options |
Option bit associated with the prefix. |
|
Metric |
Cost of the route, which depends on the value of Type. |
|
Type n |
Type of external metric: Type 1 or Type 2. |
|
Aging timer |
How long until the LSA expires, in the format hours:minutes:seconds. |
|
Installed nn:nn:nn ago |
How long ago the route was installed, in the format hours:minutes:seconds. |
|
expires in nn:nn:nn |
How long until the route expires, in the format hours:minutes:seconds. |
|
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. |
|
Link (Link-State Advertisements) | ||
IPv6-Address |
IPv6 link-local address on the link for which this link LSA originated. |
|
Options |
Option bits carried in the link LSA. |
|
priority |
Router priority of the interface attaching the originating routing device to the link. |
|
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. |
|
Prefix |
IPv6 address prefix. |
|
Prefix-options |
Option bit associated with the prefix. |
|
Gen timer |
How long until the LSA is regenerated, in the format hours:minutes:seconds. |
|
Aging timer |
How long until the LSA expires, in the format hours:minutes:seconds. |
|
Installed nn:nn:nn ago |
How long ago the route was installed, in the format hours:minutes:seconds. |
|
expires in nn:nn:nn |
How long until the route expires, in the format hours:minutes:seconds. |
|
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. |
|
Ours |
Indicates that this is a local advertisement. |
|
IntraArPfx (Intra-Area-Prefix Link-State Advertisements) | ||
Ref-lsa-type |
LSA type of the referenced LSA.
|
|
Ref-lsa-id |
Link-state ID of the referenced LSA. |
|
Ref-router-id |
Advertising router ID of the referenced LSA. |
|
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. |
|
Prefix |
IPv6 address prefix. |
|
Prefix-options |
Option bit associated with the prefix. |
|
Metric |
Cost of this prefix. Expressed in the same units as the interface costs in the router LSAs. |
|
Gen timer |
How long until the LSA is regenerated, in the format hours:minutes:seconds. |
|
Aging timer |
How long until the LSA expires, in the format hours:minutes:seconds. |
|
Installed hh:mm:ss ago |
How long ago the route was installed, in the format hours:minutes:seconds. |
|
expires in hh:mm:ss |
How long until the route expires, in the format hours:minutes:seconds. |
|
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. |
|
n Router LSAs |
Number of router LSAs in the link-state database. |
|
n Network LSAs |
Number of network LSAs in the link-state database. |
|
n InterArPfx LSAs |
Number of interarea-prefix LSAs in the link-state database. |
|
n InterArRtr LSAs |
Number of interarea-router LSAs in the link-state database. |
|
n IntraArPfx LSAs |
Number of intra-area-prefix LSAs in the link-state database. |
|
Externals |
Display of the external LSA database. |
|
n Extern LSAs |
Number of external LSAs in the link-state database. |
|
Interface interface-name |
Name of the interface for which link-local LSA information is displayed. |
|
n Link LSAs |
Number of link LSAs in the link-state database. |
|
Sample Output
show ospf3 database brief
user@host> show ospf3 database brief OSPF3 link state database, area 0.0.0.0 Type ID Adv Rtr Seq Age Cksum Len Router 0.0.0.1 10.255.4.85 0x80000003 885 0xa697 40 Router *0.0.0.1 10.255.4.93 0x80000002 953 0xc677 40 InterArPfx *0.0.0.2 10.255.4.93 0x80000001 910 0xb96f 44 InterArRtr *0.0.0.1 10.255.4.93 0x80000001 910 0xe159 32 IntraArPfx *0.0.0.1 10.255.4.93 0x80000002 432 0x788f 72 OSPF3 link state database, area 0.0.0.1 Type ID Adv Rtr Seq Age Cksum Len Router *0.0.0.1 10.255.4.93 0x80000003 916 0xea40 40 Router 0.0.0.1 10.255.4.97 0x80000006 851 0xc95b 40 Network 0.0.0.2 10.255.4.97 0x80000002 916 0x4598 32 InterArPfx *0.0.0.1 10.255.4.93 0x80000002 117 0xa980 44 InterArPfx *0.0.0.2 10.255.4.93 0x80000002 62 0xd47e 44 NSSA 0.0.0.1 10.255.4.97 0x80000002 362 0x45ee 44 IntraArPfx 0.0.0.1 10.255.4.97 0x80000006 851 0x2f77 52 OSPF3 AS SCOPE link state database Type ID Adv Rtr Seq Age Cksum Len Extern 0.0.0.1 10.255.4.85 0x80000002 63 0x9b86 44 Extern *0.0.0.1 10.255.4.93 0x80000001 910 0x59c9 44 OSPF3 Link-Local link state database, interface ge-1/3/0.0 Type ID Adv Rtr Seq Age Cksum Len Link *0.0.0.2 10.255.4.93 0x80000003 916 0x4dab 64
show ospf3 database summary
user@host> show ospf3 database summary Area 0.0.0.0: 2 Router LSAs 1 InterArPfx LSAs 1 InterArRtr LSAs 1 IntraArPfx LSAs Area 0.0.0.1: 2 Router LSAs 1 Network LSAs 2 InterArPfx LSAs 1 NSSA LSAs 1 IntraArPfx LSAs Externals: 2 Extern LSAs Interface ge-1/3/0.0: 1 Link LSAs Interface lo0.0: Interface so-2/2/0.0: 1 Link LSAs
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.