David Bombal

#86: Network Automation: Schedule Cisco config backups with kron and archive


Listen Later

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
...more
View all episodesView all episodes
Download on the App Store

David BombalBy David Bombal

  • 5
  • 5
  • 5
  • 5
  • 5

5

24 ratings


More shows like David Bombal

View all
Hacked by Hacked

Hacked

186 Listeners

Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec by Jerry Bell and Andrew Kalat

Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec

372 Listeners

Risky Business by Patrick Gray

Risky Business

372 Listeners

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast) by Johannes B. Ullrich

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast)

651 Listeners

CyberWire Daily by N2K Networks

CyberWire Daily

1,020 Listeners

Smashing Security by Graham Cluley

Smashing Security

319 Listeners

Click Here by Recorded Future News

Click Here

416 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,061 Listeners

Cybersecurity Today by Jim Love

Cybersecurity Today

179 Listeners

Hacking Humans by N2K Networks

Hacking Humans

314 Listeners

CISO Series Podcast by David Spark, Mike Johnson, and Andy Ellis

CISO Series Podcast

189 Listeners

Defense in Depth by David Spark, Steve Zalewski, Geoff Belknap

Defense in Depth

74 Listeners

Cyber Security Headlines by CISO Series

Cyber Security Headlines

139 Listeners

Risky Bulletin by risky.biz

Risky Bulletin

44 Listeners

Hacker And The Fed by Chris Tarbell & Hector Monsegur

Hacker And The Fed

169 Listeners