配置ftp用户

[myhaspl]aaa

[myhaspl-aaa]local-usermyftp password cipher myftp

[myhaspl-aaa]local-user myftp service-type ftp

[myhaspl-aaa]local-usermyftp ftp-directory flash:/

如果在登录时遇到提示权限错误,可以输入以下命令。因此用到一些特殊功能,比如ftp,所以需要给予管理级权限。

[myhaspl-aaa]local-usermyftp privilege level 15

[myhaspl-aaa]quit

 

测试FTP

<myhaspl>ftp192.168.10.254

Trying192.168.10.254 ...

Press CTRL+K toabort

Connected to192.168.10.254.

220 FTP serviceready.

User(192.168.10.254:(none)):myftp

331 Passwordrequired for myftp.

Enter password:

230 User loggedin.

 

[ftp]dir

200 Port commandokay.

150 Opening ASCIImode data connection for *.

drwxrwxrwx   1 noone   nogroup         0 Sep 06 11:54 src

drwxrwxrwx   1 noone   nogroup         0 Sep 06 11:54compatible

-rwxrwxrwx   1 noone   nogroup       745 Sep 08 17:56vrpcfg.zip

226 Transfercomplete.

 

[ftp]quit

 

221 Serverclosing.

 



本博客所有内容是原创,如果转载请注明来源

http://blog.csdn.net/myhaspl/


 

设备定时重启

<myhaspl>schedulereboot at 23:59

Info: The systemis now comparing the configuration, please wait.

Info: Rebootsystem at 23:59:00 2015/09/08 UTC-08:00(in 8 hours and 19 minutes)

confirm?[Y/N]:y


本博客所有内容是原创,如果转载请注明来源

http://blog.csdn.net/myhaspl/

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