Specifies the security policy index (SPI) value for an OSPFv3 interface.
Disabled.
SPI value. Valid values range from decimal numbers 512 through 4294967295.
Enables Hashed Message Authentication Code (HMAC) Message Digest 5 (MD5) authentication on the OSPFv3 interface.
Enables HMAC Secure Hash Algorithm 1 (SHA-1) authentication on the OSPFv3 interface.
Interface subtype configuration mode
Enter no ipv6 ospf authentication spi spi to remove the SPI value from the interface.
The following example enables ESP and HMAC-SHA-1 on an OSPFv3 Ethernet interface.
device# configure terminal device(config)# interface ethernet 1/1 device(conf-if-eth-1/1)# ipv6 ospf area 0 device(conf-if-eth-1/1)# ipv6 ospf authentication spi 512 esp null hmac-sha1 key abcef12345678901234fedcba098765432109876
The following example enables AH and HMAC-MD5 on an OSPFv3 virtual Ethernet (VE) interface.
device# configure terminal device(config)# interface ve 1 device(config-if-Ve-1)# ipv6 ospf area 0 device(config-if-Ve-1# ipv6 ospf authentication spi 750 ah hmac-md5 key abcef12345678901234fedcba098765432109876