Viewing the OSPF area information

View the OSPF area information.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. View the OSPF area information:

    show ip ospf area [vrf WORD<1-16>] [vrfids WORD<0-512>]

Example

View the OSPF area information:

Switch:1>enable
Switch:1#show ip ospf area
============================================================================================================================================
                                                          OSPF Area - GlobalRouter
============================================================================================================================================
AREA_ID         STUB_AREA  NSSA          IMPORT_SUM ACTIVE_IFCNT    NSSA TRANSLATOR    NSSA TRANSLATOR    NSSA TRANSLATOR    NSSA TRANSLATOR
                                                                       ROLE            STATE           STABILITY INTERVAL       EVENTS
--------------------------------------------------------------------------------------------------------------------------------------------
0.0.0.0         false      false         true       0               candidate         disabled                  40                0

STUB_COST INTRA_AREA_SPF_RUNS  BDR_RTR_CNT ASBDR_RTR_CNT LSA_CNT   LSACK_SUM
--------------------------------------------------------------------------------------------------------------------------------------------
0         0                    0           0             0         0

Variable definitions

The following table defines parameters for the show ip ospf area command.

Variable

Value

vrf WORD<1-16>

Specifies a VRF by name.

vrfids WORD<0-512>

Specifies a range of VRF IDs.