配置用户路由器作为FTP客户端

    ·在用户视图下直接登录远程FTP服务器

    <Router>ftp[server-address]

    ·查询远程FTP服务器上的目录/文件

    [ftp]Is remotefile[localfile]

    ·下载FTP服务器上的文件

    [ftp]get remotefile[localfile]

    ·断开与远程FTP服务器的连接

    [ftp]bye


    ·在系统试图下启动FTP服务器功能

    [Router]ftp server enable

    ·创建本地用户并进入本地用户视图

    [Router]local-user user-name

    ·设置当前本地本地用户的密码

    [Router-luser-abc]password{simple|cipher}password

    ·设置服务类型并指定可访问的目录

    [Router-luser-abc]service-type ftp[ftp-directory directory]


配置路由器作为TFTP客户端

    <Router>tftp server-address{get|put|sget}source-filename [destination-filename][source{ip source-ip-address|interface interface-type interface-number}]

    ·在用户试图下使用

    ·此命令用于使路由器作为TFTP客户端登录远程TFTP客户端登录远程TFTP服务器

    ·server-address:TFTP服务器的IP地址或主机名

    ·source-filesname:源文件名。

    ·destination-filesname:目标文件名

    ·get:表示普通下载文件操作

    ·put:表示上传文件操作

    ·sget:表示安全下载文件操作