Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

protocols ospf area <area-id> virtual-link <ipv4> authentication <method>

Sets the authentication characteristics for a virtual link.

set protocols ospf [ process pid ] area area-id virtual-link ipv4 authentication { md5 | md5-key-id 1-255 | plaintext | plaintext-password password }
delete protocols ospf [ process pid ] areaarea-id virtual-link ipv4 authentication [ md5 | md5-key-id 1-255 | plaintext | plaintext-password password ]
show protocols ospf [ process pid ] area area-id virtual-link ipv4 authentication
process pid
Specifies the PID of an IPv4 OSPF process.
area-id
The ID of the OSPF area being configured, expressed as an IP address or a decimal value.
ipv4
The area identifier of a virtual link, expressed as an IPv4 address.
md5
Specifies the MD5 authentication key to use as input to the MD5 hashing algorithm. This key must be the same on both the sending and receiving systems.

A hash value is sent through the network, computed from the password in the OSPF packet and the password, by using the Message Digest algorithm.

md5-key-ID 1-255
Sets the MD5 authentication key identifier. This identifier must be the same on both the sending and receiving systems. The identifier ranges from 1 through 255.
plaintext
Specifies the plain-text authentication method.
plaintext-password password
Sets the password to use in plain-text authentication. This password must be eight or fewer characters and be the same on both the sending and receiving systems.

Configuration mode

protocols {
	ospf {
		area area-id {
			virtual-link ipv4 {
				authentication {
					md5 {
						md5
						md5-key 1-255
						plaintext
						plaintext-password password
					}
				}
			}
		}
	}
}

Use this command to set the authentication characteristics for a virtual link.

In plain-text authentication, passwords are sent through the network in plain text. In MD5 authentication, the system uses the Message Digest 5 (MD5) algorithm to compute a hash value from the contents of the OSPF packet and the password. The hash value and the MD5 key are included in the transmitted packet, and the receiving system (configured with the same password) calculates its own hash function, which must match.

Use the set form of this command to specify the authentication characteristics for a link.

Use the delete form of this command to remove the authentication characteristics for a link.

Use the show form of this command to display the authentication characteristics for a link.