Eve-ng Lab : Auto Backup Cisco Device using Command Scheduler (Kron) and Creat FTP Server

Описание к видео Eve-ng Lab : Auto Backup Cisco Device using Command Scheduler (Kron) and Creat FTP Server

Scheduling router jobs utilizing Kron policies.

Another very nifty feature that is part of every router (along with Unix system) is the ability to run and schedule Kron jobs. The next question is what can you use these kron jobs for, well you can use them to run privileged level commands on a scheduled basis.

A few examples:



Let’s say you want the router to automatically send it’s config to a TFTP or SCP server, create a kron job that will do just that on a weekly basis.
Create a kron job that will write the running-config to memory so you don’t have to run the risk of losing your current configuration in the event of a power failure or router reboot.
Set a kron job to run on a nightly basis and issue the undebug all command to prevent someone from letting a debug run rampant.
The possibilities are almost endless.
Something to keep in mind however is the fact kron jobs cannot be used to make configuration changes, kron cli commands are submitted at the privilege level individually and because they are submitted individually you cannot nest commands to issue commands in global config mode. (You will want to look for a macro for something like that)

Now lets look at what we need to do to create and schedule a kron policy for a Cisco device:

Create the kron policy.
set the commands that are to be issued by the kron policy.
Create the kron occurrence policy.
Specify the re-occurrence schedule.
Specify which kron policy to run under the occurrence schedule.



Subcribe Us :    / @exploitoperate  

Contact :
+Telegram group: https://t.me/CCNP300_410
+ Facebook:   / 100010133917307  
+ Youtube:    / @exploitoperate  

Music : https://zingmp3.vn/nghe-si/Radio-Toi-...
#SOFAR #Binz #Spacespeakers #SpacespeakersGroup #SSG
----------------------------------------------------
© Bản quyền âm nhạc thuộc về Binz & SpaceSpeakers Group
© Copyright music by Binz & SpaceSpeakers Group
Music : Rap Viet mua 2

Комментарии

Информация по комментариям в разработке