Configuring Keychain Authentication on an OSPFv3 Area

To configure an OSPFv3 area so all devices within the area use keychain authentication, complete the following steps.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the ip router-id command to specify the required router.
    device(config)# ip router-id 10.1.1.1
  3. Enter the ipv6 router ospf command to enter OSPFv3 configuration mode and enable OSPFv3 on the device.
    device(config)# ipv6 router ospf
  4. Enter the area area-ID authentication command, with the required keychain. The following example enables keychain authentication with the keychain "mykeychain".
    device(config-ospf6-router)# area 1 authentication keychain mykeychain
Note: This configuration instructs all interfaces within the area to use keychain authentication. It is possible to remove this configuration from individual interfaces using the ipv6 ospf authentication disable command on the required interface.

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

device# configure terminal
device(config)# ip router-id 10.1.1.1
device(config)# ipv6 router ospf
device(config-ospf6-router)# area 1 authentication keychain mykeychain