Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-254
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Verifying OSPF Configuration and Operation
This task explains how to verify the configuration and operation of OSPF.
SUMMARY STEPS
1. show {ospf | ospfv3} [process-name]
2. show {ospf | ospfv3} [process-name] border-routers [router-id]
3. show {ospf | ospfv3}[process-name] database
4. show {ospf | ospfv3} [process-name] [area-id] flood-list interface type instance
5. show {ospf | ospfv3} [process-name] [vrf vrf-name] [area-id] interface [type instance]
6. show {ospf | ospfv3} [process-name] [area-id] neighbor [interface-type interface-instance]
[neighbor-id] [detail]
7. clear {ospf | ospfv3}[process-name] process
8. clear {ospf | ospfv3}[process-name] statistics [neighbor [interface-type interface-instance]
[ip-address]]
DETAILED STEPS
Command or Action Purpose
Step 1
show {ospf | ospfv3} [process-name]
Example:
RP/0/RP0/CPU0:router# show ospf group1
(Optional) Displays general information about OSPF
routing processes.
Step 2
show {ospf | ospfv3} [process-name]
border-routers [router-id]
Example:
RP/0/RP0/CPU0:router# show ospf group1
border-routers
(Optional) Displays the internal OSPF routing table entries
to an ABR and ASBR.
Step 3
show {ospf | ospfv3} [process-name] database
Example:
RP/0/RP0/CPU0:router# show ospf group2 database
(Optional) Displays the lists of information related to the
OSPF database for a specific router.
The various forms of this command deliver information
about different OSPF LSAs.
Step 4
show {ospf | ospfv3} [process-name] [area-id]
flood-list interface type instance
Example:
RP/0/RP0/CPU0:router# show ospf 100 flood-list
interface pos 0/3/0/0
(Optional) Displays a list of OSPF LSAs waiting to be
flooded over an interface.
Step 5
show {ospf | ospfv3} [process-name] [vrf
vrf-name] [area-id] interface [type instance]
Example:
RP/0/RP0/CPU0:router# show ospf 100 interface
pos 0/3/0/0
(Optional) Displays OSPF interface information.