area virtual-link authentication (OSPFv2)
area
{
ip-addr
|
decimal
}
virtual-link
E.F.G.H
authentication
{
md5
|
hmac-sha-1
|
hmac-sha-256}
key-id
key-id-val
key
key-string
no area
{
ip-addr
|
decimal
}
virtual-link
E.F.G.H
authentication
MD5, HMAC-SHA-1 or HMAC-SHA-256 authentication is disabled by default.
OSPF router configuration mode
OSPF router VRF configuration mode
Use this command to set or reset the MD5, HMAC-SHA-1 or HMAC-SHA-256 authentication configuration on the OSPFv2 area virtual link.
The
no form of the command removes MD5, HMAC-SHA-1 or HMAC-SHA-256 authentication configuration
from the OSPFv2 area virtual link.
The following example enables HMAC-SHA-1 authentication using the key ID 10 and key string "mypasswordkey" on the specified area virtual link.
device# configure terminal device(config)# ip router-id 10.1.1.1 device(config)# router ospf device(config-ospf-router)# area 1 virtual-link 20.1.1.1 authentication hmac-sha-1 key-id 10 key mypasswordkey
| Release version | Command history |
|---|---|
| 08.0.70 | This command was introduced. |