r2621(config-if)#ip ospf ?
  authentication       Enable authentication
  authentication-key   Authentication password (key)
  cost                 Interface cost
  database-filter      Filter OSPF LSA during synchronization and flooding
  dead-interval        Interval after which a neighbor is declared dead
  demand-circuit       OSPF demand circuit
  hello-interval       Time between HELLO packets
  message-digest-key   Message digest authentication password (key)
  mtu-ignore           Ignores the MTU in DBD packets
  network              Network type
  priority             Router priority
  retransmit-interval  Time between retransmitting lost link state
                       advertisements
  transmit-delay       Link state transmit delay
r2621(config-if)#ip ospf auth
r2621(config-if)#ip ospf authentication-
r2621(config-if)#ip ospf authentication-key ?
  <0-7>  Encryption type (0 for not yet encrypted, 7 for proprietary)
  LINE   The OSPF password (key)

AuthKey attributes lists attributes supported by AuthKey.

Table 1. AuthKey attributes

Display name

Type

Description

AcceptStartDate

Date

Earliest date key accepted.

AcceptStartTime

Time

Time on earliest date key is accepted.

AcceptStopDate

Date

Date stop accepting key.

AcceptStopTIme

Time

Time on earliest stop date key is rejected.

AuthType

String

Authentication type such as null (no authentication) or md5

EncryptionType

Integer

Tells how the keys in the MD5 and keys are encrypted using the notation specific to the driver for encryption of the key values on the device.

KeyName

String

Key name.

KeyNumber

Integer

The key’s number.

KeyType

String

Key value type such as md5 or empty for clear text.

KeyValue

String

Key value, arbitrary length.

SendStartDate

Date

Date to start sending this key.

SendStartTime

Time

Time on start date to begin sending.

SendStopDate

Date

Date stop sending key.

SendStopTime

Time

Time on stop date to cease sending.