startup-config、running-config备份试验

    Read

阅读本章前,请先阅读《startup-config、running-config文件备份还原》,图片说明非常重要。
Router>
Router>enable
Router#conf t
Router(config)#line console 0
Router(config-line)#exec-timeout 0 0
Router(config-line)#logging synchronous
Router(config)#interface s1/0
Router(config-if)#ip add 10.10.10.2 255.0.0.0
Router(config-if)#no sh
Router(config-if)#interface fastethernet 0/0
Router(config-if)#ip add 192.168.0.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#interface f3/0
Router(config-if)#ip add 172.28.12.205 255.255.248.0
Router(config-if)#no sh
Router#copy running-config startup-config
Router#copy running-config tftp:
Address or name of remote host []? 172.28.12.204
Destination filename [router-confg]? R1_running-config
.!!
1273 bytes copied in 5.996 secs (212 bytes/sec)

R1_running-config的配置为:SourceByrd's Weblog-https://note.t4x.org/route/config-backup-test/

Serial 1/0 :10.10.10.2/8
Fastethernet 0/0:192.168.0.1/24
Fastethernet 3/0:172.28.12.205/16SourceByrd's Weblog-https://note.t4x.org/route/config-backup-test/

Router(config)#interface f0/0
Router(config-if)#ip add 100.100.100.100 255.255.0.0
Router(config-if)#router rip
Router(config-router)#net 100.100.0.0
Router#copy running-config startup-configSourceByrd's Weblog-https://note.t4x.org/route/config-backup-test/

配置后running-config为:SourceByrd's Weblog-https://note.t4x.org/route/config-backup-test/

Serial 1/0:10.10.10.2/8
Fastethernet 0/0:100.100.100.100/16
Fastethernet 3/0:172.28.12.205/16
Router:RIPSourceByrd's Weblog-https://note.t4x.org/route/config-backup-test/

Router#copy tftp: running-config
Address or name of remote host []? 172.28.12.204
Source filename []? R1_running-config
Destination filename [running-config]?
Accessing tftp://172.28.12.204/R1_running-config...
[OK - 1273 bytes]SourceByrd's Weblog-https://note.t4x.org/route/config-backup-test/

复制tftp:到running-config的结果:SourceByrd's Weblog-https://note.t4x.org/route/config-backup-test/

Serial 1/0 :10.10.10.2/8
Fastethernet 0/0:192.168.0.1/24
Fastethernet 3/0:172.28.12.205/16
Router:RIPSourceByrd's Weblog-https://note.t4x.org/route/config-backup-test/ SourceByrd's Weblog-https://note.t4x.org/route/config-backup-test/

Today in History
November
17
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!
Byrd
  • by Published on November 17, 2012
  • 原文链接:https://note.t4x.org/route/config-backup-test/
Comments  2  Guest  0  Pingback  2
匿名

Comment

Anonymous

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