OSPF Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

PDF

OSPF Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

Verify OSPF configuration and operation

Want to summarize with AI?

Log in

Verify your router's OSPF configuration and operation to confirm accurate routing and operational readiness.


Ensure that OSPF is configured correctly and functioning as intended on your router.

Use this task to validate OSPF process status, check routing tables, LSAs, interfaces, neighbors, and clear OSPF state if needed for troubleshooting or optimal operation.

Before you begin

  • Identify the OSPF or OSPFv3 process name, area, interface, and any VRF you need to verify.

  • Ensure OSPF is already configured before performing these verification steps.

Follow these steps to configure and verify OSPF areas and neighbours:

Procedure

1.

(Optional) Verify the general status of OSPF routing processes.

Example:

Router# show ospf group1
2.

(Optional) Review OSPF routing table entries to ABRs and ASBRs.

Example:

Router# show ospf group1 border-routers
3.

(Optional) Examine the OSPF database and LSAs for the selected process.

Example:

Router# show ospf group2 database
4.

(Optional) Check for LSAs waiting to be flooded on an interface.

Example:

Router# show ospf 100 flood-list interface TenGigE 0/3/0/0
5.

(Optional) Display OSPF interface information, including state, area, cost, timers, neighbors, and authentication.

Example:

Router# show ospf 100 interface TenGigE 0/3/0/0
6.

(Optional) Display OSPF neighbor relationships.

Example:

Router# show ospf 100 neighbor
7.

If you need to reset the OSPF process for troubleshooting, reset the OSPF process.

Example:

Router# clear ospf 100 process
8.

(Optional) If necessary for troubleshooting, clear OSPF redistribution, routes, or VRF-specific state.

Example:

Router# clear ospf 100 redistribution
Router# clear ospf 100 routes
Router# clear ospf 100 vrf vrf_1 process

You verify OSPF configuration and operation, and optionally clear OSPF state as needed for troubleshooting.