183
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
ip ospf message-digest-key
ip ospf message-digest-key
To enable Open Shortest Path First (OSPF) Message Digest 5 (MD5) authentication, use the ip ospf
message-digest-key command. To remove an old MD5 key, use the no form of this command.
ip ospf message-digest-key key-id md5 [0 | 3 | 7] key
no ip ospf message-digest-key key-id
Syntax Description
Command Default Unencrypted
Command Modes Interface configuration mode
Command History
Usage Guidelines All neighbor routers must have the same key value on the network.
This command requires the LAN Base Services license.
Examples This example shows how to set key 19 with the password 8ry4222:
switch# configure terminal
switch(config)# interface ethernet 1/2
switch(config-if)# no switchport
switch(config-if)# ip ospf message-digest-key 19 md5 8ry4222
switch(config-if)#
key-id Identifier in the range from 1 to 255.
md5 Specifies the Message Digest 5 (MD5) authentication.
0 (Optional) Specifies an unencrypted password to generate the md5
key.
3 (Optional) Specifies an encrypted 3DES password to generate the
md5 key.
7 (Optional) Specifies a Cisco type 7 encrypted password to generate
the md5 key.
key Alphanumeric password of up to 16 bytes.
Release Modification
5.0(3)A1(1) This command was introduced.