CLI Guide
ipsec spi number
Security Policy index (SPI) value that identifies an IPsec
security policy.
The range is from 256 to 4294967295.
MD5 | SHA1
Authentication type: Message Digest 5 (MD5) or Secure
Hash Algorithm 1 (SHA-1).
key-encryption-
type
(OPTIONAL) Specifies if the key is encrypted.
The values are 0 (key is not encrypted) or 7 (key is
encrypted).
key
Text string used in authentication.
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).
Defaults Not configured.
Command Modes ROUTER OSPFv3
Supported Modes Full—Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information Before you enable IPsec authentication on an OSPFv3 area, you must first enable
OSPFv3 globally on the router. Configure the same authentication policy (same SPI
and key) on each interface in an OSPFv3 link.
An SPI number must be unique to one IPsec security policy (authentication or
encryption) on the router.
If you have enabled IPsec encryption in an OSPFv3 area with the area
encryption command, you cannot use the area authentication command in
the area at the same time.
The configuration of IPsec authentication on an interface-level takes precedence
over an area-level configuration. If you remove an interface configuration, an area
authentication policy that has been configured is applied to the interface.
Open Shortest Path First (OSPFv2 and OSPFv3)
1117