Configures MD5 password and authentication change hold time.
No authentication.
Interface subtype configuration mode
Use this command to set or reset the MD5 password and/or authentication change hold time on the interface to which you are connected.
By default, the authentication key is encrypted. If you want the authentication key to be in clear text, insert a 0 between authentication-key and string. The software adds a prefix to the authentication key string in the configuration. For example, the following portion of the code has the encrypted code "2".
Enter no ip ospf md5-authentication key-id to disable this configuration.
The following example sets the time that OSPFv2 waits before activating a new MD5 key to 240 seconds on an Ethernet interface.
device# configure terminal device(config)# interface ethernet 1/1 device(conf-if-eth-1/1)# ip ospf md5-authentication key-activation-wait-time 240
The following example sets the MD5 key ID to 22 and a password “myospfpassword” on an Ethernet interface.
device# configure terminal device(config)# interface ethernet 1/1 device(conf-if-eth-1/1)# ip ospf md5-authentication key-id 22 key myospfpassword