📝 Section Review: BGP
اہم نکاتKey TakeawaysKey Takeaways
- Best-path ترتیب fixed ہے — پہلے weight، پھر local-pref، پھر چھوٹا AS-path، پھر کم MED۔Best-path tarteeb fixed hai — pehle weight, phir local-pref, phir chhota AS-path, phir kam MED.Best-path order is fixed — weight first, then local-pref, then shortest AS-path, then lowest MED.
- Route reflectors iBGP full-mesh scaling کا حل ہیں — ایک RR clients کو reflect کرتا ہے۔Route reflectors iBGP full-mesh scaling ka hal hain — ek RR clients ko reflect karta hai.Route reflectors solve iBGP full-mesh scaling — one RR reflects to clients.
- Prefix-lists BGP updates فلٹر کرتی ہیں؛ communities دور کے راؤٹرز کو labeled راستوں پر عمل کرنے دیتی ہیں۔Prefix-lists BGP updates filter karti hain; communities door ke routers ko labeled raston par amal karne deti hain.Prefix-lists filter BGP updates; communities let distant routers act on labeled routes.
- MED کا موازنہ صرف ایک ہی پڑوسی AS سے آئے راستوں میں ہوتا ہے۔MED ka mawazna sirf ek hi parosi AS se aaye raston mein hota hai.MED is only compared between routes from the same neighboring AS.
- پالیسی تبدیل کرنے کے بعد ہمیشہ BGP soft-clear کریں ورنہ پرانے راستے پرانے attributes رکھیں گے۔Policy tabdeel karne ke baad hamesha BGP soft-clear karein warna purane raste purane attributes rakhenge.Always soft-clear BGP after policy changes or old routes keep old attributes.
خود جانچ (مشق)Self-Check (Practice)Self-Check (Practice)
یہ مشقی سوالات ہیں، امتحانی سوالات نہیں۔These are practice questions, not exam questions.These are practice questions, not exam questions.
❓ BGP best-path کے مراحل ترتیب سے لکھیں۔BGP best-path ke marahil tarteeb se likhein.List the BGP best-path steps in order.
Weight → Local-pref → locally originated → AS-path length → origin → MED → eBGP over iBGP → IGP metric → router-ID۔Weight → Local-pref → locally originated → AS-path length → origin → MED → eBGP over iBGP → IGP metric → router-ID.Weight → Local-pref → locally originated → AS-path length → origin → MED → eBGP over iBGP → IGP metric → router-ID.
❓ Attribute بدلا مگر best path وہی رہا — کیوں؟Attribute badla magar best path wohi raha — kyun?Attribute changed but best path stays the same — why?
آپ clear ip bgp * soft کرنا بھول گئے — نئی پالیسی پرانے راستوں پر لاگو نہیں ہوئی۔Aap clear ip bgp * soft karna bhool gaye — nayi policy purane raston par lagu nahi hui.You forgot clear ip bgp * soft — the new policy wasn't applied to existing routes.
❓ Weight کتنی دور جاتی ہے؟ Local-pref کتنی دور جاتی ہے؟Weight kitni door jati hai? Local-pref kitni door jati hai?How far does weight travel? How far does local-pref travel?
صرف مقابلے میں — کبھی advertise نہیں ہوتی۔ Local-pref iBGP کے ذریعے پورے AS میں پھیلتی ہے۔Sirf muqabla mein — kabhi advertise nahi hoti. Local-pref iBGP ke zariye poore AS mein phelti hai.Only in comparison — never advertised. Local-pref spreads across the AS via iBGP.
❓ راؤٹر کو client کے لیے route reflector بنانے کا کمانڈ کیا ہے؟Router ko client ke liye route reflector banane ka command kya hai?Which command turns a router into a route reflector for a client?
RR پر ہر client نیبر کے لیے neighbor route-reflector-client۔RR par har client neighbor ke liye neighbor route-reflector-client.neighbor route-reflector-client on the RR for each client neighbor.