📝 Section Review: Infrastructure: Switching & Routing
اہم نکاتKey TakeawaysKey Takeaways
- STP فیملی: STP → RSTP → MST۔ STP اور RSTP ایک ٹوپولوجی کور کرتے ہیں؛ MST کئی VLANs کو چند instances پر میپ کرتا ہے۔ root bridge سوچ سمجھ کر لگائیں اور port roles (root/designated/blocked) یاد رکھیں۔STP family: STP → RSTP → MST. STP aur RSTP ek topology cover karte hain; MST kayi VLANs ko chand instances par map karta hai. Root bridge soch samajh kar lagayein aur port roles (root/designated/blocked) yaad rakhein.STP family: STP → RSTP → MST. STP and RSTP cover one topology; MST maps many VLANs to a few instances. Place the root bridge deliberately and know port roles (root/designated/blocked).
- VLANs براڈکاسٹ ڈومینز کو الگ کرتی ہیں؛ ٹرنکس انہیں 802.1Q ٹیگنگ سے لے جاتی ہیں۔ EtherChannel لنکس کو جوڑ کر بینڈوڈتھ بڑھاتا ہے (LACP، PAgP سے بہتر)۔VLANs broadcast domains ko alag karti hain; trunks unhein 802.1Q tagging se le jati hain. EtherChannel links ko jor kar bandwidth barhata hai (LACP, PAgP se behtar).VLANs segment broadcast domains; trunks carry them with 802.1Q tagging. EtherChannel bundles links for more bandwidth (LACP preferred over PAgP).
- FHRP گیٹ وے redundancy دیتا ہے: HSRP (active/standby، Cisco)، VRRP (open standard)، GLBP (لوڈ بیلنسنگ بھی)۔ timers اور preemption احتیاط سے tune کریں۔FHRP gateway redundancy deta hai: HSRP (active/standby, Cisco), VRRP (open standard), GLBP (load balancing bhi). Timers aur preemption ehtiyat se tune karein.FHRP provides gateway redundancy: HSRP (active/standby, Cisco), VRRP (open standard), GLBP (adds load balancing). Tune timers and preemption carefully.
- روٹنگ: OSPF areas اور LSAs استعمال کرتا ہے، براڈکاسٹ لنکس پر DR/BDR؛ EIGRP DUAL اور feasible successors؛ BGP best-path attributes سے پاتھ چنتا ہے۔ eBGP AS کے باہر، iBGP AS کے اندر۔Routing: OSPF areas aur LSAs use karta hai, broadcast links par DR/BDR; EIGRP DUAL aur feasible successors; BGP best-path attributes se path chunta hai. eBGP AS ke bahar, iBGP AS ke andar.Routing: OSPF uses areas and LSAs with DR/BDR on broadcast links; EIGRP uses DUAL with feasible successors; BGP selects paths with best-path attributes. eBGP is between ASes, iBGP inside one AS.
- redistribution protocols کے درمیان routes منتقل کرتی ہے۔ metrics سیٹ کریں، route-maps سے فلٹر کریں، اور loops سے بچنے کے لیے routes ٹیگ کریں۔Redistribution protocols ke darmiyan routes move karti hai. Metrics set karein, route-maps se filter karein, aur loops se bachne ke liye routes tag karein.Redistribution moves routes between protocols. Set metrics, filter with route-maps, and tag routes to avoid loops and suboptimal paths.
خود جانچ (مشق)Self-Check (Practice)Self-Check (Practice)
یہ مشقی سوالات ہیں، امتحانی سوالات نہیں۔These are practice questions, not exam questions.These are practice questions, not exam questions.
❓ STP کے مقابلے RSTP کی سب سے بڑی بہتری کیا ہے؟STP ke muqable RSTP ki sab se bari behtari kya hai?What is the key improvement of RSTP over STP?
RSTP بہت جلدی converge کرتا ہے: proposal/agreement میکانزم پرانے 30-50 سیکنڈ ٹائمرز کو بدل دیتا ہے۔RSTP boht jaldi converge karta hai: proposal/agreement mechanism purane 30-50 second timers ko replace kar deta hai.RSTP converges much faster: the proposal/agreement mechanism replaces the old 30-50 second timers.
❓ HSRP اور GLBP کا فرق بتائیں۔HSRP aur GLBP ka farq batayen.Compare HSRP and GLBP.
HSRP active/standby ہے (Cisco کا)؛ GLBP گیٹ ویز پر active-active لوڈ بیلنسنگ بھی دیتا ہے۔HSRP active/standby hai (Cisco ka); GLBP gateways par active-active load balancing bhi deta hai.HSRP is active/standby (Cisco proprietary); GLBP adds active-active load balancing across gateways.
❓ eBGP اور iBGP میں کیا فرق ہے؟eBGP aur iBGP mein kya farq hai?What is the difference between eBGP and iBGP?
eBGP الگ الگ AS کے درمیان چلتا ہے؛ iBGP ایک ہی AS کے اندر اور اکثر full mesh یا route reflectors چاہیے۔eBGP alag alag AS ke darmiyan chalta hai; iBGP ek hi AS ke andar aur aksar full mesh ya route reflectors chahiye.eBGP runs between autonomous systems; iBGP runs within one AS and usually needs a full mesh or route reflectors.
❓ redistribution کے وقت routes ٹیگ کیوں کرتے ہیں؟Redistribution ke waqt routes tag kyun karte hain?Why tag routes during redistribution?
redistribute کی گئی routes کی پہچان اور protocols کے درمیان feedback loops روکنے کے لیے۔Redistribute ki gayi routes ki pehchan aur protocols ke darmiyan feedback loops rokne ke liye.To identify redistributed routes and prevent feedback loops between protocols.