淺析FTP華為交換機(jī)使用方法的幾個(gè)設(shè)置步驟
淺析FTP華為交換機(jī)使用方法的幾個(gè)設(shè)置步驟,下面講述了FTP華為交換機(jī)使用方法的五個(gè)步驟,雖然文章中的中文描述很少,太多數(shù)都是代碼。相信對(duì)ftp有過(guò)了解的人會(huì)看懂吧。
FTP華為交換機(jī)使用方法第一步:
創(chuàng)建FTP用戶[Quidway]local-user****passwordcipherW_P1H5MAW%:$:1
創(chuàng)建IP[Quidway]interfaceGigabitEthernet1/1/
創(chuàng)建FTP用戶[Quidway]local-user****
passwordcipherW_P1H5MAW%:$:1!
level3
service-typeftp
[Quidway]ftpserverenable
FTP華為交換機(jī)使用方法第二步:
創(chuàng)建IP[Quidway]interfaceGigabitEthernet1/1/4
portaccessvlan3502
[Quidway]interfaceVlan-interface3502
ipaddress221.*.*.1255.255.255.0
FTP華為交換機(jī)使用方法第三步:
在主機(jī)上FTP交換機(jī)C:\DocumentsandSettings\cnc>ftp221.*.*.1
Connectedto221.*.*.1.
220FTPserviceready.
User(221.*.*.1:(none)):ftp
331Passwordrequiredforftp.
Password:
230Userloggedin.
ftp>dir
200Portcommandokay.
150OpeningASCIImodedataconnectionfor*.
-rwxrwxrwx1noonenogroup7727Apr2612:25vrpcfg.cfg
-rwxrwxrwx1noonenogroup7716846Apr2612:22s3500ea-vrp520-r5303.bin
226Transfercomplete.
ftp:收到148字節(jié),用時(shí)0.00Seconds148000.00Kbytes/sec.
ftp>hash
FTP華為交換機(jī)使用方法第四步:
HashmarkprintingOnftp:(2048bytes/hashmark).
ftp>getvrpcfg.cfg在交換機(jī)中下載文件vrpcfg.cfg
200Portcommandokay.
150OpeningASCIImodedataconnectionforvrpcfg.cfg.
###
226Transfercomplete.
ftp:收到7727字節(jié),用時(shí)0.01Seconds515.13Kbytes/sec.
ftp>putvrpcfg.cfg向交換機(jī)中上傳文件vrpcfg.cfg
注意:上傳或下載目錄都是C:\DocumentsandSettings\administrator>
FTP華為交換機(jī)使用方法第五步:
登入交換機(jī)進(jìn)行重新啟動(dòng)
<Quidway>morevrpcfg.cfg(查看文件vrpcfg.cfg)
<Quidway>startupsaved-configurationvrpcfg.cfg
Pleasewait........Done!
<Quidway>reboot
Starttocheckconfigurationwithnextstartupconfigurationfile,pleasewait......
Thiscommandwillrebootthedevice.Currentconfigurationwillbelostinnextstartupifyoucontinue.Continue?[Y/N]:y
Thiswillrebootdevice.Continue?[Y/N]:y
#Apr2612:03:40:1442000QuidwayDEV/1/REBOOT:
Rebootdevicebycommand.
%Apr2612:03:40:1462000QuidwayDEV/4/SYSTEMREBOOT:
Systemisrebootingnow.
Nowrebooting,pleasewait...
<Quidway>
Starting......
*Copyright(c)1998-2008HuaweiTech.Co.,Ltd.Allrightsreserved.*
*Withouttheowner'spriorwrittenconsent,*
*nodecompilingorreverse-engineeringshallbeallowed.*
Userinterfaceaux0isavailable.
PressENTERtogetstarted.
<822-HW3528EA-8>
%Apr2612:00:36:6692000822-HW3528EA-8SHELL/4/LOGIN:Consoleloginfromaux0
<822-HW3528EA-8>