Chapter1DeviceConnectionmanagement
CommandFunction
ZXR10(config)#ftp-serverenable[listen
<port-number>]
EnablestheFTPserverfunction,and
monitorsthespeciīæedport.
Theportrangeis21or2401ā2420.
2.ConīægureotherFTPattributes.
CommandFunction
ZXR10(config)#ftp-servertop-directory
<directory>[{read-only|{[read-write],[copy]}}]
Setsthetop-leveldirectorythatthe
FTPserverallowsuserstoaccess
throughFTP.Bydefault,thedirectoryis
/datadisk0/.
ZXR10(config)#ftp-serveraccess-class
[ipv6]<acl-name>
BindsanACLtotheFTPserver.
ZXR10(config)#ftp-servermax-login<max-number>Conīæguresthemaximumnumberof
onlineusersoftheFTPserver.
ForhowtoconīægureanFTPserverusernameandpassword,refertoāChapter4User
Managementā.
3.Verifytheconīægurations.
CommandFunction
ZXR10#showftp-serverShowstheconīægurationinformationon
theFTPserver.
4.MaintaintheFTPServer.
CommandFunction
ZXR10(config)#ftp-serverkick-user<user-id>Disconnectsacurrentlyonlineuser.The
parametervalueisanonlineuserID.
āEndofStepsā
Example
ThefollowinggivesanFTPserverconīægurationexample.
lConīægurationDescription
AsshowninFigure1-7,ZXR10ZSRV2isconnectedtoaPCandoperatesasanFTP
server.ThePCfunctionsasanFTPclientthatuploadsanddownloadsīæles.
1-11
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandConīædential