Configuring RFC 6506 Authentication on an OSPFv3 Interface

This may be required for interoperability purposes. By default, OSPFv3 authentication is implemented in accordance with RFC 7166, which supersedes RFC 6506. However, some vendors still support RFC 6506. To configure authentication in accordance with RFC 6506 on an OSPFv3 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 ipv6 ospf authentication rfc6506 command.
    device(config-vif-1)# ipv6 ospf authentication rfc6506
  4. Enter the ipv6 ospf authentication command with the required authentication option and parameters. The following example enables HMAC-SHA-1 authentication with key ID 10 and key string "mypasswordkey".
    device(config-vif-1)# ipv6 ospf authentication hmac-sha-1 key-id 10 key mypasswordkey

The following example enables HMAC-SHA-1 authentication using the key ID 10 and key string "mypasswordkey" on the specified interface.

device# configure terminal
device(config)# interface ve 1
device(config-vif-1)# ipv6 ospf authentication rfc6505
device(config-vif-1)# ipv6 ospf authentication hmac-sha-1 key-id 10 key mypasswordkey