authentication-key

Syntax

authentication-key {ciphertext | plaintext} <PASSWORD>

no authentication-key

Description

Sets the OSPF virtual-link authentication password that is 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 virtual-link authentication password that is used for simple-text authentication.

Command context

config-router-vlink

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 virtual links simple-text authentication password:

switch(config)# router ospf 1
switch(config-ospf-1)# area 100 virtual-link 100.0.1.1
switch(config-router-vlink)# authentication-key plaintext secure
switch(config-router-vlink)# authentication-key ciphertext AQBapdAVzEZb205RmH33+4cEctMayhvmuOVeYmXs8Y7ANu2eBgAAABO5xecopg==

Deleting OSPF virtual links simple-text authentication password:

switch(config)# router ospf 1
switch(config-ospf-1)# area 100 virtual-link 100.0.1.1
switch(config-router-vlink)# no authentication-key