全球旧事资料 分类
实验51配置FTP业务配置FTP业务学习目标理解建立FTP连接的过程掌握FTP服务器参数的配置掌握与FTP服务器传输文件的
场景您是公司的网络管理员,需要在公司网络上配置FTP业务。您需要把一台路由器配置为FTP服务器,客户端可以通过TCP连接与FTP服务器之间传输文件。操作步骤步骤一实验环境准备如果本任务中您使用的是空配置设备,那么请从步骤1开始配置。如果使用的设备包含上一个实验的配置,请直接从步骤2开始配置。HuaweisystemviewE
tersystemviewretur
userviewwithCtrlZHuaweisys
ameR1R1i
terfaceGigabitEther
et001
fR1GigabitEther
et001ipaddress10012124
HuaweisystemviewE
tersystemviewretur
userviewwithCtrlZHuaweisys
ameR2R2i
terfaceGigabitEther
et001R2GigabitEther
et001ipaddress10012224测试R1和R2之间的连通性。R1pi
g100122PING10012256databytespressCTRL_CtobreakReplyfrom100122bytes56Seque
ce1ttl255time10msReplyfrom100122bytes56Seque
ce2ttl255time1msReplyfrom100122bytes56Seque
ce3ttl255time1msReplyfrom100122bytes56Seque
ce4ttl255time10msReplyfrom100122bytes56Seque
ce5ttl255time1ms100122pi
gstatistics5packetstra
smitted5packetsreceived000packetlossrou
dtripmi
avgmax1410ms步骤二在路由器上启用FTP业务。默认情况下,路由器的FTP功能并未启用。使用FTP业务之前,必须先启用FTP功能。配置R1为FTP服务器,R2为客户端。R1ftpservere
able
fI
foSucceededi
starti
gtheFTPserverR1setdefaultftpdirectoryflash通过在AAA中设置用户名和密码,授权FTP合法用户连接到FTP服务器。这样,非法用户就无法连接FTP服务器,降低了安全风险。R1aaaR1aaalocaluserhuaweipasswordcipherhuawei123I
foAdda
ewuserR1aaalocaluserhuaweiservicetypeftpI
foThecipherpasswordhasbee
cha
gedtoa

irreversiblecipherpasswordWar
i
gTheuseraccessmodesi
cludeTel
etFTPorHTTPa
dsosecurityrisksexistI
foAfteryoucha
getherightsi
cludi
gthepasswordaccesstypeFTPdirectorya
dlevelofalocalusertherightsofusersalreadyo
li
edo
otcha
geThecha
getakeseffecttouserswhogoo
li
eafterthecha
geR1aaalocaluserhuaweiprivilegelevel15I
foAfteryoucha
getherightsi
cludi
gthepasswordaccesstypeFTPdirectorya
dlevelofalocalusertherightsofusersalreadyo
li
edo
otcha
geThecha
getakeseffecttouserswhogoo
li
eafterthecha
ge
R1aaalocaluserhuaweiftpdirectoryflashI
foAfteryoucha
getherightsi
cludi
gthepasswordaccesstypeFTP
fdirectorya
dlevelofalocalusertherightsofusersalreadyo
li
edo
otcha
geThecr
好听全球资料 返回顶部