CLI Guide

show ip ospf asbr
Display all autonomous system boundary router (ASBR) routers visible to OSPF.
Syntax
show ip ospf process-id asbr
Parameters
process-id Enter the OSPF Process ID to show a specific process. If no
Process ID is entered, command applies only to the first
OSPF process.
Defaults none
Command Modes
EXEC
EXEC Privilege
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information To isolate problems with external routes, use this command. In OSPF, external
routes are calculated by adding the LSA cost to the cost of reaching the ASBR
router. If an external route does not have the correct cost, use this command to
determine if the path to the originating router is correct. The display output is not
sorted in any order.
NOTE: ASBRs that are not in directly connected areas are also displayed.
You can determine if an ASBR is in a directly connected area (or not) by the flags.
For ASBRs in a directly connected area, E flags are set. In the following example,
router 1.1.1.1 is in a directly connected area since the Flag is E/-/-/. For remote
ASBRs, the E flag is clear (-/-/-/).
Example
Dell#show ip ospf 1asbr
RouterID Flags Cost Nexthop Interface Area
3.3.3.3 -/-/-/ 2 10.0.0.2 Gi 0/1 1
1.1.1.1 E/-/-/ 0 0.0.0.0 - 0
Dell#
show ip ospf database
Display all LSA information. If you do not enable OSPF on the switch, no output is generated.
Syntax
show ip ospf process-id database [database-summary]
1086
Open Shortest Path First (OSPFv2 and OSPFv3)