show ipv6 ospf database

Use this command to display the OSPFv3 link state database.

Syntax

show ipv6 ospf database type [link-state-id]
The options for using this syntax are:
show ipv6 ospf database database-summary
show ipv6 ospf database external [link-state-id]
show ipv6 ospf database inter-area-prefix [link-state-id]
show ipv6 ospf database inter-area-router [link-state-id]
show ipv6 ospf database intra-area-prefix [link-state-id]
show ipv6 ospf database network [link-state-id]
show ipv6 ospf database nssa-external [link-state-id]
show ipv6 ospf database router [link-state-id]

Parameters

link-state-id (Optional) Specifies the link state identifier. Valid values are IP addresses.
database-summary Displays a numerical summary of the contents of the link state database.
external Displays external (Type 5) link state advertisements.
inter-area-prefix Displays inter-area prefix (Type 3) link state advertisements. Type 3 link state advertisements describe a prefix outside an area but within the OSPFv3 domain.
inter-area-router Displays inter-area router (Type 4) link state advertisements. Type 4 link state advertisements describe the route to the ASBR.
intra-area-prefix Displays intra-area prefix (Type 9) link state advertisements. Type 9 link state advertisements advertise IPv6 prefixes that are associated with the router itself, an attached stub network segment, or an attached transit network segment.
network Displays network (Type 2) link state advertisements in their detailed format. Network advertisements are originated by designated routers.
nssa-external Displays nssa-external (Type 7) link state advertisements in their detailed format. Type 7 advertisements are originated by ASBRs.
router Displays router (Type 1) link state advertisements in their detailed format. Router advertisements are originated by all routers.

Defaults

If link-state-id is not specified, the specified type of database records will be displayed for all link state IDs.

Mode

All command modes.

Example

This example show how to display a summary of the OSPFv3 database:

System(rw)->show ipv6 ospf database database-summary
show ipv6 ospf database database-summary
    Area ID            Router  Network IntrPfx IntrRtr NSSA IntraPx SubTotal
    0.0.0.0                 2        1       1       0    0       3        7
    0.0.0.1                 1        0       2       1    0       2        6
    0.0.0.9                 1        0       3       1    0       1        6
System(rw)->

show ipv6 ospf interface Output Details provides an explanation of the command output.

Click to expand in new window

show ipv6 ospf database database-summary Output Details

Output... What it displays...
Area ID Specifies the area ID for this database summary line.
Router Specifies the number of routers belonging to this area in the database.
Network Specifies the number of networks in this area in the database.
Intrpfx Specifies the number of inter-area prefixes in the database for this area.
IntrRtr Specifies the number of inter-area routers in the database for this area.
NSSA Specifies the number of Not-So-Stubby-Areas in the database for this area.
IntraPx Specifies the number of intra-area prefixes in the database for this area.
Subtotal Specifies the subtotal of all listed database elements for this area summary line.