Hello Sathish
Yes there is! You can use the show ip ospf
command. One of the elements in the output shows any of the following:
It is an internal router
It is an area border router
It is an autonomous system boundary router
Here is the output in context:
Router# show ip ospf 1
Routing Process "ospf 1" with ID 10.0.0.1
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
It is an autonomous system boundary router
Redistributing External Routes from,
static, includes subnets in redistribution
Maximum limit of redistributed prefixes 2000
Threshold for warning message 75%
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
You can find out more information from this command at this Cisco command reference:
Now having said that, you can also identify an ABR by simply checking out the OSPF configuration to see if it has interfaces in more than one area. For an ASBR, you just have to check if it has at least one interface that is not participating in OSPF.
I hope this has been helpful!
Laz