Command Line Reference Guide

show ip ospf asbr
Display all autonomous system boundary routers (ASBR) visible to OSPF.
S5000
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
Command History
Version 9.0(1.3) Introduced on the S5000.
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.
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 Example below, 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
FTOS#show ip ospf 1asbr
RouterID Flags Cost Nexthop Interface Area
3.3.3.3 -/-/-/ 2 10.0.0.2 Te 0/1 1
1.1.1.1 E/-/-/ 0 0.0.0.0 - 0
FTOS#
show ip ospf database
Display all LSA information. If you do not enable OSPF on the switch, no output is generated.
S5000
Syntax
show ip ospf process-id database [database-summary]
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.
941