vyatta@R1:~$ configure
vyatta@R1# set system flow-accounting netflow version 5
vyatta@R1# set system flow-accounting netflow server 192.168.5.97
vyatta@R1# set system flow-accounting netflow server 192.168.5.97 port 2055
vyatta@R1# commit
vyatta@R1# save
查看 netflow 是否正常
vyatta@R1:~$ show flow-accounting interface eth0
flow-accounting for [eth0]
Src Addr Dst Addr Sport Dport Proto Packets Bytes Flows
10.1.0.14 224.0.0.18 0 0 vrrp 233 9320 1
69.59.150.135 10.1.0.90 123 123 udp 12 912 2
76.74.103.45 10.1.0.90 0 0 icmp 2 168 1
10.0.0.30 10.1.0.90 53 40089 udp 1 133 1
10.0.0.30 10.1.0.90 53 36641 udp 1 133 1
10.0.0.30 10.1.0.90 53 51363 udp 1 106 1
Total entries: 6
Total flows : 7
Total pkts : 250
Total bytes : 10,772
打完收工
沒有留言:
張貼留言