
Purpose
Command or Action
Enters area OSPF configuration mode.
exit
Example:
Step 9
RP/0/RP0/CPU0:router(config-ospf-ar)# exit
Enters area configuration mode and configures a
nonbackbone area 1 for the OSPF process.
area area-id
Example:
Step 10
• The
area-id
argument can be entered in
dotted-decimal or IPv4 address notation, such as area
RP/0/RP0/CPU0:router(config-ospf)# area 1
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.
Enables Type 1 (plain text) authentication that provides
no security.
authentication
[
message-digest
|
null
]
Example:
Step 11
• The example specifies plain text authentication (by
not specifying a keyword). Use the
RP/0/RP0/CPU0:router(config-ospf-ar)#
authentication
authentication-key
command in interface
configuration mode to specify the plain text password.
Enters interface configuration mode and associates one or
more interfaces to the nonbackbone area 1 specified in
Step 7.
interface type interface-path-id
Example:
RP/0/RP0/CPU0:router(config-ospf-ar)# interface
GigabitEthernet 0/1/0/0
Step 12
• All interfaces configured inherit the authentication
parameter values configured for area 1.
—
Repeat Step 12 for each interface that must communicate,
using the same authentication.
Step 13
Enters interface configuration mode and associates one or
more interfaces to a different authentication type.
interface type interface-path-id
Example:
Step 14
RP/0/RP0/CPU0:router(config-ospf-ar)# interface
GigabitEthernet 0/3/0/0
Specifies no authentication on GigabitEthernet interface
0/3/0/0, overriding the plain text authentication specified
for area 1.
authentication
[
message-digest
|
null
]
Example:
RP/0/RP0/CPU0:router(config-ospf-ar-if)#
authentication null
Step 15
• By default, all of the interfaces configured in the same
area inherit the same authentication parameter values
of the area.
commit
Step 16
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
290
Implementing OSPF
Configuring Authentication at Different Hierarchical Levels for OSPF Version 2