flow record FLOW-RECORD-1
description Used for basic traffic analysis
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect counter bytes long
collect counter packets long
!
!
flow monitor FLOW-MONITOR-1
description Used for basic ipv4 traffic analysis
record FLOW-RECORD-1
cache entries 1048576
statistics packet protocol
statistics packet size
!
interface GigabitEthernet0/3
ip flow monitor FLOW-MONITOR-1 input
ip flow monitor FLOW-MONITOR-1 output
!
show flow monitor FLOW-MONITOR-1 cache aggregate ipv4 destination address sort highest counter bytes long
show flow monitor FLOW-MONITOR-1 cache aggregate ipv4 source address sort highest counter bytes long
flow record FLOW-RECORD-1 description Used for basic traffic analysis match ipv4 tos match ipv4 protocol match ipv4 source address match ipv4 destination address match transport source-port match transport destination-port collect counter bytes long collect counter packets long ! ! flow monitor FLOW-MONITOR-1 description Used for basic ipv4 traffic analysis record FLOW-RECORD-1 cache entries 1048576 statistics packet protocol statistics packet size ! interface GigabitEthernet0/3 ip flow monitor FLOW-MONITOR-1 input ip flow monitor FLOW-MONITOR-1 output ! show flow monitor FLOW-MONITOR-1 cache aggregate ipv4 destination address sort highest counter bytes long show flow monitor FLOW-MONITOR-1 cache aggregate ipv4 source address sort highest counter bytes long