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 [ 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 } ]
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.
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.
adv-router router-id
Displays the link state for the advertising router 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.
Modes

User EXEC mode

The show ip ospf area command displays the following information:

Output field

Description

Index

The row number of the entry in the router’s OSPF area table.

Area

The area number.

Type

The area type, which can be one of the following:

  • nssa
  • normal
  • stub

Cost

The area’s cost.

SPFR

The SPFR value.

ABR

The ABR number.

ASBR

The ABSR number.

LSA

The LSA number.

Chksum(Hex)

The checksum for the LSA packet. The checksum is based on all the fields in the packet except the age field. The device uses the checksum to verify that the packet is not corrupted.

Examples

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

device> show ip ospf area

Indx  Area       Type   Cost  SPFR  ABR  ASBR  LSA  Chksum(Hex)
1   0.0.0.0      normal  0    1      0     0    1    0000781f
2  10.147.60.0   normal  0    1      0     0    1    0000fee6
3  10.147.80.0   stub    1    1      0     0    2    000181cd
History