您的位置:首页 > 其它

交换、路由与防火墙手记(4)

2015-09-08 12:12 176 查看
配置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/

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: