VMware

Cisco SD-WAN: Automated Onboarding Cisco C8000v by Bootstrapping File



⁠@NetworkLabRoom
#ciscosdwan #ciscosdwan , #cisco, #eve_ng, #ciscotech #sdwan #ciscosystems
00:00 Introduce
01:33 Create basic Template for device, and then assign it to device which is router at site first
03:50 Create bootstrap file and download it to PC then change name of file
04:55 Copy the file to File server/Web server
05:23 Make Python code for run at Guestshell of router and then copy this file to webserver.
06:42 Power on C8000v and checking results

Automated Onboarding Cisco C8000V by Bootstrapping file
1. Create template and assign device for template
2. Make Python file for run guestshell
3. Power on device and check results

By using this method, you dont need pre-configure router SDWAN completely.
————————————————
***Python Code:

import cli
import time

command=[“file prompt quiet”,”ip tftp source-interface Gi 1″]
cli.configurep(command)

command=”copy tftp://192.168.1.253/ciscosdwan_cloud_init.cfg bootflash:/ciscosdwan_cloud_init.cfg”
cli.executep(command)
time.sleep(60)
cli.executep(“controller-mode enable”)
cli.executep(“”)
cli.executep(“No”)

[ad_2]

source

Related Articles

3 Comments

  1. Just generate a ISO file out of the ciscosdwan_cloud_init.cfg file, attach it to the 2nd CD-ROM drive of the C8000v. That's it. The device will boot in managed mode and apply the config as per the file. No need for a DHCP, TFTP server and a conversion.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button