Versa: Workflows, Device Groups & Templates

SD-WAN — Cisco Catalyst SD-WAN + Versa SD-WAN EVE-NG — vendor VMs

مقصدObjectiveObjective

اس لیب میں آپ Versa Director میں device group بنائیں گے، device template تیار کریں گے، staging workflow چلائیں گے اور برانچ CPE کو online لائیں گے۔Is lab mein aap Versa Director mein device group banayenge, device template tayyar karenge, staging workflow chalayenge aur branch CPE ko online layenge.In this lab you will create a device group in Versa Director, build a device template, run the staging workflow and bring a branch CPE online.

آسان مثالSimple AnalogySimple Analogy

ہوٹل check-in کی طرح: آپ کمرے کی قسم reserve کرتے ہیں (device group)، reception کے پاس checklist ہوتی ہے (workflow)، اور کمرہ standard catalog سے سجا ہوتا ہے (template)۔ ہر دفعہ کمرہ scratch سے نہیں بنتا۔Hotel check-in ki tarah: aap kamre ki qisam reserve karte hain (device group), reception ke paas checklist hoti hai (workflow), aur kamra standard catalog se saja hota hai (template). Har dafa kamra scratch se nahi banta.Like a hotel check-in: you reserve a room type (device group), the front desk has a checklist (workflow), and the room is furnished from a standard catalog (template). You don't build the room from scratch each time.

سیٹ اپLab SetupLab Setup

EVE-NG میں Versa Director اور ایک Controller up ہیں؛ برانچ CPE appliance on ہے جس میں Director کی طرف اشارہ کرتی staging config ہے۔ دو WAN links: MPLS اور Internet۔EVE-NG mein Versa Director aur aik Controller up hain; branch CPE appliance on hai jismein Director ki taraf ishara karti staging config hai. Do WAN links: MPLS aur Internet.Versa Director and one Controller are up in EVE-NG; one branch CPE appliance is powered on with a staging config pointing at the Director. Two WAN links: MPLS and Internet.

اقداماتStepsSteps

Step 1

ایک device group بنائیں، مثال 'Branch-Small'، اور بتائیں کہ یہ کس organization اور region سے ہے۔ یہ گروپ برانچ template حاصل کرے گا۔Aik device group banayen, misal 'Branch-Small', aur batayen ke ye kis organization aur region se hai. Ye group branch template hasil karega.Create a device group, e.g. 'Branch-Small', and define which organization and region it belongs to. This group will receive the branch template.

🖱️ ڈیوائس گروپ بنانے کا راستہDevice group banane ka raastaDirector > Devices > Device Groups > Create

Step 2

Device template بنائیں: WAN interfaces (MPLS + Internet)، LAN interface، routing instance اور basic services۔ ہر برانچ کی اپنی values (IPs، hostnames) کو variables بنائیں۔Device template banayen: WAN interfaces (MPLS + Internet), LAN interface, routing instance aur basic services. Har branch ki apni values (IPs, hostnames) ko variables banayen.Build the device template: WAN interfaces (MPLS + Internet), LAN interface, routing instance and basic services. Mark per-branch values (IPs, hostnames) as variables.

🖱️ ڈیوائس template بنانے کا راستہDevice template banane ka raastaDirector > Configuration > Templates > Device Template

Step 3

نئے CPE کے لیے staging workflow چلائیں: serial number لکھیں، Branch-Small گروپ میں ڈالیں اور device template bind کریں۔ Workflow ہر قدم کی تصدیق کرتا ہے۔Naye CPE ke liye staging workflow chalayen: serial number likhen, Branch-Small group mein dalen aur device template bind karen. Workflow har qadam ki tasdeeq karta hai.Run the staging workflow for the new CPE: enter its serial number, assign it to the Branch-Small group, and bind the device template. The workflow validates each step.

🖱️ Staging workflow چلانے کا راستہStaging workflow chalane ka raastaDirector > Workflows > Device Staging

Step 4

CPE پر configuration deploy کریں۔ Task status دیکھیں — staged سے deployed، پھر in-sync ہونا چاہیے۔CPE par configuration deploy karen. Task status dekhen — staged se deployed, phir in-sync hona chahiye.Deploy the configuration to the CPE. Watch the task status — it should move from staged to deployed to in-sync.

