Service Manual

Conguring IPSec Authentication for an OSPFv3 Area
To congure, remove, or display IPSec authentication for an OSPFv3 area, use the following commands.
Prerequisite: Before you enable IPsec authentication on an OSPFv3 area, rst enable OSPFv3 globally on the router (refer to
Conguration Task List for OSPFv3 (OSPF for IPv6)).
The security policy index (SPI) value must be unique to one IPSec security policy (authentication or encryption) on the router.
Congure the same authentication policy (the same SPI and key) on each interface in an OPSFv3 link.
If you have enabled IPSec encryption in an OSPFv3 area using the area encryption command, you cannot use the area
authentication command in the area at the same time.
The conguration of IPSec authentication on an interface-level takes precedence over an area-level conguration. If you remove an
interface conguration, an area authentication policy that has been congured is applied to the interface.
Enable IPSec authentication for OSPFv3 packets in an area.
CONF-IPV6-ROUTER-OSPF mode
area-id authentication ipsec spi number {MD5 | SHA1} [key-encryption-type] key
area area-id: species the area for which OSPFv3 trac is to be authenticated. For area-id, enter a number or an
IPv6 prex.
spi number: is the SPI value. The range is from 256 to 4294967295.
MD5 | SHA1: species the authentication type: message digest 5 (MD5) or Secure Hash Algorithm 1 (SHA-1).
key-encryption-type: (optional) species if the key is encrypted. The valid values are 0 (key is not encrypted) or 7
(key is encrypted).
key: species the text string used in authentication. All neighboring OSPFv3 routers must share key to exchange
information. For MD5 authentication, the key must be 32 hex digits (non-encrypted) or 64 hex digits (encrypted). For SHA-1
authentication, the key must be 40 hex digits (non-encrypted) or 80 hex digits (encrypted).
Remove an IPSec authentication policy from an OSPFv3 area.
no area area-id authentication ipsec spi number
Display the conguration of IPSec authentication policies on the router.
show crypto ipsec policy
Conguring IPsec Encryption for an OSPFv3 Area
To congure, remove, or display IPsec encryption in an OSPFv3 area, use the following commands.
Prerequisite: Before you enable IPsec encryption in an OSPFv3 area, rst enable OSPFv3 globally on the router (refer to
Conguration Task List for OSPFv3 (OSPF for IPv6)).
The SPI value must be unique to one IPsec security policy (authentication or encryption) on the router. Congure the same
encryption policy (the same SPI and keys) on each interface in an OPSFv3 link.
NOTE: When you congure encryption using the area encryption command, you enable both IPsec encryption and
authentication. However, when you enable authentication on an area using the area authentication command, you
do not enable encryption at the same time.
If you have enabled IPsec authentication in an OSPFv3 area using the area authentication command, you cannot use the
area encryption command in the area at the same time.
The conguration of IPsec encryption on an interface-level takes precedence over an area-level conguration. If you remove an
interface conguration, an area encryption policy that has been congured is applied to the interface.
Enable IPsec encryption for OSPFv3 packets in an area.
CONF-IPV6-ROUTER-OSPF mode
area area-id encryption ipsec spi number esp encryption-algorithm [key-encryption-type]
key authentication-algorithm [key-authentication-type] key
Open Shortest Path First (OSPFv2 and OSPFv3)
531