flow record ipv4_record
match ipv4 tos
match ipv4 source address
match ipv4 destination address
match ipv4 protocol
match transport source-port
match transport destination-port
match interface input
collect interface output
collect counter packets
collect counter bytes
collect transport tcp source-port
collect transport tcp destination-port
collect transport tcp flags
collect routing source as
collect routing destination as
collect ipv4 source mask
collect ipv4 destination mask
collect timestamp sys-uptime first
collect timestamp sys-uptime last
flow record ipv6_record
match ipv6 source address
match ipv6 destination address
match ipv6 protocol
match ipv6 tos
match transport source-port
match transport destination-port
match interface input
collect interface output
collect counter packets
collect counter bytes
collect transport tcp source-port
collect transport tcp destination-port
collect transport tcp flags
collect routing source as
collect routing destination as
collect ipv6 source mask
collect ipv6 destination mask
collect timestamp sys-uptime first
collect timestamp sys-uptime last
flow exporter NFAexporter
destination 185.54.81.20
source GigabitEthernet0/2
transport udp 9996
export-protocol netflow-v9
template data timeout 60
flow monitor NFAmonitorIPv4
record ipv4_record
exporter NFAexporter
cache timeout active 60
cache timeout inactive 60
flow monitor NFAmonitorIPv6
record ipv6_record
exporter NFAexporter
cache timeout active 60
cache timeout inactive 60
==================================
Applicare su ogni interfaccia:
ip flow monitor NFAmonitorIPv4 input
ipv6 flow monitor NFAmonitorIPv6 input
Addendum:
flow record ipv4_record
match datalink source-vlan-id
match datalink dot1q priority
match datalink mac source-address
match datalink mac destination-address
match ipv4 version
match ipv4 tos
match ipv4 ttl
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match interface input physical snmp
collect interface output snmp
collect counter flows
collect counter bytes
collect counter packets
collect timestamp sys-uptime first
collect timestamp sys-uptime last
flow record ipv6_record
match datalink source-vlan-id
match datalink dot1q priority
match datalink mac source-address
match datalink mac destination-address
match ipv6 version
match ipv6 protocol
match ipv6 source address
match ipv6 destination address
match transport source-port
match transport destination-port
match interface input physical snmp
collect interface output snmp
collect counter flows
collect counter bytes
collect counter packets
collect timestamp sys-uptime first
collect timestamp sys-uptime last
flow exporter NFAexporter
destination 192.168.222.59
source interface vlan 10
transport udp 9996
export-protocol netflow-v9
template data timeout 60
option interface-table timeout 60
flow monitor NFAmonitorIPv4
record ipv4_record
exporter NFAexporter
cache timeout active 60
cache timeout inactive 60
flow monitor NFAmonitorIPv6
record ipv6_record
exporter NFAexporter
cache timeout active 60
cache timeout inactive 60
interface te1/1/1
ip flow monitor NFAmonitorIPv4 input
ip flow monitor NFAmonitorIPv6 input