Viewing the OSPF external link-state database

View the LSDB to determine externally learned routing information. The system displays the information for all metric types or for the type you specify.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. View the OSPF autonomous system external (ASE) link-state advertisements:

    show ip ospf ase [metric-type <1-2>] [vrf WORD<1-16>] [vrfids WORD<0-512>]

Example

Switch:1#show ip ospf ase

================================================================================
                      OSPF AsExternal Lsas - GlobalRouter
================================================================================

LSTYPE     LINKSTATEID     ADV_ROUTER      ETYPE  METRIC  ASE_FWD_ADDR    AGE  SEQ_NBR    CSUM
--------------------------------------------------------------------------------

Variable definitions

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

Variable

Value

metric-type <1-2>

Specifies the metric type.

vrf WORD<1-16>

Identifies the VRF by name.

vrfids WORD<0-512>

Specifies a VRF by ID.