debug ipsec policy

Enables the display of debugging information for IPsec policy.
Syntax
debug ipsec policy
no debug ipsec policy
Modes

Privileged EXEC mode

Examples
device# debug ipsec policy
IPSec: policy debugging is on
device(config-ospf6-router)#no area 0 auth ipsec spi 400 esp sha1
abcef12345678901234fedcba098765432109876
Debug: Jan 1 01:57:05 IPSEC,Policy: Removing flow [input use 'prot=OSPF
src=FE80::/10:0 dst=::/0:0' -> SA: ESP in spi=0x190 dst=FE80::] : ok
device(config-ospf6-router)#area 0 auth ipsec spi 400 esp sha1
abcef12345678901234fedcba098765432109876
Debug: Jan 1 01:57:26 IPSEC,Policy: Creating flow [input use 'prot=OSPF
src=FE80::/10:0 dst=::/0:0' -> SA: ESP in spi=0x190 dst=FE80::] : ok
device(config-ospf6-router)#Debug: Jan 1 02:02:21 IPSEC,Policy: Creating flow
[output use 'prot=OSPF src=FE80::/10:0 dst=::/0:0' -> SA: ESP out spi=0x190
dst=::] : ok