You can perform Cisco 6500 CatOS 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
match interface input
Collect interface output
collect routing source as
collect routing destination as
collect routing next-hop address ipv4
collect ipv4 source mask
collect ipv4 destination mask
collect transport tcp flags
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}
Export-protocol version-9
transport udp {NETFLOW_SERVER_LISTENER_PORT}
template data timeout 60
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