请在设备的配置模式下配置下面的命令, 配置Cisco ASR 1k系列设备以使用NBAR信息导出流的步骤如下:
match ipv4 protocolmatch ipv4 source addressmatch ipv4 destination addressmatch transport source-portmatch transport destination-portmatch interface inputmatch application namecollect interface outputcollect transport tcp flagscollect counter bytes longcollect counter packets longcollect ipv4 source maskcollect ipv4 destination maskcollect ipv4 source prefixcollect ipv4 destination prefixcollect timestamp sys-uptime firstcollect timestamp sys-uptime last
destination 10.200.253.79source Loopback0transport udp 9996template data timeout 60option interface-table timeout 60option application-table timeout 60
exporter NFAexporterrecord NFArecordcache timeout active 60
一旦执行了配置中的改变, 请应用 Flow 监视 "ip flow monitor NFAmonitor input" 到全部的三层接口以便得到准确的流量数据.
请参考下面链接来配置 Ezpm: