268 RackSwitch G8000: Application Guide
3. Enable OSPF authentication for Area 2 on switch 4.
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 29:
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.
RS G8000(config)# router ospf
RS G8000(config-router-ospf)# area 2 authentication-type
password
RS G8000(config-router-ospf)# area-virtual-link 1 key blade
RS G8000(config-router-ospf)# area 0 authentication-type md5
RS G8000(config-router-ospf)# message-digest-key 1 md5-key
test
RS G8000(config-router-ospf)# exit
RS G8000(config)# interface ip 1
RS G8000(config-ip-if)# ip ospf message-digest-key 1
RS G8000(config-ip-if)# exit
RS G8000(config)# interface ip 2
RS G8000(config-ip-if)# ip ospf message-digest-key 1
RS G8000(config-ip-if)# exit
RS G8000(config)# interface ip 3
RS G8000(config-ip-if)# ip ospf message-digest-key 1
RS G8000(config-ip-if)# exit
RS G8000(config)# router ospf
RS G8000(config-router-ospf)# area 1 authentication-type md5
RS G8000(config-router-ospf)# message-digest-key 2 md5-key
test