
14.
interface type interface-path-id
15.
authentication
[
message-digest
|
null
]
16.
commit
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
Enables OSPF routing for the specified routing process
and places the router in router configuration mode.
router ospf process-name
Example:
Step 2
The
process-name
argument is any
alphanumeric string no longer than 40
characters.
Note
RP/0/RP0/CPU0:router(config)# router ospf 1
Configures a router ID for the OSPF process.
router-id
{
router-id
}
Example:
Step 3
RP/0/RP0/CPU0:router(config-ospf)# router-id
192.168.4.3
Enables MD5 authentication for the OSPF process.
authentication
[
message-digest
|
null
]
Step 4
Example:
• This authentication type applies to the entire router
process unless overridden by a lower hierarchical
level such as the area or interface.
RP/0/RP0/CPU0:router(config-ospf)#authentication
message-digest
Specifies the MD5 authentication key for the OSPF
process.
message-digest-key
key-id md5
{
key
|
clear key
|
encrypted key
|
LINE
}
Step 5
Example:
• The neighbor routers must have the same key
identifier.
RP/0/RP0/CPU0:router(config-ospf)#message-digest-key
4 md5 yourkey
Enters area configuration mode and configures a backbone
area for the OSPF process.
area area-id
Example:
Step 6
RP/0/RP0/CPU0:router(config-ospf)# area 0
Enters interface configuration mode and associates one or
more interfaces to the backbone area.
interface type interface-path-id
Example:
Step 7
• All interfaces inherit the authentication parameter
values specified for the OSPF process (Step 4, Step
5, and Step 6).
RP/0/RP0/CPU0:router(config-ospf-ar)# interface
GigabitEthernet 0/1/0/3
—
Repeat Step 7 for each interface that must communicate,
using the same authentication.
Step 8
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
289
Implementing OSPF
Configuring Authentication at Different Hierarchical Levels for OSPF Version 2