ip ospf认证密钥

Syntax

ip ospf认证密钥{ciphertext | plaintext}没有ip ospf认证密钥

描述

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

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 1switch(config-if-vlan)#ip ospf认证密钥ciphertext AQBapdAVzEZb205RmH33+4cEctMayhvmuOVeYmXs8Y7ANu2eBgAAABO5xecopg==switch(config-if-vlan)#ip ospf认证密钥plaintext secure

Deleting OSPF simple-text authentication password on the interface:

switch(config)#interface vlan 1switch(config-if-vlan)#没有ip ospf认证密钥