Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Cisco switch automatically backs up configuration

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

As an IT network engineer, backing up the configuration of network devices is one of our daily tasks, but with the increase of devices, manual backups that used to be very erasy are now taking more and more time. As an IT lazy person, bloggers firmly believe that there must be a way to be lazy!

Pre-preparation: 1, NTP server 2, ftp/tftp server 3, command configuration

1st: time is very important in the network, so you need ntp server. You can use windows linux to build NTP server. If you have an AD domain environment, you can also point directly to DC.

2st: we need to set up ftp/tftp server users to save our backup files. Now I will directly use 3CDaemon to do experiments.

Configuration of 3st:cisco switch

SW-C2960-06 (config) # ntpserver 192.168.0.1 / points to ntpserver

SW-C2960-06 (config) # kron policy-list backup / give it a name

SW-C2960-06 (config-kron-policy) # cli sh run | redirect t ftp://192.168.8.32/test.cfg / back up the results of show run to tftp server

SW-C2960-06 (config) # kron occurrence backup at 22:00 Wed recurring / set backup cycle and time

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report