🖱️ Configuration deploy کرنے کا راستہConfiguration deploy karne ka raastaDirector > Devices > CPE > Deploy Configuration

Step 5

تصدیق کریں کہ CPE Director پر reachable اور in-sync نظر آتا ہے، دونوں WAN links up ہیں اور دوسری برانچ تک overlay tunnels قائم ہیں۔Tasdeeq karen ke CPE Director par reachable aur in-sync nazar aata hai, donon WAN links up hain aur doosri branch tak overlay tunnels qaim hain.Verify the CPE shows as reachable and in-sync on the Director, with both WAN links up and the overlay tunnels established to the other branch.

🖱️ CPE کی حالت دیکھنے کا راستہCPE ki haalat dekhne ka raastaDirector > Monitor > Devices (CPE status)

تصدیقVerifyVerify

Director پر CPE reachable اور in-sync ہونا چاہیے اور دونوں WAN links up ہوں۔ دوسرا CPE اسی گروپ میں ڈالیں اور تصدیق کریں کہ اسے template مل گیا۔Director par CPE reachable aur in-sync hona chahiye aur donon WAN links up hon. Doosra CPE isi group mein dalen aur tasdeeq karen ke use template mil gaya.On the Director the CPE must show reachable and in-sync, and both WAN links must be up. Add a second CPE to the same group and confirm it inherits the template.

خرابی دور کرناTroubleshootingTroubleshooting

⚠️ Staging workflow device discovery پر fail ہو رہا ہے۔Staging workflow device discovery par fail ho raha hai.The staging workflow fails at device discovery.

✅ CPE پر staging config چیک کریں — Director IP، CPE کے management interface سے reachable ہونا چاہیے۔ پہلے routing یا DNS ٹھیک کریں۔CPE par staging config check karen — Director IP, CPE ke management interface se reachable hona chahiye. Pehle routing ya DNS theek karen.Check the staging config on the CPE — the Director IP must be reachable from the CPE's management interface. Fix routing or DNS first.

⚠️ Deploy ہوئی config میں برانچ کی values غلط ہیں۔Deploy hui config mein branch ki values ghalat hain.The deployed config has wrong per-branch values.

✅ Bind کے وقت template variables میں غلط ڈیوائس کی values بھر دی گئیں۔ صحیح variable values کے ساتھ دوبارہ bind کر کے redeploy کریں۔Bind ke waqt template variables mein ghalat device ki values bhar di gayin. Sahi variable values ke saath dobara bind kar ke redeploy karen.The template variables were filled with the wrong device's values at bind time. Rebind the device with the correct variable values and redeploy.

انٹرویو سوالاتInterview Q&AInterview Q&A

❓ Versa Director میں workflow کیا ہوتا ہے؟Versa Director mein workflow kya hota hai?What is a workflow in Versa Director?

Workflow رہنما steps کی ترتیب ہے — staging، template selection، binding — جو نئے ڈیوائس کو ڈبے سے production تک ہر مرحلے پر چیک کے ساتھ لے جاتا ہے۔Workflow rehnuma steps ki tarteeb hai — staging, template selection, binding — jo naye device ko dabbe se production tak har marhalay par check ke saath le jata hai.A workflow is a guided sequence of steps — staging, template selection, binding — that walks a new device from box to production with checks at each stage.

❓ Versa Director میں device group کیا ہوتا ہے؟Versa Director mein device group kya hota hai?What is a device group in Versa Director?

Device group ملتی جلتی ڈیوائسز (مثال تمام چھوٹی برانچز) کو جمع کرتا ہے تاکہ templates اور policies کا ایک set سب پر لگے۔ ڈیوائس کو گروپ میں ڈالیں اور سب کچھ خودبخود مل جائے گا۔Device group milti-julti devices (misal tamam chhoti branches) ko jama karta hai taake templates aur policies ka aik set sab par lage. Device ko group mein dalen aur sab kuch khud-ba-khud mil jayega.A device group collects similar devices (e.g. all small branches) so one set of templates and policies applies to all of them. Add a device to the group and it inherits everything.