show ip ospf area

Displays the OSPF area table in a specified format.

Syntax

show ip ospf area { A.B.C.D | decimal } database link-state [ adv-router router-id | advertise index | asbr { asbr-id | adv-router router-id } | extensive | link-state-id id | network { net-id | adv-router router-id } | nssa { nssa-id | adv-router router-id } | router { router-id | adv-router router-id } | self-originate | sequence-number num | summary { id | adv-router router-id } ] [ vrf vrfname ]
show ip ospf area [ vrf vrfname ]

Parameters

A.B.C.D
Area address in dotted decimal format.
decimal
Area address in decimal format. Valid values range from 0 to 2147483647.
database link-state
Displays database link-state information.
adv-router router-id
Displays the link state for the advertising router that you specify.
advertise index
Displays the link state by Link State Advertisement (LSA) index.
asbr
Displays the link state for all autonomous system boundary router (ASBR) links.
asbr-id
Displays the state of a single ASBR link that you specify.
extensive
Displays detailed information for all entries in the OSPF database.
link-state-id id
Displays the link state by link-state ID.
network
Displays the link state by network link.
net-id
Displays the link state of a particular network link that you specify.
nssa
Displays the link state by not-so-stubby area (NSSA).
nssa-id
Displays the link state of a particular NSAA area that you specify.
router
Displays the link state by router link.
router-id
Displays the link state of a particular router link that you specify.
self-originate
Displays self-originated link states.
sequence-number num
Displays the link-state by sequence number that you specify.
summary
Displays the link state summary. Can specify link-state ID or advertising router ID.
id
Displays the link state for the advertising router that you specify.
vrf vrf name
Specifies the name of the VRF instance. If this option is not used, details for the default VRF are shown in the output.

Modes

Privileged EXEC mode

Examples

The following example shows output for the show ip ospf area command.

device# show ip ospf area

Number of Areas is 1

Index   Area             Type   Cost       SPFR       ABR   ASBR  LSA     Chksum(Hex)
1       0                normal 0          4305       0     0     5       00024f5a