Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing OSPF on Cisco IOS XR Software
Configuration Examples for Implementing OSPF on Cisco IOS XR Software
RC-255
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Configuration Examples for Implementing OSPF on Cisco IOS XR
Software
This section provides the following configuration examples:
Cisco IOS XR for OSPF Version 2 Configuration: Example, page RC-255
CLI Inheritance and Precedence for OSPF Version 2: Example, page RC-257
MPLS TE for OSPF Version 2: Example, page RC-258
ABR with Summarization for OSPFv3: Example, page RC-258
ABR Stub Area for OSPFv3: Example, page RC-258
ABR Totally Stub Area for OSPFv3: Example, page RC-258
Route Redistribution for OSPFv3: Example, page RC-259
Virtual Link Configured Through Area 1 for OSPFv3: Example, page RC-259
Virtual Link Configured with MD5 Authentication for OSPF Version 2: Example, page RC-260
VPN Backbone and Sham Link Configured for OSPF Version 2: Example, page RC-260
Cisco IOS XR for OSPF Version 2 Configuration: Example
The following example shows how an OSPF interface is configured for an area in
Cisco IOS XR software.
In Cisco IOS XR software, area 0 must be explicitly configured with the area command and all
interfaces that are in the range from 10.1.2.0 to 10.1.2.255 are bound to area 0. Interfaces are configured
with the interface command (while the router is in area configuration mode) and the area keyword is
not included in the interface statement.
Step 6
show {ospf | ospfv3}[process-name] [area-id]
neighbor [interface-type interface-instance]
[neighbor-id] [detail]
Example:
RP/0/RP0/CPU0:router# show ospf 100 neighbor
(Optional) Displays OSPF neighbor information on an
individual interface basis.
Step 7
clear {ospf | ospfv3}[process-name] process
Example:
RP/0/RP0/CPU0:router# clear ospf 100 process
(Optional) Resets an OSPF router process without stopping
and restarting it.
Step 8
clear {ospf | ospfv3}[process-name] statistics
[neighbor [interface-type interface-instance]
[ip-address]]
Example:
RP/0/RP0/CPU0:router# clear ospf 100 statistics
(Optional) Clears the OSPF statistics of neighbor state
transitions.
Command or Action Purpose