拓扑很简单主要为了说明为什么在配置都正确的情况之下会出现连接不成功的现象
拓扑
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得问题请大神们或是也遇到过这种状况的朋友们不吝赐教多谢多谢