FTP华为装备上举行设置

立山  论坛元老 | 2024-12-17 20:51:06 | 显示全部楼层 | 阅读模式
打印 上一主题 下一主题

主题 1025|帖子 1025|积分 3075

FTP协议

1,包管网络通讯
2,开启FTP服务
3,在AAA模式下设置精确的用户名,暗码,以及该用户的权限,服务范例和共享的ftp目录
4,使用精确的测试方式

  1. The device is running!
  2. ########
  3. <Huawei>sys
  4. Enter system view, return user view with Ctrl+Z.
  5. [Huawei]sysn       
  6. [Huawei]sysname AR-01
  7. [AR-01]int g0/0/0
  8. [AR-01-GigabitEthernet0/0/0]ip address 192.168.0.1 30
  9. Dec 16 2024 18:37:23-08:00 AR-01 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
  10. IP on the interface GigabitEthernet0/0/0 has entered the UP state.
  11. [AR-01-GigabitEthernet0/0/0]q
  12. [AR-01]ping 192.168.0.2
  13.   PING 192.168.0.2: 56  data bytes, press CTRL_C to break
  14.     Reply from 192.168.0.2: bytes=56 Sequence=1 ttl=255 time=60 ms
  15.     Reply from 192.168.0.2: bytes=56 Sequence=2 ttl=255 time=30 ms
  16.     Reply from 192.168.0.2: bytes=56 Sequence=3 ttl=255 time=30 ms
  17.     Reply from 192.168.0.2: bytes=56 Sequence=4 ttl=255 time=20 ms
  18.     Reply from 192.168.0.2: bytes=56 Sequence=5 ttl=255 time=30 ms
  19.   --- 192.168.0.2 ping statistics ---
  20.     5 packet(s) transmitted
  21.     5 packet(s) received
  22.     0.00% packet loss
  23.     round-trip min/avg/max = 20/34/60 ms
  24. [AR-01]ftp server enable
  25. Info: Succeeded in starting the FTP server
  26. [AR-01]aaa
  27. [AR-01-aaa]local-u       
  28. [AR-01-aaa]local-user ender service-y       
  29. [AR-01-aaa]local-user ender service-t       
  30. [AR-01-aaa]local-user ender service-type ftp
  31. Info: Add a new user.
  32. [AR-01-aaa]local-user ender pr       
  33. [AR-01-aaa]local-user ender privilege le       
  34. [AR-01-aaa]local-user ender privilege level 15
  35. [AR-01-aaa]local-user ender ftp-d       
  36. [AR-01-aaa]local-user ender ftp-directory fl       
  37. [AR-01-aaa]local-user ender ftp-directory flash:
  38. //操作目录设置为flash,也就是suo'y
  39. [AR-01-aaa]q
  40. [AR-01]q
  41. <AR-01>save
  42.   The current configuration will be written to the device.
  43.   Are you sure to continue? (y/n)[n]:y
  44.   It will take several minutes to save configuration file, please wait.......
  45.   Configuration file had been saved successfully
  46.   Note: The configuration file will take effect after being activated
  47. <AR-01>
  48. Dec 16 2024 18:43:41-08:00 AR-01 %%01MTM/3/LOGIN_FAIL(l)[1]:The user failed to l
  49. og in. (UserName="ender", IpAddress=192.168.0.2, VpnInstanceName="")
  50. <AR-01>sys
  51. Enter system view, return user view with Ctrl+Z.
  52. [AR-01]aaaa
  53.        ^
  54. Error: Unrecognized command found at '^' position.
  55. [AR-01]aaa
  56. [AR-01-aaa]local-       
  57. [AR-01-aaa]local-user ender p       
  58. [AR-01-aaa]local-user ender password c       
  59. [AR-01-aaa]local-user ender password cipher qytang
  60. [AR-01-aaa]q
  61. [AR-01]q
  62. <AR-01>save
复制代码
  1. The device is running!
  2. <Huawei>
  3. <Huawei>sys
  4. Enter system view, return user view with Ctrl+Z.
  5. [Huawei]sysn       
  6. [Huawei]sysname LSW
  7. [LSW]
  8. Dec 16 2024 18:37:49-08:00 LSW DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
  9. .191.3.1 configurations have been changed. The current change number is 4, the c
  10. hange loop count is 0, and the maximum number of records is 4095.
  11. [LSW]int g0/0/0
  12.          ^
  13. Error: Wrong parameter found at '^' position.
  14. [LSW]int g0/0/1
  15. [LSW-GigabitEthernet0/0/1]q
  16. [LSW]int vlanif1
  17. [LSW-Vlanif1]ip ad       
  18. [LSW-Vlanif1]ip address 192.168.0.2
  19.                                     ^
  20. Error:Incomplete command found at '^' position.
  21. [LSW-Vlanif1]ip address 192.168.0.2 30
  22. [LSW-Vlanif1]
  23. Dec 16 2024 18:39:59-08:00 LSW %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
  24. on the interface Vlanif1 has entered the UP state.
  25. Dec 16 2024 18:39:59-08:00 LSW DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
  26. .191.3.1 configurations have been changed. The current change number is 5, the c
  27. hange loop count is 0, and the maximum number of records is 4095.
  28. [LSW-Vlanif1]
  29. [LSW-Vlanif1]
  30. [LSW-Vlanif1]ftp 192.168.0.1
  31.              ^
  32. Error: Unrecognized command found at '^' position.
  33. [LSW-Vlanif1]q
  34. [LSW]q
  35. <LSW>ftp 192.168.0.1
  36. Trying 192.168.0.1 ...
  37. Press CTRL+K to abort
  38. Connected to 192.168.0.1.
  39. 220 FTP service ready.
  40. User(192.168.0.1:(none)):ender
  41. 331 Password required for ender.
  42. Enter password:
  43. 530 Logged incorrect.
  44. Error: Failed to run this command because the connection was closed by remote ho
  45. st.
  46. <LSW>ftp 192.168.0.1
  47. Trying 192.168.0.1 ...
  48. Press CTRL+K to abort
  49. Connected to 192.168.0.1.
  50. 220 FTP service ready.
  51. User(192.168.0.1:(none)):ender
  52. 331 Password required for ender.
  53. Enter password:
  54. 230 User logged in.
  55. [ftp]dir//查看目录下的文件及文件夹
  56. 200 Port command okay.
  57. 150 Opening ASCII mode data connection for *.
  58. drwxrwxrwx   1 noone    nogroup         0 Dec 16 10:29 dhcp
  59. -rwxrwxrwx   1 noone    nogroup    121802 May 26  2014 portalpage.zip
  60. -rwxrwxrwx   1 noone    nogroup      2263 Dec 16 10:28 statemach.efs
  61. -rwxrwxrwx   1 noone    nogroup    828482 May 26  2014 sslvpn.zip
  62. -rwxrwxrwx   1 noone    nogroup       352 Dec 16 10:42 private-data.txt
  63. drwxrwxrwx   1 noone    nogroup         0 Dec 16 10:44 .
  64. -rwxrwxrwx   1 noone    nogroup       669 Dec 16 10:44 vrpcfg.zip
  65. 226 Transfer complete.
  66. [ftp]
复制代码
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

立山

论坛元老
这个人很懒什么都没写!
快速回复 返回顶部 返回列表