Reference Guide

Open Shortest Path First (OSPFv2 and OSPFv3) | 699
Note that when you configure encryption 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 OSPFv3 area, enter the
no area area-id encryption ipsec
spi
number command.
To display the configuration of IPsec encryption policies on the router, enter the show crypto ipsec policy
command.
Displaying OSPFv3 IPsec Security Policies
To display the configuration of IPsec authentication and encryption policies, enter the following
command:
FTOS#show crypto ipsec policy
Crypto IPSec client security policy data
Policy name : OSPFv3-1-502
Policy refcount : 1
Inbound ESP SPI : 502 (0x1F6)
Outbound ESP SPI : 502 (0x1F6)
Inbound ESP Auth Key : 123456789a123456789b123456789c12
Outbound ESP Auth Key : 123456789a123456789b123456789c12
Inbound ESP Cipher Key : 123456789a123456789b123456789c123456789d12345678
Outbound ESP Cipher Key : 123456789a123456789b123456789c123456789d12345678
Transform set : esp-3des esp-md5-hmac
Crypto IPSec client security policy data
Policy name : OSPFv3-1-500
Policy refcount : 2
Inbound AH SPI : 500 (0x1F4)
Outbound AH SPI : 500 (0x1F4)
Inbound AH Key :
bbdd96e6eb4828e2e27bc3f9ff541e43faa759c9ef5706ba8ed8bb5efe91e97e
Outbound AH Key :
bbdd96e6eb4828e2e27bc3f9ff541e43faa759c9ef5706ba8ed8bb5efe91e97e
Command Syntax Command Mode Usage
show crypto ipsec
policy
[name name]
EXEC Privilege Display the AH and ESP parameters configured in IPsec security
policies, including the SPI number, key, and algorithms used.
name displays configuration details about a specified policy.