Dell Command Line Reference Guide for the S4048–ON System


area encryption

Configure an IPsec encryption policy for OSPFv3 packets in an OSPFv3 area.

area area-id encryption ipsec spi number esp encryption-algorithm [key-encryption-type] key authentication-algorithm [key-encryption-type] key
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.


(OPTIONAL) Specifies if the key is encrypted.

Valid values: 0 (key is not encrypted) or 7 (key is encrypted).


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.


Specifies the authentication algorithm to use for encryption.

Valid values are MD5 or SHA1.


(OPTIONAL) Specifies if the authentication key is encrypted.

Valid values: 0 (key is not encrypted) or 7 (key is encrypted).


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).


Causes an encryption policy configured for the area to not be inherited on the interface.

Not configured.
Command Modes
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Introduced on the S6010-ON and S4048T-ON.
Introduced on the S3148.
Introduced on the S6100-ON.
Introduced on the S3100 series.
Introduced on the Z9100-ON.
Introduced on the S4048-ON.
Introduced on the S3048-ON.
Introduced on the Z9500.
Introduced on the S4810 and Z9000.
Introduced on the E-Series.
Introduced on the S4820T.
Usage Information

Before you enable IPsec encryption on an OSPFv3 interface, first enable OSPFv3 globally on the router. Configure the same encryption policy (same SPI and keys) on each interface in an OSPFv3 link.

An SPI value must be unique to one IPsec security policy (authentication or encryption) on the router.

When you configure encryption for an OSPFv3 area with the area encryption command, you enable both IPsec encryption and authentication. However, when you enable authentication on an area with the area authentication command, you do not enable encryption at the same time.

If you have enabled IPsec authentication in an OSPFv3 area with the area authentication command, you cannot use the area encryption command in the area at the same time.

The configuration of IPsec encryption on an interface-level takes precedence over an area-level configuration. If you remove an interface configuration, an area encryption policy that has been configured is applied to the interface.

To remove an IPsec encryption policy from an interface, enter the no area area-id encryption spi number command.

Related Commands

Rate this content

Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\