####
PC(192.168.10.2)----直连R/S(int g 1/1/4,192.168.10.1)
######
interface GigabitEthernet1/1/4 //指定端口
description ftp
undo shutdown
ip address 192.168.10.1 255.255.255.0
//
[Huawei]ftp server enable //开启ftp功能
Info: Succeeded in starting the FTP server //提示成功开启了ftp服务器
[Huawei-aaa]local-user huawei password cipher huawei //创建本地用户huawei并给他设置密码
Info: Add a new user.
[Huawei-aaa]local-user huawei service-type ftp //设置账户的类型
[Huawei-aaa]local-user huawei ftp-directory cfcard2: //设置账户的根目录
[Huawei-aaa]local-user huawei level 3
网友评论