446 CHAPTER 25: OSPF C ONFIGURATION COMMANDS# Enable the OSPF process 120, bind the VPN instance and run the OSPF protocol.[SW8800] ospf 120 router id 9.9.9.9 vpn-instance vpn9[3Com-ospf-120]ospfauthentication-modeSyntaxospf authentication-mode { simple password | md5 key-id key }undo ospf authentication-mode { simple | md5 }ViewInterface viewParametersimple password: Enables plain text authentication and specifies a password notexceeding 8 characters.key-id: ID of the authentication key in MD5 authentication mode in the rangefrom 1 to 255.key: MD5 authentication key. If it is input in a plain text form, MD5 key is acharacter string in the range 1 to 16 characters. It will be displayed in a cipher textform in a length of 24 characters when the display current-configurationcommand is executed. Inputting the MD5 key in a cipher text form with 24characters is also supported.DescriptionUse the ospf authentication-mode command to configure the authenticationmode and key between adjacent routers.Use the undo ospf authentication-mode command to cancel theauthentication key that has been set.By default, the interface does not authenticate OSPF packets.The passwords for authentication keys of the routers on the same networksegment must be identical. In addition, using the authentication-modecommand, you can set the authentication type of the area so as to validate theconfiguration.Related command: authentication-mode.Example# Set the area 1 where the network segment 131.119.0.0 of InterfaceVlan-interface 1 is located to support MD5 cipher text authentication. Theauthentication key identifier is set to 15 and the authentication key is 3Com.[3Com-ospf-1] area 1[3Com-ospf-1-area-0.0.0.1] network 131.119.0.0 0.0.255.255[3Com-ospf-1-area-0.0.0.1] authentication-mode md5[3Com-Vlan-interface1] ospf authentication-mode md5 15 3Com