SD-WAN Bootstrap
USB
Requirements
- Device must be unprovisioned
The Manager can create a bootable USB drive.
Paste Method
This can be used to paste in a bootstrap so you can just erase and reload the device
tclsh
puts [open "bootflash:name-of-bootstrap-file.cfg" w+] {
!
! Certificates in the top of this file.
!
! Use a terminal client like SecureCRT
!
! Enable characters and line send delay if you need to.
!
}
Python Webserver
This uses python to start a small webserver to copy the bootstrap via HTTP.
Requirements
- Python
- This small python oneliner gets your current v4 IP.
python -c "import socket; s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM); s.connect(('8.8.8.8', 80)); print(s.getsockname()[0]); s.close()"
- Start the small http server
0.0.0.0 means bind on all IPs.
python -m http.server 8000 --bind 0.0.0.0
- Using the Cisco CLI, copy the file from your python webserver.
copy http://10.0.0.1:8000/bootstrap-file.cfg bootflash:/bootstrap-file.cfg