Technical data

BLADE OS 5.1 Application Guide
158
Chapter 11: OSPF BMD00136, November 2009
4. Configure a simple text password up to eight characters for the virtual link between Area 2 and
Area 0 on switches 2 and 4.
Configuring MD5 Authentication
Use the following commands to configure MD5 authentication on the switches shown in Figure 25:
1. Enable OSPF MD5 authentication for Area 0 on switches 1, 2, and 3.
2. Configure MD5 key ID for Area 0 on switches 1, 2, and 3.
3. Assign MD5 key ID to OSPF interfaces on switches 1, 2, and 3.
4. Enable OSPF MD5 authentication for Area 2 on switch 4.
5. Configure MD5 key for the virtual link between Area 2 and Area 0 on switches 2 and 4.
6. Assign MD5 key ID to OSPF virtual link on switches 2 and 4.
>> # area-virtual-link 1 key blade
>> # area 0 authentication-type md5
>> # message-digest-key 1 md5-key test
>> # interface ip 1
>> (config-ip-if)# ip ospf message-digest-key 1
>> (config-ip-if)# exit
>> # interface ip 2
>> (config-ip-if)# ip ospf message-digest-key 1
>> (config-ip-if)# exit
>> # interface ip 3
>> (config-ip-if)# ip ospf message-digest-key 1
>> (config-ip-if)# exit
>> # router ospf
>> (config-router-ospf)# area 1 authentication-type md5
>> (config-router-ospf)# message-digest-key 2 md5-key test
>> (config-router-ospf)# area-virtual-link 1 message-digest-key 2