Viewing OSPF area information

Syntax:

show ip ospf area [ospf-area-id]

The [ospf-area-id] parameter shows information for the specified area. If no area is specified, information for all the OSPF areas configured is displayed.

CLI display of OSPF area information

Field

Content

Area ID

Identifier for this area.

Type

Area type, which can be either "normal" or "stub".

Cost

Metric for the default route that the routing switch will inject into a stub area. This value applies only to stub areas.

SPFR

Number of times the routing switch has run the shortest path first route calculation for this area.

ASBR

Number of autonomous system border routers in this area.

LSA

Number of LSAs in the link state database for this area.

Chksum(Hex)

Sum of the checksums of all LSAs currently in the area's link state database. This value can be compared to the value for other routers in the area to verify database synchronization.

Example

show ip ospf area output

switch(config)# show ip ospf area

 OSPF Area Information

  Area ID         Type   Cost  SPFR   ASBR LSA   Checksum
  --------------- ------ ----- ------ ---- ---- ----- -----
  0.0.0.0         normal 0     1      0    1     0x0000781f
  192.147.60.0    normal 0     1      0    1     0x0000fee6
  192.147.80.0    stub   1     1      0    2     0x000181cd