Use this command to enable or disable OSPF MD5 authentication on an interface.
keyid | Specifies the key identifier on the interface where MD5 authentication is enabled. Valid values are integers from 1 to 255. |
key | Specifies a password for MD5 authentication to be used with the keyid. Valid values are alphanumeric strings of up to 16 bytes. |
None.
Configuration command, Interface configuration. Read-Write
This command validates OSPF MD5 routing updates between neighboring routers.
The “no” form of this command disables MD5 authentication on an interface.
This example shows how to enable OSPF MD5 authentication on VLAN 1, set the key identifier to 20, and set the password to “passone”:
System(rw-config)->interface vlan 1 System(rw-config-intf-vlan.0.1)->ip ospf message-digest-key 20 md5 passone