
technologySep 17, 201916:47pending
#86: Network Automation: Schedule Cisco config backups with kron and archive
About this episode
Network Automation isn't difficult. With just a few CLI commands you can automate the backup of your Cisco networks. Use Kron and archive to back up configs to TFTP, FTP or SCP servers. Don't try to do everything manually. Automate it! Just like cron in Linux, you can use kron on Cisco IOS to schedule things. Schedule backups, schedule TCL scripts and much more.
Amaze others with your knowledge of the Cisco IOS. You don't need python for these scripts. Rock that job interview and show senior network engineers what you can do. Keep on learning and change your life. Get that good paying job by showing your skills.
Menu:
1) Intro: 0:01
2) IOS requirements: 2:02
3) Lab Setup: 2:42
4) Kron config: 4:24
5) Archive config: 9:01
In later videos I'll show you how to use Python scripts and other cool options on Cisco IOS devices.
================================
Free TFTP Server:
=================================
Free SolarWinds TFTP Server: http://bit.ly/2mbtD6j
=================================
Documentation:
=================================
Kron: http://bit.ly/2kkgIhU
Archive:
http://bit.ly/2kI8BMb
http://bit.ly/2mgQa1L
=================================
Books:
=================================
Cisco Press Book: https://amzn.to/2LpaU1a
Good O'Reilly Book: https://amzn.to/2Lpbw6Z
=================================
Kron Script:
=================================
kron policy-list backupconfig
cli show running-config | redirect tftp://10.1.3.4/r1-shrun.cfg
kron occurrence backupminute in 1 recurring
policy-list backupconfig
kron occurrence backupweekly at 23:00 Sun recurring
policy-list backupconfig
debug kron all
show kron schedule
=================================
Archive Script:
=================================
archive
log config
logging enable
hidekeys
path tftp://10.1.3.4/$h-
wr
time-peiod 10080
!
sh archive
=================================
10x Engineer
CCNA
DevNet
Cisco Devnet Associate
CCNP Enterprise
CCNP Security
CCNP Data Center
CCNP Service Provider
CCNP Collaboration
Cisco Certified Devnet Professional
Cisco Certified Network Professional
Python
Network Automation
Network Programmability
LPIC 1
LPIC 2
Linux Professional Institute
LX0-103
LX0-104
XK0-004
How did you find this video? Did you enjoy learning about kron and the archive of your configs? scripts? All the best!
David Bombal
David’s details:
YouTube: https://www.youtube.com/davidbombal
Twitter: https://www.twitter.com/davidbombal
Instagram: https://www.instagram.com/davidbombal
LinkedIn: https://www.linkedin.com/in/davidbombal
Facebook: https://www.facebook.com/davidbombal.co
Website: http://www.davidbombal.com
#ccna #devnet #python
Get every episode summarized
Each time David Bombal publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from David Bombal

#603: How Age Verification Threatens Your Online Privacy
David Bombal
Sep 8, 202647:37failed

#602: How Compilers Turn Secure C Code Into Vulnerable Binaries
David Bombal
Sep 8, 202630:39failed

#601: Google Researchers Hacked the Pixel Phone using Audio Messages
David Bombal
Sep 8, 202639:19failed

#600: This Free Tool Decodes Game Boy ROM From a Photograph
David Bombal
Sep 2, 202641:33pending