Cấu hình netflow trên router
Trang 1Cau hinh NetFlow trén Router
Saturday, 31 May 2008, 09:42:24
Networking
// Lưu lượng từ công s0 sẽ đồ về máy 20.0.0.2 wa port 9996 hanoi(config)#int sO
hanoi(config-if)#ip route-cache flow
hanoi(config-if)#ex
hanoi(config)#ip flow-export destination 20.0.0.2 9996 hanoi(config)#ip flow-export source sO
hanoi(config)#ip flow-export version 5
hanoi(config)#ip flow-cache timeout active Ï
hanoi(config)#ip flow-cache timeout inactive 15
hanoi(config)#snmp-server ifindex persist
hanoi#show ip flow export // xem nhung gi da cau hinh
Flow export is enabled
Exporting flows to 20.0.0.2 (9996)
Exporting using source interface Serial0
Version 5 flow records
3 flows exported in 3 udp datagrams
0 flows failed due to lack of export packet
0 export packets were sent up to process level
0 export packets were dropped due to no fib
0 export packets were dropped due to adjacency issues
0 export packets were dropped due to fragmentation failures
0 export packets were dropped due to encapsulation fixup failures