最新消息:阿啰哈,本人90后,目前单身,欢迎妹子们来撩!.(。→‿←。) 微信:frank01991

华为交换机备份OS和配置文件

先查看一下flash中有哪些文件:
<84F_6L_POE_01>dir flash:
Directory of flash:/
  Idx  Attr     Size(Byte)  Date        Time       FileName 
    0  -rw-            828  Jan 01 2008 00:00:59   private-data.txt
    1  -rw-            866  Nov 01 2008 01:18:46   vrpcfg.zip
    2  -rw-      6,463,980  Jan 01 2008 00:24:26   S2300-V100R005C01SPC100.cc
    3  -rw-        626,426  Jan 01 2008 00:12:41   s23_33_53-v100r005sph008.pat
    4  -rw-         12,240  Jan 01 2008 00:13:46   $_patchstate_reboot
14,632 KB total (7,668 KB free)

查看交换机存放的所有文件
<84F_6L_POE_01>dir /all
Directory of flash:/
  Idx  Attr     Size(Byte)  Date        Time       FileName 
    0  -rw-            828  Jan 01 2008 00:00:59   private-data.txt
    1  -rwh            836  Sep 01 2008 00:00:04   rr.dat
    2  -rwh            836  Sep 01 2008 00:00:08   rr.bak
    3  -rw-            866  Nov 01 2008 01:18:46   vrpcfg.zip
    4  -rw-      6,463,980  Jan 01 2008 00:24:26   S2300-V100R005C01SPC100.cc
    5  -rw-        626,426  Jan 01 2008 00:12:41   s23_33_53-v100r005sph008.pat
    6  -rw-         12,240  Jan 01 2008 00:13:46   $_patchstate_reboot
14,632 KB total (7,668 KB free)

<84F_6L_POE_01>tftp ?
  -a            Set a source IP address
  -i            Set a source interface of a TFTP client
  STRING<1-20>  IP address of a remote system
  ipv6          IPV6 TFTP client

<84F_6L_POE_01>tftp 172.27.1.253 ?
  get  Download the file from a remote TFTP server
  put  Upload the local file to a remote TFTP server

备份华为交换机启动配置文件:
<84F_6L_POE_01>tftp 172.27.1.253 put vrpcfg.zip
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...
TFTP: Uploading the file successfully.
     866 bytes send in 1 second.

备份华为交换机OS:
<84F_6L_POE_01>tftp 172.27.1.253 put S2300-V100R005C01SPC100.cc 
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait.../
TFTP: Uploading the file successfully.
 6463980 bytes send in 239 seconds.

备份H3C S3100 52TP交换机的启动配置文件:
<H3C_S3100_52TP>tftp 192.168.1.152 put unit1>flash:/config.cfg 
  File will be transferred in binary mode.
  Sending file to remote tftp server. Please wait... /
  TFTP:     4995 bytes sent in 0 second(s).
  File uploaded successfully. 

H3C S3100 52TP交换机备份交换机OS:
<H3C_S3100_52TP>tftp 192.168.1.152 put unit1>flash:/s31si_e-cmw310-r2211p07.bin 
  File will be transferred in binary mode.
  Sending file to remote tftp server. Please wait... /
  TFTP:  3711222 bytes sent in 85 second(s).
  File uploaded successfully. 

转载请注明:林志斌 » 华为交换机备份OS和配置文件

发表评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址