📝 Section Review: Spine-Leaf & VXLAN
اہم نکاتKey TakeawaysKey Takeaways
- 3-tier میں سرور سے سرور تک چار hops؛ spine-leaf میں ہمیشہ دو hops اور ECMP load balancing۔3-tier mein server se server tak chaar hops; spine-leaf mein hamesha do hops aur ECMP load balancing.3-tier means four server-to-server hops; spine-leaf means always two hops with ECMP load balancing.
- NX-OS میں features ڈیفالٹ off ہوتے ہیں — configure کرنے سے پہلے انہیں enable کریں (feature vpc، feature lacp)۔NX-OS mein features default off hote hain — configure karne se pehle unhein enable karein (feature vpc, feature lacp).In NX-OS, features are off by default — enable them (feature vpc, feature lacp) before configuring.
- vPC دو switches کو ایک logical switch بنا دیتا ہے، جس سے STP loops کے بغیر active-active dual-homing ہوتی ہے۔vPC do switches ko ek logical switch bana deta hai, jis se STP loops ke baghair active-active dual-homing hoti hai.vPC makes two switches look like one logical switch, enabling active-active dual-homing without STP loops.
- vPC peer-link data/sync carry کرتا ہے؛ peer-keepalive صرف mgmt0 پر heartbeat ہے۔vPC peer-link data/sync carry karta hai; peer-keepalive sirf mgmt0 par heartbeat hai.The vPC peer-link carries data/sync; the peer-keepalive is only a heartbeat over mgmt0.
- VXLAN Layer 2 کو Layer 3 کے اوپر tunnel کرتا ہے 16 ملین VNIs کے ساتھ؛ BGP پر EVPN اس کا control plane ہے۔VXLAN Layer 2 ko Layer 3 ke upar tunnel karta hai 16 million VNIs ke saath; BGP par EVPN is ka control plane hai.VXLAN tunnels Layer 2 over Layer 3 with 16 million VNIs; EVPN over BGP is its control plane.
- Overlay کو چھونے سے پہلے ہمیشہ underlay (OSPF reachability) ٹھیک کریں۔Overlay ko chhoone se pehle hamesha underlay (OSPF reachability) theek karein.Fix the underlay (OSPF reachability) before ever touching the overlay.
خود جانچ (مشق)Self-Check (Practice)Self-Check (Practice)
یہ مشقی سوالات ہیں، امتحانی سوالات نہیں۔These are practice questions, not exam questions.These are practice questions, not exam questions.
❓ Spine-leaf fabric میں latency predictable کیوں ہے؟ (Practice سوال)Spine-leaf fabric mein latency predictable kyun hai? (Practice sawal)Why is latency predictable in a spine-leaf fabric? (Practice question)
کیونکہ ہر leaf ہر spine سے جڑا ہے، کوئی بھی سرور دوسرے سرور تک ہمیشہ دو hops (leaf → spine → leaf) میں پہنچتا ہے، اور ECMP ٹریفک کو برابر تقسیم کرتا ہے۔Kyunke har leaf har spine se jura hai, koi bhi server doosre server tak hamesha do hops (leaf → spine → leaf) mein pahunchta hai, aur ECMP traffic ko barabar taqseem karta hai.Because every leaf connects to every spine, any server reaches any other server in exactly two hops (leaf → spine → leaf), and ECMP balances traffic evenly.
❓ Nexus switch پر vPC configure کرنے سے پہلے سب سے پہلے کیا کرتے ہیں؟ (Practice سوال)Nexus switch par vPC configure karne se pehle sab se pehle kya karte hain? (Practice sawal)What is the first thing you do before configuring vPC on a Nexus switch? (Practice question)
NX-OS میں اکثر features ڈیفالٹ off ہوتے ہیں — انہیں پہلے feature command سے on کرنا پڑتا ہے، مثلاً 'feature vpc'۔NX-OS mein aksar features default off hote hain — unhein pehle feature command se on karna parta hai, masalan 'feature vpc'.In NX-OS most features are off by default — you must enable them first with the feature command, for example 'feature vpc'.
❓ VTEP کیا ہے اور یہ کہاں ہوتا ہے؟ (Practice سوال)VTEP kya hai aur ye kahan hota hai? (Practice sawal)What is a VTEP and where does it live? (Practice question)
VTEP VXLAN Tunnel Endpoint ہے — وہ ڈیوائس جو VXLAN traffic کو encapsulate اور decapsulate کرتا ہے۔ ہر leaf ایک VTEP ہے۔VTEP VXLAN Tunnel Endpoint hai — woh device jo VXLAN traffic ko encapsulate aur decapsulate karta hai. Har leaf ek VTEP hai.VTEP is the VXLAN Tunnel Endpoint — the device that encapsulates and decapsulates VXLAN traffic. Every leaf is a VTEP.
❓ آپ کا VXLAN ping fail ہو رہا ہے۔ کس ترتیب سے چیزیں چیک کریں گے؟ (Practice سوال)Aap ka VXLAN ping fail ho raha hai. Kis tarteeb se cheezein check karenge? (Practice sawal)Your VXLAN ping fails. What order do you check things in? (Practice question)
پہلے underlay: دور کے loopback کو ping کریں، OSPF neighbors confirm کریں۔ پھر NVE peers، پھر BGP EVPN session چیک کریں۔Pehle underlay: door ke loopback ko ping karein, OSPF neighbors confirm karein. Phir NVE peers, phir BGP EVPN session check karein.Underlay first: ping the remote loopback, confirm OSPF neighbors. Then check NVE peers, then the BGP EVPN session.