With Netflow enabled on an IOS router that also has IPSec configured, there is a known issue where the Netflow export packets to the collector may not get encrypted on the sending IPSec endpoint, even though the flow matches the IPSec encryption policy configured. For example:
RouterB#show crypto session
Crypto session current status
Session status: UP-ACTIVE
Peer: 10.1.1.1 port 500
IKE SA: local 184.108.40.206/500 remote 10.1.1.1/500 Active
IPSEC FLOW: permit ip 220.127.116.11/255.255.255.0 192.168.1.0/255.255.255.0
Active SAs: 2, origin: crypto map
RouterB#sh ip flow export
Flow export v1 is enabled for main cache
Export source and destination details :
VRF ID : Default
Source(1) 18.104.22.168 (Ethernet0/0)
Destination(1) 192.168.1.10 (9999)
Version 1 flow records
23 flows exported in 20 udp datagrams
The symptom of the problem can be observed on the receiving IPSec endpoint, where messages like this can be observed indicating the received packet is not encrypted but it should be:
*Oct 8 17:42:37.083: %CRYPTO-4-RECVD_PKT_NOT_IPSEC: Rec'd packet not an IPSEC packet. (ip) vrf/dest_addr= /192.168.1.10, src_addr= 22.214.171.124, prot= 17
The problem is a day-one limitation with IOS, where the flow export packets are not subject to the feature processing (eg., IPSec) on the egress interface. This problem is documented with Cisco bug id CSCsk25481Flexible Netflow export packets not encrypted.
This limitation has since been addressed in IOS 12.4(20)T and later, although in order for this to work, one must use Flexible Netflow instead of legacy Netflow with the output-features command enabled. Here's an exmple below:
flow exporter test-flow
transport udp 9999
flow monitor test-flow
ip flow monitor test-flow output
Once Flexible Netflow is enabled, one can use show flow exporter statistics and show crypto ipsec sa output to verify Netflow exporter and encryption operations.
Hi, I want to create IPS Reporting on FMC but cant see any data under any available templates. I wana to create standard Intrusion Report for all kind of Intrusion events. Plus I can see IPS events in Dashboard Summary but None of them refl...
I'm trying to deploy ASAv in Azure and as the docs suggest, the management-only setting should be removed from the Management interface since "...the Management interface is the only interface that can have an Azure public IP address associated with it. B...
Hello Community, I need good advice to update two FTDs on ASA 5525X in HA from FMC1) do you need to break the HA to update them one at a time? so there is no effect on the service?Or is this process handled by the FMC without breaking the HA?I await...
I'm using Postman with a 4120 to test out various FXOS REST commands. Getting the token and various monitoring REST commands work fine. My problem is trying to add a new NTP server.
Based on the JSON format of my GET of NTP servers, I'm settin...