ipv6 ospf authentication

Configures HMAC-SHA-1 or HMAC-SHA-256 authentication for Open Shortest Path First version 3 (OSPFv3).

ipv6 ospf authentication { hmac-sha-1 | hamac-sha-256} key-id key-id-val key key-string
no ipv6 ospf authentication [ HMAC-SHA-1 | HMAC-SHA-256] key-id key-id-val key key-string

HMAC-SHA-1 or HMAC-SHA-256 authentication is disabled by default.

hmac-sha-1
Specifies the HMAC-SHA-1 authentication.
hmac-sha-256
Specifies the HMAC-SHA-256 authentication.
key-id key-id-val
Identifies the number of the HMAC-SHA-1 or HMAC-SHA-256 algorithm. The number can be from 1 through 255.
key key-string
Sets the corresponding key string to be used with the HMAC-SHA-1 or HMAC-SHA-256 algorithm.

Interface subtype configuration mode

Use this command to set or reset the HMAC-SHA-1 or HMAC-SHA-256 authentication configuration on the OSPFv3 interface to which you are connected.

The no form of the command removes the HMAC-SHA-1 or HMAC-SHA-256 authentication configuration from the OSPFv3 interface.

The following example sets HMAC-SHA-1 authentication with key ID 10 and the password key "mypasswordkey", on the OSPFv3 interface.


device# configure terminal
device(config)# interface ve 1
device(config-vif-1)# ipv6 ospf authentication hmac-sha-1 key-id 10 key mypasswordkey
 
Release Command History
08.0.70 This command was introduced.