566 G8264 Application Guide for ENOS 8.4Configuring Plain Text OSPF PasswordsTo configure simple plain text OSPF passwords on the switches shown in Figure 51use the following commands:1. Enable OSPF authentication for Area 0 on switches 1, 2, and 3.2. Configure a simple text password up to eight characters for each OSPF IP interfacein Area 0 on switches 1, 2, and 3.3. Enable OSPF authentication for Area 2 on switch 4.4. Configure a simple text password up to eight characters for the virtual linkbetween Area 2 and Area 0 on switches 2 and 4.Configuring MD5 AuthenticationUse the following commands to configure MD5 authentication on the switchesshown in Figure 51: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.RS G8264(config router ospf)# area 0 authentication type passwordRS G8264(config router ospf)# exitRS G8264(config)# interface ip 1RS G8264(config ip if)# ip ospf key testRS G8264(config ip if)# exitRS G8264(config)# interface ip 2RS G8264(config ip if)# ip ospf key testRS G8264(config ip if)# exitRS G8264(config)# interface ip 3RS G8264(config ip if)# ip ospf key testRS G8264(config ip if)# exitRS G8264(config)# router ospfRS G8264(config router ospf)# area 2 authentication type passwordRS G8264(config router ospf)# area virtual link 1 key bladeRS G8264(config router ospf)# area 0 authentication type md5RS G8264(config router ospf)# message digest key 1 md5 key testRS G8264(config router ospf)# exit