اس capstone میں آپ مکمل spine-leaf VXLAN/EVPN fabric بنائیں گے: 2 spines، 2 leaves، underlay OSPF، BGP EVPN اور end-to-end host connectivity۔
Is capstone mein aap mukammal spine-leaf VXLAN/EVPN fabric banayenge: 2 spines, 2 leaves, underlay OSPF, BGP EVPN aur end-to-end host connectivity.
In this capstone you will build a complete spine-leaf VXLAN/EVPN fabric: 2 spines, 2 leaves, underlay OSPF, BGP EVPN and end-to-end host connectivity.
یہ capstone پورے ماڈل ہوائی جہاز کو جوڑنے جیسا ہے: جو حصے آپ نے الگ الگ بنائے (NX-OS، vPC concepts، VXLAN، EVPN) اب ایک اڑتی ہوئی مشین میں جڑ جائیں گے۔ اگر ایک حصہ غلط ہوا تو نہیں اڑے گا — اس لیے ہر قدم پر تصدیق کرتے جائیں۔
Ye capstone poore model hawai jahaz ko jorne jaisa hai: jo hisse aap ne alag alag banaye (NX-OS, vPC concepts, VXLAN, EVPN) ab ek urte hue machine mein jur jayenge. Agar ek hissa ghalat hua to nahi urega — is liye har qadam par tasdeeq karte jayein.
This capstone is like assembling a full model airplane: every part you built separately (NX-OS, vPC concepts, VXLAN, EVPN) now clicks together into one flying machine. If one piece is wrong, it will not fly — so verify as you go.

