ensp ftp服务器配置文件,ensp配置ftp服务器,显示连接失败。

本文档通过一个简单的拓扑例子,展示了在配置了FTP服务器后,AR1路由器与R1路由器之间的FTP连接失败的情况。尽管配置看似正确,但R1无法成功连接到AR1的FTP服务器,ping命令显示了20%的包丢失,且登录FTP时出现错误提示。作者寻求帮助,怀疑可能是ENSP模拟器的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

拓扑很简单主要为了说明为什么在配置都正确的情况之下会出现连接不成功的现象

拓扑

ce342b834be5211cee558c31009b146a.png

AR1:

[AR1]int g0/0/0

[AR1-GigabitEthernet0/0/0]ip add

[AR1-GigabitEthernet0/0/0]ip address 10.0.0.1 24

[AR1-GigabitEthernet0/0/0]qui

[AR1-GigabitEthernet0/0/0]quit

[AR1]

Jan 23 2020 11:55:21-08:00 AR1 %IFPDT/4/IF_STATE(l)[0]:Interface GigabitEthernet0/0/0 has turned into UP state.

[AR1]

Jan 23 2020 11:55:21-08:00 AR1 %IFNET/4/LINK_STATE(l)[1]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state.

[AR1]ftp ser

[AR1]ftp server en

[AR1]ftp server enable

Info: Succeeded in starting the FTP server

[AR1]set au

[AR1]set au

[AR1]set de

[AR1]set default f

[AR1]set default ftp-directory f

[AR1]set default ftp-directory flash:

[AR1]aa

[AR1-aaa]la

[AR1-aaa]lo

[AR1-aaa]local-user huawei pass

[AR1-aaa]local-user huawei password c

[AR1-aaa]local-user huawei password cipher xiaoyu920,. pr

[AR1-aaa]local-user huawei password cipher xiaoyu920,. privilege le

[AR1-aaa]local-user huawei password cipher xiaoyu920,. privilege level 5

Info: Add a new user.

[AR1-aaa]lo

[AR1-aaa]local-user huawei se

[AR1-aaa]local-user huawei service-type f

[AR1-aaa]local-user huawei service-type ftp

[AR1-aaa]qui

[AR1-aaa]quit

R1配置

[R1]interface GigabitEthernet0/0/0

[R1-GigabitEthernet0/0/0]ip add

[R1-GigabitEthernet0/0/0]ip address 10.0.0.2 24

[R1-GigabitEthernet0/0/0]

Jan 23 2020 13:11:06-08:00 R1 %IFNET/4/LINK_STATE(l)[0]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state.

[R1-GigabitEthernet0/0/0]qui

[R1-GigabitEthernet0/0/0]quit

[R1]p

Jan 23 2020 13:11:08-08:00 R1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 2, the change loop count is 0, and the maximum number of records is 4095.ing 10.0.0.1

PING 10.0.0.1: 56  data bytes, press CTRL_C to break

Request time out

Reply from 10.0.0.1: bytes=56 Sequence=2 ttl=255 time=110 ms

Reply from 10.0.0.1: bytes=56 Sequence=3 ttl=255 time=100 ms

Reply from 10.0.0.1: bytes=56 Sequence=4 ttl=255 time=70 ms

Reply from 10.0.0.1: bytes=56 Sequence=5 ttl=255 time=360 ms

--- 10.0.0.1 ping statistics ---

5 packet(s) transmitted

4 packet(s) received

20.00% packet loss

round-trip min/avg/max = 70/160/360 ms

[R1]

ftp 10.0.0.1

Trying 10.0.0.1 ...

Press CTRL+K to abort

Connected to 10.0.0.1.

220 FTP service ready.

User(10.0.0.1:(none)):huawei

331 Password required for huawei.

Enter password:

530 Logged fail, authentication directory is incorrect.Error: Failed to run this command because the connection was closed by remote host.

请各位大神指教一下这是什么状况。查了很多资料看不出配置有什么问题所以怀疑是不是ensp得问题请大神们或是也遇到过这种状况的朋友们不吝赐教多谢多谢

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值