EtherChannel with LACP
CCNA 200-301 v2.0 · Live Feb 3, 2027 (v1.1 valid through Feb 2, 2027) Cisco Packet Tracer
مقصدObjectiveObjective
اس لیب میں آپ EtherChannel بنانا سیکھیں گے — LACP سے دو فزیکل لنکس کو جوڑ کر ایک logical لنک بنانا، بینڈوتھ اور redundancy کے لیے۔Is lab mein aap EtherChannel banana seekhenge — LACP se do physical links ko jor kar ek logical link banana, bandwidth aur redundancy ke liye.In this lab, you'll learn to build an EtherChannel — joining two physical links into one logical link with LACP, for bandwidth and redundancy.
آسان مثالSimple AnalogySimple Analogy
دو شہروں کے درمیان ایک پتلی گلی ہے جہاں ٹریفک پھنس جاتا ہے۔ EtherChannel کا مطلب اس گلی کے ساتھ 2-4 اور گلیاں جوڑ کر ایک چوڑی سڑک بنا دینا — بینڈوتھ بڑھ جاتی ہے اور ایک گلی بند ہو تو باقی چلتی رہتی ہیں۔ LACP وہ پروٹوکول ہے جو دونوں طرف کے شہروں کو کہتا ہے: 'چلو، مل کر یہ گلیاں جوڑتے ہیں' — automatically negotiate کرتا ہے۔Do shehron ke darmiyan ek patli gali hai jahan traffic phans jata hai. EtherChannel ka matlab us gali ke saath 2-4 aur galiyan jor kar ek chauraha (wide road) bana dena — bandwidth barh jati hai aur ek gali band ho to baqi chalti rehti hain. LACP woh protocol hai jo dono taraf ke shehron ko kehta hai: 'chalo, mil kar ye galiyan jorte hain' — automatically negotiate karta hai.There's a narrow lane between two cities where traffic gets stuck. EtherChannel means joining 2-4 more lanes to it to make one wide road — bandwidth increases, and if one lane closes, the rest keep running. LACP is the protocol that tells both sides: 'Come on, let's join these lanes together' — it negotiates automatically.
سیٹ اپLab SetupLab Setup
SW1 کے Fa0/1-2، SW2 کے Fa0/1-2 سے کنیکٹڈ (دو parallel لنکس)۔ PCs Fa0/3 پر ہیں۔ ڈیوائسز: 2x سوئچ 2960 (SW1، SW2)، 2x پی سی۔ PC1: 192.168.10.10/24، PC2: 192.168.10.11/24۔ دونوں VLAN 10 میں۔SW1 ke Fa0/1-2, SW2 ke Fa0/1-2 se connected (do parallel links). PCs Fa0/3 par hain. Devices: 2x Switch 2960 (SW1, SW2), 2x PC PC1: 192.168.10.10/24, PC2: 192.168.10.11/24. Dono VLAN 10 mein.SW1's Fa0/1-2 connect to SW2's Fa0/1-2 (two parallel links). PCs are on Fa0/3. Devices: 2x Switch 2960 (SW1, SW2), 2x PCs. PC1: 192.168.10.10/24, PC2: 192.168.10.11/24. Both in VLAN 10.
اقداماتStepsSteps
Step 1
SW1 پر LACP EtherChannel۔ Fa0/1-2 کو channel-group 1 میں ڈالتے ہیں۔SW1 par LACP EtherChannel. Fa0/1-2 ko channel-group 1 mein daalte hain.LACP EtherChannel on SW1. We put Fa0/1-2 into channel-group 1.
enable configure terminal interface range fa0/1 - 2 channel-group 1 mode active exit
Step 2
mode active کا مطلب LACP negotiate کرے گا۔ پھر port-channel انٹرفیس پر ٹرنک لگاتے ہیں — کنفگ port-channel پر لگتی ہے، individual پورٹس پر نہیں۔Mode active ka matlab LACP negotiate karega. Phir port-channel interface par trunk lagate hain — config port-channel par lagti hai, individual ports par nahi.Mode active means LACP will negotiate. Then we apply the trunk on the port-channel interface — config goes on the port-channel, not on individual ports.
interface port-channel 1 switchport mode trunk exit
Step 3
SW2 پر same EtherChannel۔ دوسری طرف بھی same گروپ نمبر اور same موڈ۔SW2 par same EtherChannel. Doosri taraf bhi same group number aur same mode.The same EtherChannel on SW2. Same group number and same mode on the other side.
enable configure terminal interface range fa0/1 - 2 channel-group 1 mode active exit
Step 4
دونوں طرف active ہو تو LACP خود negotiate کر لے گا۔ یاد رکھو: دونوں طرف کے پورٹس کی speed/duplex/VLAN same ہونی چاہیے۔Dono taraf active ho to LACP khud negotiate kar lega. Yaad rakho: dono taraf ke ports ki speed/duplex/VLAN same honi chahiye.If both sides are active, LACP will negotiate by itself. Remember: speed/duplex/VLAN must be the same on both sides' ports.
interface port-channel 1 switchport mode trunk exit
Step 5
ٹیسٹنگ: PC1 سے PC2 کو پنگ کرو۔Testing: PC1 se PC2 ko ping karo.Testing: ping PC2 from PC1.
Step 6
پھر ایک کیبل (Fa0/1) نکالو — پنگ چلتا رہنا چاہیے کیونکہ دوسرا لنک بیک اپ ہے۔ show etherchannel summary سے members دیکھو۔Phir ek cable (Fa0/1) nikalo — ping chalta rehna chahiye kyunke doosra link backup hai. show etherchannel summary se members dekho.Then remove one cable (Fa0/1) — ping should keep working because the other link is the backup. Check the members with show etherchannel summary.
تصدیقVerifyVerify
show etherchannel summary سے چینل اسٹیٹس دیکھو۔ show interfaces port-channel 1 سے ڈیٹیل نکالو۔show etherchannel summary se channel status dekho. show interfaces port-channel 1 se detail nikalo.Check the channel status with show etherchannel summary. Get details with show interfaces port-channel 1.
show etherchannel summary show interfaces port-channel 1
خرابی دور کرناTroubleshootingTroubleshooting
⚠️ EtherChannel بن نہیں رہا، پورٹس الگ الگ ہیں۔EtherChannel ban nahi raha, ports alag alag hain.The EtherChannel won't form — the ports stay separate.
✅ دونوں طرف same موڈ ہونا چاہیے: active-active یا active-passive۔ ایک طرف 'on' اور دوسری طرف 'active' نہیں چلے گا۔Dono taraf same mode hona chahiye: active-active ya active-passive. Ek taraf 'on' aur doosri taraf 'active' nahi chalega.Both sides must have the same mode: active-active or active-passive. 'on' on one side and 'active' on the other won't work.
⚠️ ایک پورٹ چینل میں نہیں آ رہا۔Ek port channel mein nahi aa raha.One port won't join the channel.
✅ چینل کے تمام پورٹس کی speed، duplex اور VLAN کنفگ same ہونی چاہیے۔ غلط پورٹ کو ٹھیک کرو۔Channel ke tamam ports ki speed, duplex aur VLAN config same honi chahiye. Ghalat port ko theek karo.All ports in the channel must have the same speed, duplex, and VLAN config. Fix the wrong port.
انٹرویو سوالاتInterview Q&AInterview Q&A
❓ LACP اور PAgP میں فرق؟LACP aur PAgP mein farq?What's the difference between LACP and PAgP?
LACP (802.3ad) open standard ہے، PAgP Cisco کا proprietary ہے۔ دونوں طرف same پروٹوکول ہونا چاہیے۔ ایگزام میں LACP پر زور ہے۔LACP (802.3ad) open standard hai, PAgP Cisco ka proprietary hai. Dono taraf same protocol hona chahiye. Exam mein LACP par zor hai.LACP (802.3ad) is an open standard; PAgP is Cisco proprietary. Both sides must use the same protocol. The exam emphasizes LACP.