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 supercedes 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.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
interfacecommand and specify an interface. - Enter the
ipv6 ospf authentication rfc6506command. - Enter the
ipv6 ospf authenticationcommand with the required authentication option and parameters. The following example enables HMAC-SHA-1 authentication with key ID 10 and key string "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