Specifications
Implementing OSPF on Cisco IOS XR Software
How to Implement OSPF on Cisco IOS XR Software
RC-245
Cisco IOS XR Routing Configuration Guide
4. area area-id
5. stub [no-summary] 
or 
nssa [no-redistribution] [default-information-originate] [no-summary]
6. stub 
or 
nssa 
7. default-cost cost
8. end
or
commit
9. Repeat this task on all other routers in the stub area or NSSA.
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
or
router ospfv3 
process-name
Example:
RP/0/RP0/CPU0:router(config)# router ospf 1
or
RP/0/RP0/CPU0:router(config)# router ospfv3 1
Enables OSPF routing for the specified routing process and 
places the router in router configuration mode.
or
Enables OSPFv3 routing for the specified routing process 
and places the router in router ospfv3 configuration mode.
Note The process-name argument is any alphanumeric 
string no longer than 40 characters.
Step 3
router-id {
router-id
}
Example:
RP/0/RP0/CPU0:router(config-ospf)# router-id 
192.168.4.3
Configures a router ID for the OSPF process.
Note We recommend using a stable IP address as the 
router ID.
Step 4
area 
area-id
Example:
RP/0/RP0/CPU0:router(config-ospf)# area 1
Enters area configuration mode and configures a 
nonbackbone area for the OSPF process.
• 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.










