Reference Guide

Open Shortest Path First (OSPFv2) | 665
show ip ospf asbr
s z
Display all ASBR routers visible to OSPF.
Syntax
show ip ospf process-id asbr
Parameters
Defaults
No default values or behavior
Command Modes
EXEC
EXEC Privilege
Command
History
Usage
Information
Use this command to isolate problems with external routes. 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.
Example
Figure 29-6. Command Example: show ip ospf process-id asbr
FTOS#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 FTOS#
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 figure above, router 1.1.1.1 is in a directly connected
area since the Flag is E/-/-/. For remote ASBRs, the E flag is clear (-/-/-/)
show ip ospf database
z
Display all LSA information. If OSPF is not enabled on the switch, no output is generated.
Syntax
show ip ospf process-id database [database-summary]
Parameters
S6000
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.
Version 9.0.2.0 Introduced on S6000.
Version 8.3.11.1 Introduced on Z9000
Version 7.8.1.0 Introduced support for Multi-Process OSPF.
Version 8.3.11.1 Introduced on S4810
Version 7.8.1.0
Introduced
process-id option, in support of Multi-Process OSPF.
Note: ASBRs that are not in directly connected areas are also displayed.
S6000
process-id
Enter the OSPF Process ID to show a specific process.
If no Process ID is entered, the command applies only to the first OSPF
process.
database-summary (OPTIONAL) Enter the keywords database-summary to the display the
number of LSA types in each area and the total number of LSAs.