在 vRealize Network Insight 中,可以為 Cisco 4500 系列交換器設定 NetFlow 收集器。
- 建立流程記錄
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