ip ospf authentication-key
Syntax
ip ospf authentication-key {ciphertext | plaintext} <PASSWORD>
no ip ospf authentication-key
Description
Sets the authentication password used for simple-text authentication. If the password is given in ciphertext it will be decrypted and applied to the protocol.
The
no
form of this command deletes the authentication password used for simple-text authentication.
Command context
config-if-vlan
Parameters
ciphertext
Specifies providing the password in encrypted format.
plaintext
Specifies providing the password in simple-text format.
<PASSWORD>
Specifies the password for simple-text authentication.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Setting OSPF simple-text authentication password on the interface:
switch(config)# interface vlan 1 switch(config-if-vlan)# ip ospf authentication-key ciphertext AQBapdAVzEZb205RmH33+4cEctMayhvmuOVeYmXs8Y7ANu2eBgAAABO5xecopg== switch(config-if-vlan)# ip ospf authentication-key plaintext secure
Deleting OSPF simple-text authentication password on the interface:
switch(config)# interface vlan 1 switch(config-if-vlan)# no ip ospf authentication-key