要执行Cisco 1941和Cisco 3945配置,请遵循以下步骤:
ip flow-export destination <NFA Server IP> 9996
ip flow-export source {any l3 interface} //loopback interface of the device
ip flow-export version 5
ip flow-cache timeout active 1
ip flow-cache timeout inactive 15
在所有第3层接口上启用"ip flow ingress"命令。
Huawei 6810
在系统视图下:
sflow collector 1 ip 192.168.2.246 port 9996 description netserver
sflow agent ip 192.168.60.1
在每个接口下:
例如:
system-view
Interface GE0/0/1
sflow counter-sampling collector 1
sflow counter-sampling interval 30
sflow flow-sampling collector 1
sflow flow-sampling rate 1024