Configuring keychain authentication on an OSPFv2 interface

To configure keychain authentication on an OSPFv2 interface, complete the following steps.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the interface command and specify an interface.
    device(config)# interface ve 1
  3. Enter the ip ospf authentication keychain command with the required keychain name. The following example enables keychain authentication with the keychain "mykeychain".
    device(config-vif-1)# ip ospf authentication keychain mykeychain

The following example enables keychain authentication using the keychain name "mykeychain" on the specified interface.

device# configure terminal
device(config)# interface ve 1
device(config-vif-1)# ip ospf authentication keychain mykeychain