- 创建流记录
configure terminalflow record netflow-originalmatch ipv4 protocolmatch ipv4 source addressmatch ipv4 destination addressmatch transport source-portmatch transport destination-portmatch interface inputcollect transport tcp flagscollect counter bytescollect counter packetscollect timestamp sys-uptime firstcollect timestamp sys-uptime lastEnd - 创建流导出器
configure terminalflow exporter e1destination <PROXY_IP>transport udp 2055end - 创建流监控器
configure terminalflow monitor m1record netflow-originalexporter e1end - 配置超时
configure terminalcache timeout inactive 30cache timeout active 60end - 在输入模式和输出模式下或者至少在输入模式下为每个接口配置流监控器
configure terminalinterface <INTERFACE_NAME>ip flow monitor m1 unicast inputend