Run the command set protocol ospf interface vif message-digest-key md5 to specify the MD5 key ID and key value for MD5 authentication for a given interface. The key ID can be any digit between 1 and 255. The key string can be any string without spaces, the maximum length of the string should be 16 characters.
To delete the configuration, run the command delete protocols ospf interface vif message-digest-key.
Command Syntax
set protocol ospf interface <vlan-interface> vif <vlan-interface> message-digest-key <1-255> md5 <text>
delete protocol ospf interface <vlan-interface> vif <vlan-interface> message-digest-key <1-255>
Parameter
Parameter | Description |
interface <vlan-interface> | Specifies the name of the interface. |
vif <vlan-interface> | Specifies the VIF 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 key string as testkey.
admin@XorPlus# set protocols ospf interface vlan200 vif vlan200 message-digest-key 1 md5 testkey admin@Xorplus# commit