Flexible NetFlow: مين بيكلّم مين؟
هتعرّف flow record وexporter وmonitor على R1 وتبعت الإحصائيات للـ collector على SRV.
مدة التجربة 20 دقيقة · 4 مهام
الأجهزة في بداية التجربة
- R1 — راوتر
- R2 — راوتر
- R3 — راوتر
- PC1 — كمبيوتر
- PC3 — كمبيوتر
- SRV — سيرفر
التوصيلات
- R1 Gi0/0/0 ↔ R2 Gi0/0/0
- R2 Gi0/0/1 ↔ R3 Gi0/0/0
- PC1 eth0 ↔ R1 Gi0/0/1
- R3 Gi0/0/1 ↔ PC3 eth0
- SRV eth0 ↔ R1 Gi0/0/2
العناوين المضبوطة مسبقًا
- R1 g0/0/0: 10.0.12.1/30
- R1 lo0: 1.1.1.1/32
- R2 g0/0/0: 10.0.12.2/30
- R2 g0/0/1: 10.0.23.1/30
- R2 lo0: 2.2.2.2/32
- R3 g0/0/0: 10.0.23.2/30
- R3 lo0: 3.3.3.3/32
- R1 g0/0/1: 192.168.1.1/24
- R3 g0/0/1: 192.168.3.1/24
- R1 g0/0/2: 10.9.0.1/24
02 / المهام التي ستطبقها
- 01flow record REC: match ipv4 source/destination address وcollect counter bytes
يتحقق المعمل من على R1: الأمر show running-config يظهر فيه «flow record REC»
تلميح / الحل المقترح
flow record REC match ipv4 source address match ipv4 destination address collect counter bytes
- 02flow exporter EXP لـ 10.9.0.10 على UDP 2055
يتحقق المعمل من على R1: الأمر show running-config يظهر فيه «flow exporter EXP»
تلميح / الحل المقترح
flow exporter EXP destination 10.9.0.10 transport udp 2055
- 03flow monitor MON بيستخدمهم، ومتطبّق input على Gi0/0/1
يتحقق المعمل من على R1: الأمر show flow monitor MON cache يظهر فيه «192.168.1.10»
تلميح / الحل المقترح
flow monitor MON record REC exporter EXP interface g0/0/1 ip flow monitor MON input
- 04الـ collector استلم flows (اعمل ping من PC1 لـ PC3 واستنى)
تلميح / الحل المقترح
على SRV: netflow
03 / تجارب مرتبطة