Cisco Nexus 7k系列设备支持NetFlow导出。请在配置模式下配置以下命令:
feature netflow
flow timeout active 60
flow timeout inactive 15
flow exporter NFAExporter
destination {NFA serverip Address}
transport udp 9996
source {Loopback interface or any L3 interface}
version 9
template data timeout 60
option exporter-stats timeout 60
option sampler-table timeout 60
sampler NFAsampler
mode 1 out-of 100
flow monitor NFAmonitor
record netflow-original
exporter NFAexporter
请将以下流监视器命令应用于设备的所有接口,并检查问题:
ip flow monitor NFAmonitor input NFAsampler