CISCO交换机备份配置的使用

2024-12-26 06:25:42
推荐回答(3个)
回答1:

用思科tftp软件,并启动。(连接控制线缆并设置ip在同一网段)
IOS更新前备份
Router2960#show flash
c2960-js-l_120-3.bin
copy flash tftp
source filename[]?c2960-js-l_120-3.bin
address or name of remote host []?10.1.1.1
destination filename[c2960-js-l_120-3.bin]?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

100xxxxxx bytes copied in 997.228 secs(14223 bytes/sec)
Router2960#
IOS还原
Router2960#copy tftp flash
address or name of remote host [10.1.1.1]?
source filename[]?c2960-js-l_120-3.bin
destination filename[c2960-js-l_120-3.bin]?
accessing tftp://10.1.1.1/c2960-js-l_120-3.bin...
erase flash:before copying?[confirm]
erasing the flash filesystem will remove all files!continue?[confirm]
erasing device...eeeee(output omitted)...erased
erase of flash:complete
loading c2960-js-l_120-3.bin from 10.1.1.1 (via ethernet):!!!!!!!!!!!!

[ok 100xxxxxx bytes]
verifying checksum...ok(0x9aa0)
100xxxxxx bytes copied in 309.128 secs(31422 bytes/sec)
Router2960#

配置信息备份
Router2960#show running-config
Router2960#copy running-config tftp:
address or name of remote host []?10.1.1.1
destination filename[config.text]?
Router2960#
配置信息还原
Router2960#copy tftp: running-config
address or name of remote host []?10.1.1.1
source filename[]?config.text
destination filename[running-config]?
accessing tftp://10.1.1.1/config.text...
loading config.text from 10.1.1.1 (via ethernet):!!!!!!!!!!!!
[ok - 10xxx bytes]
10xxx bytes copied in 5.124 secs(xxx bytes/sec)
Router2960#

回答2:

copy flash:config.text running-config #复制你的配置到运行状态
wr保存运行状态的程序

回答3:

加载的时候需要手动
copy start run
保存,重起!OK