flow record SW_FLOW_RECORD
description NetFlow record format to send to SW
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 transport tcp flags
collect interface output
collect counter bytes long
collect counter packets long
collect timestamp absolute first
collect timestamp absolute last
! config to include SGT info in the flow record
flow record SW_FLOW_RECORD
match flow cts source group-tag
match flow cts destination group-tag
flow exporter NETFLOW_TO_SW_FC
description Export NetFlow to SW FC
destination 10.10.10.10
! source Loopback0 ! OPTIONAL: Source Interface for sending Flow Telemetry (e.g. Loopback0)
transport udp 2055
template data timeout 30
flow monitor IPv4_NETFLOW
record SW_FLOW_RECORD
exporter NETFLOW_TO_SW_FC
cache timeout active 60
cache timeout inactive 15
interface range Gig0/0-23
ip flow monitor IPv4_NETFLOW input
标签:Cisco,record,SW,flow,collect,C9,transport,netflow,match From: https://blog.csdn.net/u010575833/article/details/142523563