EIGRP Advanced: Metrics, Authentication & Troubleshooting
CCNP ENARSI 300-410 EVE-NG / GNS3
مقصدObjectiveObjective
اس لیب میں آپ EIGRP کے K-values، میٹرک کیلکولیشن، MD5 authentication، اور stuck-in-active مسئلے کی تشخیص سیکھیں گے۔Is lab mein aap EIGRP ke K-values, metric calculation, MD5 authentication, aur stuck-in-active masle ki tashkhees seekhenge.In this lab you will learn EIGRP K-values, metric calculation, MD5 authentication, and how to diagnose the stuck-in-active problem.
آسان مثالSimple AnalogySimple Analogy
K-values ایسے ہیں جیسے راستے کے انتخاب میں وزن کے پیمانے — کون سا عنصر (بینڈ وڈتھ، ڈیلے) کتنا اہم ہے۔ Stuck-in-active اس صورتحال جیسی ہے جب خبر پھیلانے والا جواب کا انتظار کرتے کرتے پھنس جائے کیونکہ کوئی ہمسایہ جواب ہی نہیں دے رہا۔K-values aise hain jaise raste ke intekhab mein wazan ke paimane — kaun sa unsar (bandwidth, delay) kitna ahem hai. Stuck-in-active us soorat-e-haal jaisi hai jab khabar phelane wala jawab ka intezar karte karte phans jaye kyunke koi hamsaya jawab hi nahi de raha.K-values are like weight scales in route selection — how important each factor (bandwidth, delay) is. Stuck-in-active is like a messenger stuck waiting for a reply because a neighbor never answers.
سیٹ اپLab SetupLab Setup
تین راؤٹرز کی لائن ٹوپولوجی: R1—R2—R3۔ تمام لنکس پر EIGRP AS 100 نیمڈ موڈ میں چل رہا ہے (پچھلی لیب کی طرح)۔ R3 کے پیچھے LAN 10.3.3.0/24 ہے۔Teen routers ki line topology: R1—R2—R3. Tamam links par EIGRP AS 100 named mode mein chal raha hai (pichli lab ki tarah). R3 ke peeche LAN 10.3.3.0/24 hai.Three-router line topology: R1—R2—R3. EIGRP AS 100 named mode runs on all links (as in the previous lab). LAN 10.3.3.0/24 sits behind R3.
اقداماتStepsSteps
Step 1
ڈیفالٹ K-values دیکھیں۔ show eigrp address-family ipv4 protocols سے K1 تا K5 کی قدریں دیکھیں۔ ڈیفالٹ میں صرف K1 (بینڈ وڈتھ) اور K3 (ڈیلے) = 1 ہوتے ہیں، باقی صفر۔Default K-values dekhein. show eigrp address-family ipv4 protocols se K1 ta K5 ki qadrein dekhein. Default mein sirf K1 (bandwidth) aur K3 (delay) = 1 hote hain, baqi zero.View the default K-values. show eigrp address-family ipv4 protocols shows K1–K5. By default only K1 (bandwidth) and K3 (delay) = 1, the rest are zero.
show eigrp address-family ipv4 protocols
Step 2
میٹرک اجزاء سمجھیں۔ EIGRP میٹرک = 256 × (10^7 / min-bandwidth + total-delay/10)۔ یعنی سب سے کم بینڈ وڈتھ اور مجموعی ڈیلے راستے کا میٹرک طے کرتے ہیں۔Metric ajza samjhein. EIGRP metric = 256 × (10^7 / min-bandwidth + total-delay/10). Yani sab se kam bandwidth aur majmooi delay raste ka metric tay karte hain.Understand the metric components. EIGRP metric = 256 × (10^7 / min-bandwidth + total-delay/10). The slowest bandwidth and total delay along the path decide the metric.
show eigrp address-family ipv4 topology 10.3.3.0/24
Step 3
MD5 authentication لگائیں۔ پہلے key chain بنائیں، پھر انٹرفیس پر authentication mode md5 لگائیں۔ دونوں طرف key string ایک جیسی ہونی چاہیے۔MD5 authentication lagayein. Pehle key chain banayein, phir interface par authentication mode md5 lagayein. Dono taraf key string ek jaisi honi chahiye.Configure MD5 authentication. First create a key chain, then set authentication mode md5 on the interface. The key string must match on both sides.
configure terminal key chain EIGRP-KEY key 1 key-string P@ssw0rd123 exit exit interface GigabitEthernet0/0 authentication mode md5 authentication key-chain eigrp LAB 100 EIGRP-KEY exit
Step 4
دوسرے راؤٹر پر بھی وہی key chain اور authentication لگائیں۔ پھر show eigrp address-family ipv4 neighbors سے تصدیق کریں کہ نیبر شپ دوبارہ قائم ہو گئی۔Doosre router par bhi wohi key chain aur authentication lagayein. Phir show eigrp address-family ipv4 neighbors se tasdeeq karein ke neighbor ship dobara qaim ho gayi.Apply the same key chain and authentication on the other router. Then verify with show eigrp address-family ipv4 neighbors that neighborship re-establishes.
show eigrp address-family ipv4 neighbors
Step 5
Stuck-in-active (SIA) سمجھیں۔ جب کوئی راؤٹر راستہ کھو دے اور query کا جواب نہ ملے تو SIA-Query بھیجتا ہے؛ جواب نہ آنے پر نیبر شپ reset ہو جاتی ہے۔ SIA عام طور پر خراب لنک یا overloaded راؤٹر کی علامت ہے۔Stuck-in-active (SIA) samjhein. Jab koi router rasta kho de aur query ka jawab na mile to SIA-Query bhejta hai; jawab na aane par neighbor ship reset ho jati hai. SIA aam tor par kharab link ya overloaded router ki alamat hai.Understand stuck-in-active (SIA). When a router loses a route and gets no query reply, it sends SIA-Query; with no reply the neighborship resets. SIA usually signals a bad link or an overloaded router.
show eigrp address-family ipv4 traffic show eigrp address-family ipv4 topology active
Step 6
SIA ٹائمرز ٹیون کرنا سیکھیں۔ active-time کو بڑھانا یا SIA-Query/Reply کو disable کرنا صرف عارضی حل ہے — اصل مسئلہ (لنک، CPU، میموری) حل کرنا بہتر ہے۔SIA timers tune karna seekhein. Active-time ko barhana ya SIA-Query/Reply ko disable karna sirf aarzi hal hai — asal masla (link, CPU, memory) hal karna behtar hai.Learn SIA timer tuning. Raising the active-time or disabling SIA-Query/Reply is only a band-aid — fixing the real cause (link, CPU, memory) is better.
configure terminal router eigrp LAB address-family ipv4 unicast autonomous-system 100 timers active-time 5 exit-address-family exit
تصدیقVerifyVerify
show eigrp address-family ipv4 neighbors میں نیبر up نظر آئے، show ip protocols میں K-values ڈیفالٹ ہوں، اور authentication لگنے کے بعد بھی ping کامیاب ہو۔show eigrp address-family ipv4 neighbors mein neighbor up nazar aaye, show ip protocols mein K-values default hon, aur authentication lagne ke baad bhi ping kamyab ho.show eigrp address-family ipv4 neighbors should show the neighbor up, show ip protocols should show default K-values, and ping should still succeed after authentication is applied.
show eigrp address-family ipv4 neighbors show ip protocols
خرابی دور کرناTroubleshootingTroubleshooting
⚠️ Authentication لگانے کے بعد نیبر down ہو گیا۔Authentication lagane ke baad neighbor down ho gaya.Neighbor went down after applying authentication.
✅ دونوں طرف key-string ایک جیسی چیک کریں، key chain کا نام اور key number بھی۔ debug eigrp packets سے دیکھیں کہ MD5 mismatch آ رہا ہے یا نہیں۔Dono taraf key-string ek jaisi check karein, key chain ka naam aur key number bhi. debug eigrp packets se dekhein ke MD5 mismatch aa raha hai ya nahi.Verify the key-string matches on both sides, plus key chain name and key number. Use debug eigrp packets to check for MD5 mismatch.
⚠️ SIA پیغامات لاگ میں بار بار آ رہے ہیں۔SIA paighamat log mein baar baar aa rahe hain.SIA messages keep appearing in the log.
✅ لنک کوالٹی، انٹرفیس errors، اور راؤٹر کا CPU/میموری چیک کریں۔ Query domain چھوٹی کریں — summarization یا stub EIGRP استعمال کریں۔Link quality, interface errors, aur router ka CPU/memory check karein. Query domain chhoti karein — summarization ya stub EIGRP istemal karein.Check link quality, interface errors, and router CPU/memory. Shrink the query domain — use summarization or EIGRP stub.
⚠️ K-values بدلنے کے بعد تمام نیبرز down ہو گئے۔K-values badalne ke baad tamam neighbors down ho gaye.All neighbors went down after changing K-values.
✅ K-values نیبرز کے درمیان ایک جیسے ہونے ضروری ہیں۔ جس راؤٹر پر بدلے، دوسرے پر بھی وہی قدریں لگائیں، پھر نیبر شپ دوبارہ بنے گی۔K-values neighbors ke darmiyan ek jaise hone zaroori hain. Jis router par badle, doosre par bhi wohi qadrein lagayein, phir neighbor ship dobara banegi.K-values must match between neighbors. Apply the same values on the other router and neighborship will reform.
انٹرویو سوالاتInterview Q&AInterview Q&A
❓ EIGRP میں K-values کیا ہیں اور ڈیفالٹ کون سے ہیں؟EIGRP mein K-values kya hain aur default kaun se hain?What are EIGRP K-values and which are on by default?
K-values میٹرک کے وزن ہیں: K1=بینڈ وڈتھ، K2=لوڈ، K3=ڈیلے، K4=ریلائیبلٹی، K5=MTU۔ ڈیفالٹ صرف K1 اور K3 آن ہوتے ہیں۔ نیبرز پر ایک جیسے ہونے ضروری ہیں۔K-values metric ke wazan hain: K1=bandwidth, K2=load, K3=delay, K4=reliability, K5=MTU. Default sirf K1 aur K3 on hote hain. Neighbors par ek jaise hone zaroori hain.K-values are metric weights: K1=bandwidth, K2=load, K3=delay, K4=reliability, K5=MTU. Only K1 and K3 are on by default. They must match between neighbors.
❓ Stuck-in-active کیا ہے اور اس کی عام وجوہات کیا ہیں؟Stuck-in-active kya hai aur is ki aam wajuhaat kya hain?What is stuck-in-active and what commonly causes it?
جب query کا جواب مقررہ وقت میں نہ آئے تو راؤٹر active حالت میں پھنس جاتا ہے۔ وجوہات: خراب/سست لنک، زیادہ CPU یا میموری استعمال، یا بہت بڑی query domain۔Jab query ka jawab muqarrar waqt mein na aaye to router active haalat mein phans jata hai. Wajuhaat: kharab/sust link, zyada CPU ya memory istemal, ya bohat bari query domain.When a query gets no reply in time, the router gets stuck in active state. Causes: bad/slow link, high CPU or memory usage, or too large a query domain.