浅析FTP华为交换机使用方法的几个设置步骤,下面讲述了FTP华为交换机使用方法的五个步骤,虽然文章中的中文描述很少,太多数都是代码。相信对ftp有过了解的人会看懂吧。
FTP华为交换机使用方法第一步:
创建FTP用户[Quidway]local-user****passwordcipherW_P1H5MAW%:$:1
创建IP[Quidway]interfaceGigabitEthernet1/1/
创建FTP用户[Quidway]local-user****
passwordcipherW_P1H5MAW%:$:1!
level3
service-typeftp
[Quidway]ftpserverenable
FTP华为交换机使用方法第二步:
创建IP[Quidway]interfaceGigabitEthernet1/1/4
portaccessvlan3502
[Quidway]interfaceVlan-interface3502
ipaddress221.*.*.1255.255.255.0
FTP华为交换机使用方法第三步:
在主机上FTP交换机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字节,用时0.00Seconds148000.00Kbytes/sec.
ftp>hash
FTP华为交换机使用方法第四步:
HashmarkprintingOnftp:(2048bytes/hashmark).
ftp>getvrpcfg.cfg在交换机中下载文件vrpcfg.cfg
200Portcommandokay.
150OpeningASCIImodedataconnectionforvrpcfg.cfg.
###
226Transfercomplete.
ftp:收到7727字节,用时0.01Seconds515.13Kbytes/sec.
ftp>putvrpcfg.cfg向交换机中上传文件vrpcfg.cfg
注意:上传或下载目录都是C:\DocumentsandSettings\administrator>
FTP华为交换机使用方法第五步:
登入交换机进行重新启动
<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>