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-248
Cisco IOS XR Routing Configuration Guide
OL-14356-01
SUMMARY STEPS
1. configure
2. router ospf process-name
3. router-id {router-id}
4. area area-id
5. interface type instance
6. authentication message-digest keychain keychain
7. 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
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 IPv4 address as the
router ID.
Step 4
area area-id
Example:
RP/0/RP0/CPU0:router(config-ospf)# area 1
Enters area configuration mode.
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 5
interface type instance
Example:
RP/0/RP0/CPU0:router(config-ospf-ar)# interface
GigabitEthernet0/4/0/1
Enters interface configuration mode and associates one or
more interfaces to the area.