Specifications
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-284
Cisco IOS XR Routing Configuration Guide
Creating Multiple OSPF Instances (OSPF Process and a VRF)
This task explains how to create multiple OSPF instances. In this case, the instances are a normal OSPF 
instance and a VRF instance.
SUMMARY STEPS
1. configure 
2. router ospf process-name
3. area area-id
4. interface type instance
5. exit 
6. vrf vrf-name
7. area area-id
8. interface type instance
9. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure 
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
router ospf 
process-name
Example:
RP/0/RP0/CPU0:router(config)# router ospf 1
Enables OSPF routing for the specified routing process and 
places the router in router configuration mode.
Note The process-name argument is any alphanumeric 
string no longer than 40 characters.
Step 3
area 
area-id
Example:
RP/0/RP0/CPU0:router(config-ospf)# area 0
Enters area configuration mode and configures a backbone 
area.
• The area-id argument can be entered in dotted-decimal 
or IPv4 address notation, such as area 1000 or 
area 0.0.3.232. However, you must choose one form or 
the other for an area. We recommend using the IPv4 
address notation.
Step 4
interface 
type instance
Example:
RP/0/RP0/CPU0:router(config-ospf-ar)# interface 
POS 0/1/0/3 
Enters interface configuration mode and associates one or 
more interfaces to the area.










