You can perform Cisco 9407 & Catalyst 4510 Switch configuration using the following steps:
config t
flow record NFARecordinput
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match mac destination-address
match mac source-address
match transport source-port
match transport destination-port
match interface input
collect interface output
collect counter bytes long
collect counter packets long
collect timestamp sys-uptime first
collect timestamp sys-uptime last
flow exporter NFAExporter
destination {NETFLOW_SERVER_IP}
source {LOOPBACK_INTERFACE_NAME}
transport udp {NETFLOW_SERVER_LISTENER_PORT}
template data timeout 60
flow monitor NFAMonitorinput
exporter NFAExporter
cache timeout active 60
record NFARecordinput
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 NFAMonitorinput input