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