Episode Details

Back to Episodes
#86: David Bombal: Network Automation: Schedule Cisco config backups with kron and archive

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

Season 1 Episode 1 Published 6 years, 9 months ago
Description

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: bit.ly/2mbtD6j


=================================

Documentation:

=================================

Kron: bit.ly/2kkgIhU


Archive:

bit.ly/2kI8BMb

bit.ly/2mgQa1L


=================================

Books:

=================================

Cisco Press Book: amzn.to/2LpaU1a

Good O'Reilly Book: 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: www.youtube.com/davidbombal

Twitter: www.twitter.com/davidbombal

Instagram: www.instagram.com/davidbombal

LinkedIn: www.linkedin.com/in/davidbombal

Facebook: www.facebook.com/davidbombal.co

Website: www.davidbombal.com

Listen Now

Love PodBriefly?

If you like Podbriefly.com, please consider donating to support the ongoing development.

Support Us