BLADEOS 6.5.2 Application Guide
286 Chapter 20: OSPF BMD00220, October 2010
Configuring MD5 Authentication
Use the following commands to configure MD5 authentication on the switches shown in Figure 33:
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.
RS G8124(config-router-ospf)# area 0 authentication-type md5
RS G8124(config-router-ospf)# message-digest-key 1 md5-key test
RS G8124(config-router-ospf)# exit
RS G8124(config)# interface ip 1
RS G8124(config-ip-if)# ip ospf message-digest-key 1
RS G8124(config-ip-if)# exit
RS G8124(config)# interface ip 2
RS G8124(config-ip-if)# ip ospf message-digest-key 1
RS G8124(config-ip-if)# exit
RS G8124(config)# interface ip 3
RS G8124(config-ip-if)# ip ospf message-digest-key 1
RS G8124(config-ip-if)# exit
RS G8124(config)# router ospf
RS G8124(config-router-ospf)# area 1 authentication-type md5
RS G8124(config-router-ospf)# message-digest-key 2 md5-key test
RS G8124(config-router-ospf)#
area-virtual-link 1
message-digest-key 2
RS G8124(config-router-ospf)# exit