set protocols ospf area virtual-link message-digest-key md5


Run the command set protocols ospf area virtual-link message-digest-key md5 to set OSPF authentication key to a cryptographic password. The cryptographic algorithm is MD5. The key number can be any digit between 1 and 255. 

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 area virtual-link message-digest-key md5.


Command Syntax

set protocols ospf [vrf <vrf-name>] area {<ipv4>|<area-id>} virtual-link <ROUTER-ID> message-digest-key <1-255> md5 <password>

delete protocols ospf [vrf <vrf-name>] area {<ipv4>|<area-id>} virtual-link <ROUTER-ID> message-digest-key <1-255> md5 <password>


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies the name of the VRF for the OSPF instance.

area {<ipv4>|<area-id>}Specifies the OSPF area ID. The value could be IPv4 dotted decimal format or an integer that ranges from 0 to 4294967295.

virtual-link <ROUTER-ID>

Configures a virtual link with the specified router ID of the remote ABR.

message-digest-key <1-255>Specifies the MD5 key ID. The value is an integer in the range of 1 to 255.
md5 <password>Specifies the MD5 authentication password that is used for message-digest authentication. The value is a string of 6 to 16 characters.


Usage Guidelines

The authentication modes and passwords of all the devices must be the same in any given area, but can differ between several areas.

PicOS recommends you configure only one set of message-digest-key and md5 password.


Example

  •  Configure MD5 key ID as 1.
admin@XorPlus# set protocols ospf area 1.1.1.1 virtual-link 100.0.1.1 message-digest-key 1 md5 wrwgdygd
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.