Administrator Guide

Version Description
9.9(0.0) Introduced on the C9010.
9.2(1.0) Introduced on the Z9500.
9.1.(0.0) Introduced on the S4810 and Z9000.
8.3.19.0 Introduced on the S4820T.
8.4.2.0 Introduced on the E-Series TeraScale.
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.
To remove an IPsec authentication policy from an OSPFv3 area, enter the no area area-id
authentication spi number command.
Related
Commands
ipv6 ospf authentication – configures an IPsec authentication policy on an OSPFv3 interface.
show crypto ipsec policy – displays the configuration of IPsec authentication policies.
area encryption
Configure an IPsec encryption policy for OSPFv3 packets in an OSPFv3 area.
C9000 Series
Syntax
area area-id encryption ipsec spi number esp encryption-algorithm [key-
encryption-type] key authentication-algorithm [key-encryption-type] key
Parameters
area
area-id
Area for which OSPFv3 traffic is to be encrypted. For area-id, enter a number.
The range is from 0 to 4294967295.
ipsec spi
number
Security Policy index (SPI) value that identifies an IPsec security policy.
The range is from 256 to 4294967295.
esp encryption-
algorithm
Encryption algorithm used with ESP.
Valid values are: 3DES, DES, AES-CBC, and NULL.
For AES-CBC, only the AES-128 and AES-192 ciphers are supported.
key-encryption-
algorithm
(OPTIONAL) Specifies if the key is encrypted.
Valid values: 0 (key is not encrypted) or 7 (key is encrypted).
key
Text string used in encryption.
The required lengths of a non-encrypted or encrypted key are:
3DES - 48 or 96 hex digits; DES - 16 or 32 hex digits; AES-CBC -32 or 64 hex digits for
AES-128 and 48 or 96 hex digits for AES-192.
authentication-
algorithm
Specifies the authentication algorithm to use for encryption.
Valid values are MD5 or SHA1.
Open Shortest Path First (OSPFv2 and OSPFv3) 1171