Enables authentication for an OSPF Version 3 (OSPFv3) area.
Authentication is not enabled on an area.
Enables Hashed Message Authentication Code (HMAC) Message Digest 5 (MD5) authentication on the OSPF area.
Enables HMAC Secure Hash Algorithm 1 (SHA-1) authentication on the OSPF area.
OSPFv3 router configuration mode
OSPFv3 router VRF configuration mode
Enter no area authentication spi to remove an authentication specification for an area from the configuration.
The following example enables ah and MD5 authentication for an OSPF area, setting a SPI value of 750.
device# configure termnial device(config)# ip router-id 10.1.2.3 device(config)# ipv6 router ospf device(config-ipv6-router-ospf-vrf-default-vrf)# area 0 authentication spi 750 ah hmac-md5 key abcef12345678901234fedcba098765432109876
The following example enables esp and SHA-1 authentication for an OSPF area, setting a SPI value of 900.
device# configure terminal device(config)# ip router-id 10.1.2.3 device(config)# ipv6 router ospf device(config-ipv6-router-ospf-vrf-default-vrf)# area 0 authentication spi 900 esp null hmac-md5 sha1 abcef12345678901234fedcba098765432109876