Run the command set protocol protocols 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 protocols ospf interface <vlan-interface> vif <vlan<vlan-interface> message-digest-key <1<1-255>255> md5 <text>
delete protocol protocols ospf interface <vlan-interface> vif <vlan-interface><vlan-interface>message-digest-key <1<1-255>255>
Parameter
Parameter | Description |
interface |
<vlan- |
interface> | Specifies the name of the VLAN interface. |
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.
Code Block |
---|
admin@XorPlus# set protocols ospf interface vlan200 vif vlan200 message-digest-key 1 md5 testkey
admin@Xorplus# commit |
...