1. To create the flow record

    configure terminal

    flow record netflow-original

    match ipv4 protocol

    match ipv4 source address

    match ipv4 destination address

    match transport source-port

    match transport destination-port

    match interface input

    collect transport tcp flags

    collect counter bytes

    collect counter packets

    collect timestamp sys-uptime first

    collect timestamp sys-uptime last

    End

  2. To create the flow exporter

    configure terminal

    flow exporter e1

    destination <PROXY_IP>

    transport udp 2055

    end

  3. To create the flow monitor

    configure terminal

    flow monitor m1

    record netflow-original

    exporter e1

    end

  4. To configure the timeouts

    configure terminal

    cache timeout inactive 30

    cache timeout active 60

    end

  5. To configure the flow monitor for each interface on the ingress mode and the egress mode or at least the ingress mode

    configure terminal

    interface <INTERFACE_NAME>

    ip flow monitor m1 unicast input

    end