اس لیب میں آپ نیٹ ورک مانیٹرنگ کے ٹولز سیکھیں گے — SNMPv3، syslog، NetFlow، SPAN، اور streaming telemetry و Catalyst Center assurance کے کانسیپٹس۔ ENCOR D4 کا ٹاپک۔
Is lab mein aap network monitoring ke tools seekhenge — SNMPv3, syslog, NetFlow, SPAN, aur streaming telemetry w Catalyst Center assurance ke concepts. ENCOR D4 ka topic.
In this lab you will learn network monitoring tools — SNMPv3, syslog, NetFlow, SPAN, and the concepts of streaming telemetry and Catalyst Center assurance. An ENCOR D4 topic.
نیٹ ورک کی نگرانی ہسپتال کی نگرانی جیسی ہے۔ SNMP وہ نرس ہے جو وقفے وقفے سے مریض کی نبض چیک کرتی ہے۔ Syslog مریض کی ڈائری ہے — جو کچھ ہوا لکھ دیا۔ NetFlow آنے جانے والوں کی گنتی ہے۔ SPAN ایک آئینہ/کیمرہ ہے جو ٹریفک کی کاپی دیکھنے دیتا ہے۔ Streaming telemetry مریض کے جسم پر لگا سینسر ہے جو خود بخود ڈیٹا بھیجتا ہے۔
Network ki nigrani hospital ki nigrani jaisi hai. SNMP woh nurse hai jo waqfe waqfe se mareez ki nabz check karti hai. Syslog mareez ki diary hai — jo kuch hua likh diya. NetFlow aane jaane walon ki ginti hai. SPAN ek aaina/camera hai jo traffic ki copy dekhne deta hai. Streaming telemetry mareez ke jism par laga sensor hai jo khud bakhud data bhejta hai.
Monitoring a network is like monitoring a hospital. SNMP is the nurse who checks the patient's pulse at intervals. Syslog is the patient's diary — everything that happened is written down. NetFlow counts the visitors coming and going. SPAN is a mirror/camera that lets you view a copy of the traffic. Streaming telemetry is a sensor on the patient's body that sends data automatically.
R1 روٹر اور SW1 سوئچ، دونوں کے پیچھے PCs۔ مانیٹرنگ سرور 192.168.10.100 پر۔ ڈیوائسز: 1x روٹر 2911 (R1)، 1x سوئچ 2960 (SW1)، 2x پی سی۔ PC1: 192.168.10.10/24، PC2: 192.168.10.11/24، سرور: 192.168.10.100۔
R1 router aur SW1 switch, dono ke peeche PCs. Monitoring server 192.168.10.100 par. Devices: 1x Router 2911 (R1), 1x Switch 2960 (SW1), 2x PC. PC1: 192.168.10.10/24, PC2: 192.168.10.11/24, Server: 192.168.10.100.
R1 router and SW1 switch, with PCs behind both. Monitoring server at 192.168.10.100. Devices: 1x Router 2911 (R1), 1x Switch 2960 (SW1), 2x PC. PC1: 192.168.10.10/24, PC2: 192.168.10.11/24, Server: 192.168.10.100.
R1 پر SNMPv3 لگائیں۔ SNMPv3 میں authentication اور privacy (encryption) ہوتی ہے — پرانے v1/v2c میں صرف community string تھی۔ پہلے گروپ، پھر یوزر، پھر سرور (host) بتائیں۔
R1 par SNMPv3 lagao. SNMPv3 mein authentication aur privacy (encryption) hoti hai — purane v1/v2c mein sirf community string thi. Pehle group, phir user, phir server (host) batao.
Configure SNMPv3 on R1. SNMPv3 has authentication and privacy (encryption) — old v1/v2c had only a community string. First the group, then the user, then the server (host).
enableconfigure terminalsnmp-server group NETADMIN v3 privsnmp-server user admin NETADMIN v3 auth sha AUTH-PASS priv aes 128 PRIV-PASSsnmp-server host 192.168.10.100 version 3 priv adminexitSyslog لگائیں تاکہ لاگز سرور پر جائیں۔ logging trap سے لیول بتائیں — informational کا مطلب info اور اس سے اوپر کے سارے میسجز۔
Syslog lagao taake logs server par jayein. logging trap se level batao — informational ka matlab info aur us se upar ke saare messages.
Configure syslog so logs go to the server. Set the level with logging trap — informational means info and all messages above it.
configure terminallogging host 192.168.10.100logging trap informationallogging source-interface fa0/0exitNetFlow لگائیں — کون کس سے بات کر رہا ہے، کتنا ڈیٹا گیا۔ پہلے record (کیا گننا ہے)، پھر exporter (کہاں بھیجنا ہے)، پھر monitor (دونوں کو جوڑیں)، آخر میں انٹرفیس پر لگائیں۔
NetFlow lagao — kaun kis se baat kar raha hai, kitna data gaya. Pehle record (kya ginna hai), phir exporter (kahan bhejna hai), phir monitor (dono ko joro), aakhir mein interface par lagao.
Configure NetFlow — who is talking to whom, how much data went. First the record (what to count), then the exporter (where to send), then the monitor (join the two), finally apply it on the interface.
configure terminalflow record MYRECORDmatch ipv4 source addressmatch ipv4 destination addresscollect counter bytes longexitflow exporter MYEXPORTERdestination 192.168.10.100transport udp 9996exitflow monitor MYMONITORrecord MYRECORDexporter MYEXPORTERexitinterface fa0/0ip flow monitor MYMONITOR inputip flow monitor MYMONITOR outputexitexitSW1 پر SPAN لگائیں۔ SPAN ایک پورٹ کے ٹریفک کی کاپی دوسرے پورٹ پر بھیجتا ہے — وہاں Wireshark والا PC لگا کر ٹریفک دیکھیں۔
SW1 par SPAN lagao. SPAN ek port ke traffic ki copy doosre port par bhejta hai — wahan Wireshark wala PC laga kar traffic dekho.
Configure SPAN on SW1. SPAN sends a copy of one port's traffic to another port — connect a PC with Wireshark there to view the traffic.
enableconfigure terminalmonitor session 1 source interface fa0/1monitor session 1 destination interface fa0/24exitStreaming telemetry کا کانسیپٹ: ڈیوائس خود وقفے وقفے سے ڈیٹا بھیجتی ہے (push) — بار بار پوچھنا (pull) نہیں پڑتا۔ Catalyst Center assurance نیٹ ورک کی صحت کا اسکور دیتا ہے اور AI سے مسائل کی نشاندہی کرتا ہے۔
Streaming telemetry ka concept: device khud waqfe waqfe se data bhejti hai (push) — baar baar poochna (pull) nahi parta. Catalyst Center assurance network ki sehat ka score deta hai aur AI se masail ki nishandahi karta hai.
Streaming telemetry concept: the device itself pushes data at intervals — no need to keep polling (pull). Catalyst Center assurance gives a health score of the network and uses AI to point out issues.
ٹیسٹنگ: show کمانڈز سے دیکھیں کہ SNMP یوزر بنا، لاگنگ سرور سیٹ ہے، NetFlow ڈیٹا آ رہا ہے، اور SPAN سیشن چل رہا ہے۔
Testing: show commands se dekho ke SNMP user bana, logging server set hai, NetFlow data aa raha hai, aur SPAN session chal raha hai.
Testing: use show commands to confirm the SNMP user exists, the logging server is set, NetFlow data is arriving, and the SPAN session is running.
show snmp usershow logging | include 192.168.10.100show flow monitor MYMONITOR statisticsshow monitor session 1show snmp user، show logging اور show monitor session 1 — تینوں ٹھیک ہوں تو لیب کامیاب۔
show snmp user, show logging aur show monitor session 1 — teenon theek hon to lab kamyab.
show snmp user, show logging and show monitor session 1 — if all three are correct, the lab is a success.
show snmp usershow loggingshow monitor session 1