Netflow on 9200 switch
!
flow record FR-INPUT
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match flow direction
match interface input
collect counter bytes long
collect counter packets long
!
!
flow record FR-OUTPUT
match ipv4 tos
match ipv4 protocol
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
match flow direction
match interface output
collect counter bytes long
collect counter packets long
!
!
flow exporter EXPORT1
destination xxx.xxx.xxx.xxx
source Vlan xxx
transport udp 2055
!
!
flow monitor MONITOR-INPUT
exporter EXPORT1
cache timeout active 300
record FR-INPUT
!
!
flow monitor MONITOR-OUTPUT
exporter EXPORT1
cache timeout active 300
record FR-OUTPUT
!
int vlan xxx
ip flow monitor MONITOR-INPUT input
ip flow monitor MONITOR-OUTPUT output
END
copy run Start
Troy LoweNetwork Manager |
|
||||||||||||
|