
Purpose
Command or Action
Enters area configuration mode.
area area-id
Step 4
Example:
The
area-id
argument can be entered in dotted-decimal or
IPv4 address notation, such as area 1000 or area 0.0.3.232.
RP/0/RP0/CPU0:router(config-ospf)# area 1
However, you must choose one form or the other for an
area. We recommend using the IPv4 address notation.
Enters interface configuration mode and associates one or
more interfaces to the area.
interface type interface-path-id
Example:
Step 5
RP/0/RP0/CPU0:router(config-ospf-ar)# interface
GigabitEthernet0/4/0/1
Configures an MD5 keychain.
authentication message-digest keychain keychain
Step 6
Example:
In the example, the
ospf_intl
keychain must be
configured before you attempt this step.
Note
RP/0/RP0/CPU0:router(config-ospf-ar-if)#
authentication message-digest keychain ospf_int1
commit
Step 7
Examples
The following example shows how to configure the keychain
ospf_intf_1
that contains five key IDs. Each
key ID is configured with different
send-lifetime
values; however, all key IDs specify the same text string
for the key.
key chain ospf_intf_1
key 1
send-lifetime 11:30:30 May 1 2007 duration 600
cryptographic-algorithm MD5T
key-string clear ospf_intf_1
key 2
send-lifetime 11:40:30 May 1 2007 duration 600
cryptographic-algorithm MD5
key-string clear ospf_intf_1
key 3
send-lifetime 11:50:30 May 1 2007 duration 600
cryptographic-algorithm MD5
key-string clear ospf_intf_1
key 4
send-lifetime 12:00:30 May 1 2007 duration 600
cryptographic-algorithm MD5
key-string clear ospf_intf_1
key 5
send-lifetime 12:10:30 May 1 2007 duration 600
cryptographic-algorithm MD5
key-string clear ospf_intf_1
The following example shows that keychain authentication is enabled on the Gigabit Ethernet 0/4/0/1 interface:
show ospf 1 interface GigabitEthernet0/4/0/1
GigabitEthernet0/4/0/1 is up, line protocol is up
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
316
Implementing OSPF
Examples