authentication-key

Syntax

authentication-key {ciphertext | plaintext}没有认证密钥

描述

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没有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.

Specifies the password for simple-text authentication.

权威

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 1switch(config-ospf-1)#area 100 virtual-link 100.0.1.1switch(config-router-vlink)#authentication-key plaintext secureswitch(config-router-vlink)#authentication-key ciphertext AQBapdAVzEZb205RmH33+4cEctMayhvmuOVeYmXs8Y7ANu2eBgAAABO5xecopg==

Deleting OSPF virtual links simple-text authentication password:

switch(config)#router ospf 1switch(config-ospf-1)#area 100 virtual-link 100.0.1.1switch(config-router-vlink)#没有认证密钥