Reference Guide

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
Command History
This guide is platform-specific. For command information about other platforms, refer to the
relevant
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 9.1.(0.0) Introduced on the S4810 and Z9000.
Version 8.3.19.0 Introduced on the S4820T.
Version 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.
S4820T
Syntax
area area-id encryption ipsec spi number esp encryption-
algorithm [key-encryption-type] key authentication-algorithm
[key-encryption-type] key
996