OSPF Verification Commands
Below are the essential verification commands used to check OSPF configuration, status, and neighbors on Cisco routers:
-
Show OSPF Neighbors:
show ip ospf neighbor
Displays OSPF neighbors and their current state, including IP addresses, interface, state, and area.
-
Show OSPF Interface:
show ip ospf interface
Shows detailed information about OSPF-enabled interfaces, including IP addresses, area, state, and OSPF configuration.
-
Show OSPF Database:
show ip ospf database
Displays the OSPF link-state database, which includes information about OSPF routes and network topology.
-
Show OSPF Route Summary:
show ip ospf summary
Provides a summary of OSPF routing information, including area, network type, number of areas, and OSPF process ID.
-
Show OSPF Virtual Link:
show ip ospf virtual-links
Displays information about OSPF virtual links, including endpoints, state, area, and authentication status.
-
Show OSPF External Routes:
show ip ospf external
Shows OSPF external routes in the OSPF database, including type, metric, and forwarding address.
-
Show OSPF Border Routers:
show ip ospf border-routers
Displays OSPF border routers in the network, including router ID, interface, and state.
-
Show OSPF Events:
show ip ospf events
Shows OSPF events such as adjacencies changes, LSA updates, and SPF calculations.