CLI Reference Guide
1080 | show ip ospf DellPowerConnect W-Series ArubaOS 6.2 | Reference Guide
show ip ospf
show ip ospf [database]|[debug route]|[interface tunnel|vlan <id>]|[neighbor]| [redistribute]
|[subnet]
Description
Display statistics and configuration information for the Open Shortest Path First (OSPF) routing protocol.
Syntax
Parameter Description
database
Show database information for the OSPF protocol.
debug route
Show debugging information for OSPF routes.
interface tunnel|vlan <id>
Display the status of OSPF on an individual interface by specifying a tunnel or VLAN
ID number.
neighbor
Display data for OSPF neighboring routers.
redistribute
Display OSPF route distribution information.
subnet
Display the subnets manually added to the Subnet Exclude List via the router ospf
subnet exclude <addr> <mask> command.
Example
If you issue this command without any of the optional parameters described in the table above, the show ip ospf
command will display general router and area settings for the OSPF.
(host) (config-subif)# show ip ospf
OSPF is currently running with Router ID 123.45.110.200
Number of areas in this router is 1
Area 10.1.1.0
Number of interfaces in this area is 2
Area is totally stub area
SPF algorithm executed 0 times
The output of this command includes the following parameters.
Parameter Description
OSPF Router ID
Verifies that OSPF is running and the router ID that OSPF is running on.
Number of areas
List the number of areas configured in the router.
Area
Displays the Area ID followed by:
l number of interfaces in the area
l indicates if the area is a totally stub area
l number of times the SPF algorithm has been executed
To display OSPF settings for an individual interface, you must specify a VLAN or tunnel ID number. The example
below displays part of the output of the show ip ospf interface vlan command.