SUMMARY STEPS
1. configure
2. router ospf process-name
3. router-id { router-id }
4. authentication [ message-digest | null ]
5. message-digest-key key-id md5 { key | clear key | encrypted key | LINE}
6. area area-id
7. interface type interface-path-id
8. Repeat Step 7 for each interface that must communicate, using the same authentication.
9. exit
10. area area-id
11. authentication [ message-digest | null ]
12. interface type interface-path-id
13. Repeat Step 12 for each interface that must communicate, using the same authentication.
14. interface type interface-path-id
15. authentication [ message-digest | null ]
16. commit
DETAILED STEPS
Step 1 configure
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.
The process-name argument is any alphanumeric string no longer than 40 characters.
Note
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.
Step 4 authentication [ message-digest | null ]
Example:
RP/0/RP0/CPU0:router(config-ospf)#authentication message-digest
Enables MD5 authentication for the OSPF process.
• This authentication type applies to the entire router process unless overridden by a lower hierarchical level such
as the area or interface.
Step 5 message-digest-key key-id md5 { key | clear key | encrypted key | LINE}
Routing Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.3.x
59
Implementing OSPF
Configure Authentication at Different Hierarchical Levels for OSPF Version 2