اس لیب میں آپ routing مسائل کی منظم تشخیص کا طریقہ کار (methodology) اور اہم ترین show/debug کمانڈز سیکھیں گے۔
Is lab mein aap routing masail ki munazzam tashkhees ka tareeqa-kar (methodology) aur ahem tareen show/debug commands seekhenge.
In this lab you will learn a systematic methodology for diagnosing routing problems and the most important show/debug commands.
Troubleshooting ایسے ہے جیسے ڈاکٹر مریض کو دیکھتا ہے — پہلے علامات (ping fail)، پھر نبض (interface status)، پھر ٹیسٹ (show commands)، اور آخر میں علاج۔ بغیر ترتیب کے کمانڈز چلانا ایسے ہے جیسے بغیر تشخیص کے دوا دے دینا۔
Troubleshooting aise hai jaise doctor mareez ko dekhta hai — pehle alamat (ping fail), phir nabz (interface status), phir test (show commands), aur aakhir mein ilaj. Baghair tarteeb ke commands chalana aise hai jaise baghair tashkhees ke dawa de dena.
Troubleshooting is like a doctor seeing a patient — first symptoms (ping fails), then pulse (interface status), then tests (show commands), then treatment. Running commands without order is like prescribing without diagnosis.
کوئی بھی پچھلی لیب کی ٹوپولوجی استعمال کریں (EIGRP، OSPF، یا BGP والی)۔ جان بوجھ کر ایک خرابی پیدا کریں (مثلاً غلط network statement یا shutdown انٹرفیس) اور اس لیب کے طریقے سے حل کریں۔
Koi bhi pichli lab ki topology istemal karein (EIGRP, OSPF, ya BGP wali). Jaan boojh kar ek kharabi paida karein (masalan ghalat network statement ya shutdown interface) aur is lab ke tareeqe se hal karein.
Use any previous lab's topology (EIGRP, OSPF, or BGP). Deliberately introduce one fault (e.g. a wrong network statement or shutdown interface) and solve it using this lab's method.
مسئلے کی تعریف کریں۔ پہلے واضح کریں: کیا ping fail ہے؟ کون سا source، کون سا destination؟ کب سے؟ کیا بدلا تھا؟ بغیر واضح تعریف کے troubleshooting شروع نہ کریں۔
Masle ki tareef karein. Pehle wazeh karein: kya ping fail hai? Kaun sa source, kaun sa destination? Kab se? Kya badla tha? Baghair wazeh tareef ke troubleshooting shuru na karein.
Define the problem. First clarify: is ping failing? Which source, which destination? Since when? What changed? Never start troubleshooting without a clear definition.
ping 10.2.2.1 source 10.1.1.1traceroute 10.2.2.1Layer 1/2 چیک کریں۔ show ip interface brief سے دیکھیں کہ انٹرفیسز up/up ہیں۔ Down انٹرفیس کا مطلب ہے مسئلہ routing میں نہیں، فزیکل لنک میں ہے۔
Layer 1/2 check karein. show ip interface brief se dekhein ke interfaces up/up hain. Down interface ka matlab hai masla routing mein nahi, physical link mein hai.
Check Layer 1/2. Use show ip interface brief to confirm interfaces are up/up. A down interface means the problem is the physical link, not routing.
show ip interface briefRouting table چیک کریں۔ show ip route میں destination کا راستہ ہے؟ نہیں ہے تو مسئلہ route advertisement میں ہے۔ ہے مگر غلط next-hop ہے تو مسئلہ path selection میں ہے۔
Routing table check karein. show ip route mein destination ka rasta hai? Nahi hai to masla route advertisement mein hai. Hai magar ghalat next-hop hai to masla path selection mein hai.
Check the routing table. Is there a route to the destination in show ip route? If not, the problem is route advertisement. If yes but with the wrong next-hop, it's path selection.
show ip route 10.2.2.0show ip cef 10.2.2.1Protocol-specific چیک کریں۔ EIGRP: neighbors اور topology۔ OSPF: neighbor state اور database۔ BGP: summary state اور received routes۔ ہر protocol کی اپنی چیک لسٹ ہے۔
Protocol-specific check karein. EIGRP: neighbors aur topology. OSPF: neighbor state aur database. BGP: summary state aur received routes. Har protocol ki apni check list hai.
Check protocol specifics. EIGRP: neighbors and topology. OSPF: neighbor state and database. BGP: summary state and received routes. Each protocol has its own checklist.
show ip eigrp neighborsshow ip ospf neighborshow ip bgp summaryDebug احتیاط سے استعمال کریں۔ debug صرف اس وقت جب show سے بات نہ بنے۔ ہمیشہ debug کو محدود کریں (مثلاً debug ip ospf adj) اور کام ختم ہوتے ہی undebug all چلائیں۔
Debug ehtiyat se istemal karein. debug sirf us waqt jab show se baat na bane. Hamesha debug ko mehdood karein (masalan debug ip ospf adj) aur kaam khatm hote hi undebug all chalayein.
Use debug carefully. Debug only when show commands don't reveal the cause. Always scope debug (e.g. debug ip ospf adj) and run undebug all the moment you're done.
debug ip ospf adjundebug allحل دستاویز کریں۔ مسئلہ، وجہ، اور حل تین لائنوں میں لکھیں۔ یہی عادت آپ کو انٹرویو میں بھی کام آئے گی — انٹرویو لینے والا آپ کا سوچنے کا طریقہ دیکھنا چاہتا ہے۔
Hal dastavez karein. Masla, wajah, aur hal teen linon mein likhein. Yehi aadat aap ko interview mein bhi kaam aayegi — interview lene wala aap ka sochne ka tareeqa dekhna chahta hai.
Document the fix. Write the problem, cause, and fix in three lines. This habit helps in interviews too — the interviewer wants to see how you think.
show logging | include %جان بوجھ کر پیدا کی گئی خرابی اس طریقہ کار سے حل ہو جائے اور آپ ہر قدم کی وجہ بیان کر سکیں۔
Jaan boojh kar paida ki gayi kharabi is tareeqa-kar se hal ho jaye aur aap har qadam ki wajah bayan kar sakein.
The deliberately introduced fault should be resolved using this methodology, and you should be able to explain the reason for each step.
show ip interface briefshow ip routeshow logging