اس lab میں آپ Nexus پر VXLAN/EVPN کی بنیاد configure کریں گے: NVE interface، VNI mapping اور EVPN control plane۔
Is lab mein aap Nexus par VXLAN/EVPN ki bunyad configure karenge: NVE interface, VNI mapping aur EVPN control plane.
In this lab you will configure the basics of VXLAN/EVPN on Nexus: NVE interface, VNI mapping and the EVPN control plane.
Underlay کو شاہراہ اور overlay (VXLAN) کو اس پر چلنے والے ڈھکے ہوئے ٹرک سمجھیں۔ شاہراہ کو یہ جاننے کی ضرورت نہیں کہ ٹرک کے اندر کیا ہے — loading اور unloading کا کام VTEP کرتا ہے۔
Underlay ko shahrah aur overlay (VXLAN) ko is par chalne wale dhake hue truck samajhein. Shahrah ko ye jaanne ki zaroorat nahi ke truck ke andar kya hai — loading aur unloading ka kaam VTEP karta hai.
Think of the underlay as the highway and the overlay (VXLAN) as covered trucks driving on it. The highway does not need to know what is inside the trucks — the VTEPs handle loading and unloading.

EVE-NG میں: 1x spine کے ذریعے جڑے 2x Nexus 9000v leaves (Leaf-1، Leaf-2)۔ Underlay reachability OSPF یا static routes سے۔ ہر leaf پر Loopback0۔
EVE-NG mein: 1x spine ke zariye jure 2x Nexus 9000v leaves (Leaf-1, Leaf-2). Underlay reachability OSPF ya static routes se. Har leaf par Loopback0.
In EVE-NG: 2x Nexus 9000v leaves (Leaf-1, Leaf-2) connected through 1x spine. Underlay reachability via OSPF or static routes. Loopback0 on each leaf.
Overlay features enable کریں (دونوں leaves پر)۔ nv overlay VXLAN data plane دیتا ہے، اور bgp EVPN control plane۔
Overlay features enable karein (dono leaves par). nv overlay VXLAN data plane deta hai, aur bgp EVPN control plane.
Enable the overlay features (on both leaves). nv overlay brings the VXLAN data plane, and bgp brings the EVPN control plane.
configure terminalfeature nv overlayfeature bgpendshow feature | include nvہر leaf کو loopback0 دیں (Leaf-1 پر 10.1.1.1/32، Leaf-2 پر 10.1.1.2/32)۔ یہ OSPF میں VTEP کا source address بنے گا۔
Har leaf ko loopback0 dein (Leaf-1 par 10.1.1.1/32, Leaf-2 par 10.1.1.2/32). Ye OSPF mein VTEP ka source address banega.
Give each leaf a loopback0 (10.1.1.1/32 on Leaf-1, 10.1.1.2/32 on Leaf-2). This will become the VTEP source address in OSPF.
configure terminalinterface loopback0ip address 10.1.1.1/32ip router ospf UNDERLAY area 0.0.0.0endSpine (10.2.2.2) کی طرف BGP EVPN peering configure کریں۔ l2vpn evpn address-family MAC/IP routes carry کرتی ہے۔
Spine (10.2.2.2) ki taraf BGP EVPN peering configure karein. l2vpn evpn address-family MAC/IP routes carry karti hai.
Configure BGP EVPN peering toward the spine (10.2.2.2). The l2vpn evpn address family is what carries MAC/IP routes.
configure terminalrouter bgp 65001neighbor 10.2.2.2 remote-as 65001update-source loopback0address-family l2vpn evpnneighbor 10.2.2.2 activatesend-community extendedexitexitendVLAN 10 کو VNI 10010 سے map کریں (دونوں leaves پر)۔ یہ Layer 2 VLAN کو VXLAN segment سے جوڑتا ہے۔
VLAN 10 ko VNI 10010 se map karein (dono leaves par). Ye Layer 2 VLAN ko VXLAN segment se jorta hai.
Map VLAN 10 to VNI 10010 (on both leaves). This links the Layer 2 VLAN to the VXLAN segment.
configure terminalvlan 10vn-segment 10010exitendNVE interface بنائیں — یہ tunnel کا endpoint ہے۔ اسے loopback0 کی طرف point کریں اور VNI کو multicast group کے ساتھ جوڑیں۔
NVE interface banayein — ye tunnel ka endpoint hai. Isay loopback0 ki taraf point karein aur VNI ko multicast group ke saath jorein.
Create the NVE interface — the tunnel endpoint. Point it at loopback0 and attach the VNI with its multicast group.
configure terminalinterface nve1no shutdownsource-interface loopback0member vni 10010 mcast-group 239.1.1.1endshow nve vniVLAN 10 کے لیے SVI gateway لگائیں تاکہ اس segment کے hosts کو default gateway مل سکے۔
VLAN 10 ke liye SVI gateway lagayein taake is segment ke hosts ko default gateway mil sake.
Add an SVI gateway for VLAN 10 so hosts in the segment have a default gateway.
configure terminalinterface vlan 10ip address 192.168.10.1/24no shutdownendتصدیق کریں: NVE peers نظر آنے چاہئیں اور BGP EVPN session established ہونا چاہیے۔
Tasdeeq karein: NVE peers nazar aane chahiyein aur BGP EVPN session established hona chahiye.
Verify: NVE peers should appear and the BGP EVPN session should be established.
show nve peersshow bgp l2vpn evpn summaryshow nve peers میں دور کا leaf نظر آنا چاہیے، اور show bgp l2vpn evpn summary میں neighbor established ہونا چاہیے۔
show nve peers mein door ka leaf nazar aana chahiye, aur show bgp l2vpn evpn summary mein neighbor established hona chahiye.
show nve peers must list the remote leaf, and show bgp l2vpn evpn summary must show the neighbor as established.
show nve peersshow bgp l2vpn evpn summary