set protocols ospf interface message-digest-key md5

Run the command set protocols ospf interface message-digest-key md5 to specify the MD5 key number and password for MD5 authentication for a given interface. The key number can be any digit between 1 and 255. The password string can be any string without spaces, the maximum length of the string should be 16 characters.

Note: Its important to configure the same key number and password on both ends for the OSPF authentication to be successful.

To delete the configuration, run the command delete protocols ospf interface message-digest-key.


Command Syntax

set protocols ospf interface <interface-name> message-digest-key <1-255> md5 <password>

delete protocols ospf interface <interface-name> message-digest-key <1-255>


Parameter

Parameter

Description

interface <interface-name>Specifies the VLAN interface name, the loopback interface name, the routed interface or the sub-interface name.
message-digest-key <1-255>Specifies the MD5 key ID. The value is an integer in the range of 1 to 255
md5 <text>Specifies the MD5 key string, the maximum length should not exceed 16 characters and should not have spaces.

Example

  •  Configure MD5 key ID as 1 and password string as testkey.
admin@XorPlus# set protocols ospf interface vlan200 message-digest-key 1 md5 testkey
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.