You can perform Cisco 3750x configuration using the following steps:
config t
flow record NFArecord
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect interface input snmp
collect interface output snmp
collect counter bytes
collect counter packets
collect timestamp sys-uptime first
collect timestamp sys-uptime last
flow exporter NFAexporter
destination {NETFLOW_SERVER_IP}
source {LOOPBACK_INTERFACE_NAME}
template data timeout 60
transport udp {NETFLOW_SERVER_LISTENER_PORT}
flow monitor NFAmonitor
record NFArecord
exporter NFAexporter
cache timeout active 60
cache timeout inactive 15
Enter global configuration mode on the router or MSFC, and issue the following commands for each interface on which you want to enable flow:
interface {INTERFACE_NAME}
ip flow monitor NFAmonitor input
exit
Flexible NetFlow is supported only on the Catalyst 3750-X and 3560-X switch running the IP base or IP services feature set and equipped with the network services module. It is not supported on switches running the NPE or the LAN base image.