交换机作为TFTP客户端
步骤 1 设置TFTP服务器
将PC作为TFTP服务器,在PC上运行TFTP Server程序并进行相应设置,其中:
工作目录(Current Directory)设置为待加载系统软件存放的路径,可点击Browse来更改。
服务器接口(Server interface)则填写TFTP服务器的IP地址,此处假设为10.164.30.29,一般系统会自动填上去。
登陆交换机后查看交换机剩余存储空间
通过执行以下命令进行备份
<Core-A>dir Directory of flash:/ Idx Attr Size(Byte) Date Time FileName 0 -rw- 36 Jun 05 2019 22:10:52 $_patchstate_reboot 1 drw- - Oct 01 2008 00:02:58 user 2 -rw- 1,850 Jun 05 2019 22:04:48 private-data.txt 3 -rw- 836 Jun 05 2019 22:05:26 rr.dat 4 -rw- 836 Jun 05 2019 22:05:26 rr.bak 5 drw- - Oct 01 2008 00:04:46 dhcp 6 drw- - Oct 01 2008 00:05:06 syslogfile 7 drw- - Jun 06 2019 00:00:52 resetinfo 8 -rw- 1,962 Jun 05 2019 22:13:00 vrpcfg.zip 9 -rw- 844,857 Jun 05 2019 22:09:48 s5700si-v200r005sph025.pat 10 -rw- 3,684 Jun 05 2019 22:10:52 $_patch_history 11 -rw- 15,843,852 Jun 05 2019 21:07:36 s5700si-v200r005c00spc500.cc 12 -rw- 4 Jun 06 2019 10:04:42 snmpnotilog.txt 13 -rw- 1,726,939 Jun 05 2019 22:11:44 s5700si-v200r005c00spc500.009.web.7z 32,593 KB total (14,341 KB free) <Core-A>delete /unreserved 文件名 删除文件不放入回收站 备份文件到tftp服务器本地目录 tftp 10.164.30.29 put S5700EI-V200R003C00SPC300.cc S5700EI-V200R003C00SPC300.cc 从服务器上下载系统软件到交换机上 tftp 10.164.30.29 get S5700EI-V200R005C00SPC500.cc tftp 10.164.30.29 get S5700EI-V200R005SPH001.pat tftp 10.164.30.29 get vrpcfgnew.zip 指定设备启动时加载的系统软件 <Quidway> startup system-software S5700EI-V200R005C00SPC500.cc 指定设备启动时加载的补丁文件 <Quidway> startup patch S5700EI-V200R005SPH001.pat <Quidway> reboot Info: The system is now comparing the configuration, please wait. Warning: The configuration has been modified, and it will be saved to the next s tartup saved-configuration file flash:/105_xu.cfg. Continue? [Y/N]:y Now saving the current configuration to the slot 0.... Save the configuration successfully. Info: If want to reboot with saving diagnostic information, input 'N' and then e xecute 'reboot save diagnostic-information'. System will reboot! Continue?[Y/N]:y Info: System is rebooting, please wait.