startup-config、running-config文件备份还原

  • A+
所属分类:Route
running-config and startup-config

running-config and startup-config

Router#copy running-config startup-config (覆盖copy)

Router#copy startup-config running-config (合并copy)

备份running-config、startup-config:

Router#copy running-config(startup-config) tftp:
Address or name of remote host []? 172.28.12.204
Destination filename [router-confg]? R1_running-config(startup-config)
1317 bytes copied in 6.148 secs (214 bytes/sec)

还原startup-config、running-config:

Router#copy tftp: startup-config(running-config)
Address or name of remote host []? 172.28.12.204
Source filename []? R1_startup-config
Destination filename [startup-config]?
Accessing tftp://172.28.12.204/R1_startup-config...
Loading R1_running-config from 172.28.12.204 (via FastEthernet3/0): !
1317 bytes copied in 10.400 secs (127 bytes/sec)

已有配置恢复到默认配置:

Router#erase startup-config
Router#reload
System configuration has been modified. Save? [yes/no]: no
startup-config与running-config试验请阅读:《startup-config、running-config备份试验》。

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:1   其中:访客  0   博主  0   引用   1

    来自外部的引用: 1

    • startup-config、running-config备份试验 – Byrd's Weblog