area authentication (OSPFv3)

Configures HMAC-SHA-1 or HMAC-SHA-256 authentication for an Open Shortest Path First version 3 (OSPFv3) area.
Syntax
area area-id authentication { hmac-sha-1 | hmac-sha-256 } key-id key-id-val key key-string
no area area-id authentication { hmac-sha-1 | hmac-sha-256 } key-id key-id-val key key-string
Command Default

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

Parameters
hmac-sha-1
Specifies the HMAC-SHA-1 authentication.
hmac-sha-256
Specifies the HMAC-SHA-256 authentication.
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-string
Sets the corresponding key-string to be used with the HMAC-SHA-1 or HMAC-SHA-256 algorithm.
Modes

Interface subtype configuration mode

Usage Guidelines

Use this command to set or reset the HMAC-SHA-1 or HMAC-SHA-256 authentication configuration for an OSPFv3 area. All interfaces within the area are configured to use these authentication parameters.

It is possible to remove this configuration from individual interfaces using the ipv6 ospf authentication disable command on the required interface.

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

Examples

The following example sets HMAC-SHA-1 authentication with key ID 10 and the password key "mypasswordkey", on the OSPFv3 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 hmac-sha-1 key-id 10 key mypasswordkey
 
History
Release version Command history
08.0.70 This command was introduced.