PurposeCommand or Action
Configures a router ID for the OSPF process.
router-id { router-id }
Example:
RP/0/RSP0/CPU0:router(config-ospf)# router-id
192.168.4.3
Step 3
Enables MD5 authentication for the OSPF process.authentication [ message-digest | null ]
Step 4
Example:
RP/0/RSP0/CPU0:router(config-ospf)#authentication
message-digest
•
This authentication type applies to the entire
router process unless overridden by a lower
hierarchical level such as the area or interface.
Specifies the MD5 authentication key for the OSPF
process.
message-digest-key key-id md5 { key | clear key |
encrypted key | LINE}
Step 5
Example:
RP/0/RSP0/CPU0:router(config-ospf)#message-digest-key
4 md5 yourkey
•
The neighbor routers must have the same key
identifier.
Enters area configuration mode and configures a
backbone area for the OSPF process.
area area-id
Example:
RP/0/RSP0/CPU0:router(config-ospf)# area 0
Step 6
Enters interface configuration mode and associates one
or more interfaces to the backbone area.
interface type interface-path-id
Example:
RP/0/RSP0/CPU0:router(config-ospf-ar)# interface
GigabitEthernet 0/1/0/3
Step 7
•
All interfaces inherit the authentication parameter
values specified for the OSPF process (Step 4,
Step 5, and Step 6).
—
Repeat Step 7 for each interface that must communicate, using
the same authentication.
Step 8
Enters area OSPF configuration mode.exit
Example:
RP/0/RSP0/CPU0:router(config-ospf-ar)# exit
Step 9
Enters area configuration mode and configures a
nonbackbone area 1 for the OSPF process.
area area-id
Example:
RP/0/RSP0/CPU0:router(config-ospf)# area 1
Step 10
•
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.
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
368 OL-30423-03
Implementing OSPF
Configuring Authentication at Different Hierarchical Levels for OSPF Version 2