EVE-NG میں: 2x Nexus spines (Spine-1، Spine-2) اور 2x Nexus leaves (Leaf-1، Leaf-2)۔ ہر leaf ہر spine سے جڑا ہو۔ Leaf-1 پر ایک host (VLAN 10) اور Leaf-2 پر ایک host (VLAN 10)۔
EVE-NG mein: 2x Nexus spines (Spine-1, Spine-2) aur 2x Nexus leaves (Leaf-1, Leaf-2). Har leaf har spine se jura ho. Leaf-1 par ek host (VLAN 10) aur Leaf-2 par ek host (VLAN 10).
In EVE-NG: 2x Nexus spines (Spine-1, Spine-2) and 2x Nexus leaves (Leaf-1, Leaf-2). Every leaf connects to every spine. One host on Leaf-1 (VLAN 10) and one on Leaf-2 (VLAN 10).
Topology plan: Leaf-1 loopback 10.1.1.1/32، Leaf-2 loopback 10.1.1.2/32، spines 10.2.2.1/32 اور 10.2.2.2/32۔ VNI 10010 VLAN 10 carry کرے گا۔ کسی ڈیوائس کو چھونے سے پہلے اسے بنا لیں۔
Topology plan: Leaf-1 loopback 10.1.1.1/32, Leaf-2 loopback 10.1.1.2/32, spines 10.2.2.1/32 aur 10.2.2.2/32. VNI 10010 VLAN 10 carry karega. Kisi device ko chhoone se pehle isay bana lein.
Topology plan: Leaf-1 loopback 10.1.1.1/32, Leaf-2 loopback 10.1.1.2/32, spines 10.2.2.1/32 and 10.2.2.2/32. VNI 10010 carries VLAN 10. Draw it before touching any device.
Leaf-1 کی بنیاد: hostname، overlay features اور OSPF میں loopback۔ Leaf-2 پر اس کا آئینہ (mirror) دہرائیں۔
Leaf-1 ki bunyad: hostname, overlay features aur OSPF mein loopback. Leaf-2 par is ka aaina (mirror) dohrayein.
Leaf-1 basics: hostname, overlay features and the loopback in OSPF. Repeat the mirror image on Leaf-2.
configure terminalhostname Leaf-1feature nv overlayfeature bgpfeature interface-vlaninterface loopback0ip address 10.1.1.1/32ip router ospf UNDERLAY area 0.0.0.0endLeaf-1 کے دونوں spines تک uplinks (routed interfaces)۔ تصدیق کریں کہ دونوں OSPF neighbors up آ گئے۔
Leaf-1 ke dono spines tak uplinks (routed interfaces). Tasdeeq karein ke dono OSPF neighbors up aa gaye.
Leaf-1 uplinks to both spines (routed interfaces). Confirm both OSPF neighbors come up.
configure terminalinterface ethernet 1/1no switchportip address 10.10.1.1/30ip router ospf UNDERLAY area 0.0.0.0no shutdowninterface ethernet 1/2no switchportip address 10.10.2.1/30ip router ospf UNDERLAY area 0.0.0.0no shutdownendshow ip ospf neighborsLeaf-1 سے دونوں spines تک BGP EVPN peering (دونوں leaves پر)۔ Spines route reflector کا کام کرتے ہیں۔
Leaf-1 se dono spines tak BGP EVPN peering (dono leaves par). Spines route reflector ka kaam karte hain.
BGP EVPN peering from Leaf-1 to both spines (on both leaves). The spines act as route reflectors.
configure terminalrouter bgp 65001neighbor 10.2.2.1 remote-as 65001update-source loopback0neighbor 10.2.2.2 remote-as 65001update-source loopback0address-family l2vpn evpnneighbor 10.2.2.1 activateneighbor 10.2.2.2 activatesend-community extendedexitexitendVNI/VLAN mapping، NVE tunnel اور SVI gateway (دونوں leaves پر)۔ چیک کریں کہ NVE peers بن گئے۔
VNI/VLAN mapping, NVE tunnel aur SVI gateway (dono leaves par). Check karein ke NVE peers ban gaye.
VNI/VLAN mapping, NVE tunnel and the SVI gateway (on both leaves). Check that NVE peers form.
configure terminalvlan 10vn-segment 10010exitinterface nve1no shutdownsource-interface loopback0member vni 10010 mcast-group 239.1.1.1exitinterface vlan 10ip address 192.168.10.1/24no shutdownendshow nve peersHosts connect کریں: ہر leaf پر VLAN 10 میں access ports۔ Hosts SVI (.1) کو اپنا gateway بنائیں۔
Hosts connect karein: har leaf par VLAN 10 mein access ports. Hosts SVI (.1) ko apna gateway banayein.
Connect the hosts: access ports in VLAN 10 on each leaf. Hosts use the SVI (.1) as their gateway.
configure terminalinterface ethernet 1/3switchport mode accessswitchport access vlan 10no shutdownendآخری control-plane check: دونوں spines تک BGP EVPN established، دونوں leaves پر VNIs programmed۔
Aakhri control-plane check: dono spines tak BGP EVPN established, dono leaves par VNIs programmed.
Final control-plane check: BGP EVPN established to both spines, VNIs programmed on both leaves.
show bgp l2vpn evpn summaryshow nve vniEnd-to-end test: Leaf-1 کے host سے Leaf-2 کے host کو ping کریں۔ یہ کام کرنا چاہیے باوجود اس کے کہ hosts الگ switches پر ہیں۔
End-to-end test: Leaf-1 ke host se Leaf-2 ke host ko ping karein. Ye kaam karna chahiye bawajood is ke ke hosts alag switches par hain.
End-to-end test: ping from the Leaf-1 host to the Leaf-2 host. It must work even though the hosts are on different switches.
Leaf-1 کا host Leaf-2 کے host کو کامیابی سے ping کرے، show nve peers میں دونوں leaves ہوں، اور show bgp l2vpn evpn summary میں sessions established نظر آئیں۔
Leaf-1 ka host Leaf-2 ke host ko kamyabi se ping kare, show nve peers mein dono leaves hon, aur show bgp l2vpn evpn summary mein sessions established nazar aayein.
The host on Leaf-1 pings the host on Leaf-2 successfully, show nve peers lists both leaves, and show bgp l2vpn evpn summary shows established sessions.
show nve peersshow bgp l2vpn evpn summary