protocols ospf area <area-id> authentication <type>
Sets the authentication type of an OSPF area.
The authentication is plain text.
- 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.
- plaintext
- Specifies that passwords are sent through the network in plain text.
- 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.
Configuration mode
protocols {
ospf {
process pid {
area area-id {
authentication
plaintext
md5
}
}
}
}
Use this command to set the authentication type of an OSPF area.
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 set the authentication type of an OSPF area.
Use the delete form of this command to remove the authentication type of an OSPF area.
Use the show form of this command to display the authentication type of an OSPF area.