ipv6 ospf3 security

Syntax

no ipv6 ospf3 security authentication ipsec spi <SPI> [ {md5|sha1} key {hex | ascii} [encrypted] <KEY> ]

Description

Configure OSPFv3 IPsec security parameters for a VLAN or Tunnel interface.

Parameters

authentication

Configure AH authentication.

ipsec

Use IPsec security.

spi <SPI>

Enter a value between 256 and 4294967296 to be used as the IPsec security parameter index.

md5
MD5 authentication; the key should be 16 ASCII characters or 32 hexadecimal digits.
sha1

SHA1 authentication; the key should be 20 ASCII characters or 40 hexadecimal digits.

ascii

Specify the key in characters.

hex

Specify the key in hexadecimal.

encrypted

Specify that the key is encrypted.

key <KEY>

The ASCII or hexadecimal or encrypted value of the authentication key.

Examples

Switch(config)# vlan 2
Switch(vlan-2)# name "VLAN2"
Switch(vlan-2)# tagged A1
Switch(vlan-2)# ipv6 address 2001::1/64
Switch(vlan-2)# ipv6 ospf3 area backbone
Switch(vlan-2)# ipv6 ospf3 security authentication ipsec spi 200000 sha1 key ascii "abcdefghijklmnopqrst"
Switch(vlan-2)# exit
NOTE:

An OSPFv3 IPsec configuration on a VLAN or tunnel interface overrides the IPsec configurations made in the area to which it belongs.