![]()
The device is running!
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys
[Huawei]sysname R1
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 12.1.1.1 24
Oct 23 2018 15:35:52-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R1-GigabitEthernet0/0/0]quit
[R1]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<R1>
<R1>ping 12.1.1.2
PING 12.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 12.1.1.2: bytes=56 Sequence=1 ttl=255 time=150 ms
Reply from 12.1.1.2: bytes=56 Sequence=2 ttl=255 time=10 ms
Reply from 12.1.1.2: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 12.1.1.2: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from 12.1.1.2: bytes=56 Sequence=5 ttl=255 time=20 ms
--- 12.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/42/150 ms
<R1>
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<R1>
<R1>sys
<R1>system-view
Enter system view, return user view with Ctrl+Z.
[R1]quit
<R1>
<R1>ft
<R1>ftp 12.1.1.2
Trying 12.1.1.2 ...
Press CTRL+K to abort
Connected to 12.1.1.2.
220 FTP service ready.
User(12.1.1.2:(none)):ftp-r1
<R1>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 drw- - Oct 23 2018 07:24:37 dhcp
1 -rw- 121,802 May 26 2014 09:20:58 portalpage.zip
2 -rw- 2,263 Oct 23 2018 07:24:31 statemach.efs
3 -rw- 828,482 May 26 2014 09:20:58 sslvpn.zip
1,090,732 KB total (784,464 KB free)
<R1>get statemach.efs
^
Error: Unrecognized command found at '^' position.
<R1>
<R1>get statemach.efs 321.zip
^
Error: Unrecognized command found at '^' position.
<R1>ftp 12.1.1.2
Trying 12.1.1.2 ...
Press CTRL+K to abort
Connected to 12.1.1.2.
220 FTP service ready.
User(12.1.1.2:(none)):ftp-r1
331 Password required for ftp-r1.
Enter password:
230 User logged in.
[R1-ftp]get sta
[R1-ftp]get statemach.efs 123.efs
200 Port command okay.
150 Opening ASCII mode data connection for statemach.efs.
226 Transfer complete.
FTP: 2263 byte(s) received in 0.250 second(s) 9.05Kbyte(s)/sec.
[R1-ftp]dir
200 Port command okay.
150 Opening ASCII mode data connection for *.
drwxrwxrwx 1 noone nogroup 0 Oct 23 07:24 dhcp
2%-rwxrwxrwx 1 noone nogroup 121802 May 26 2014 portalpage.zip
-rwxrwxrwx 1 noone nogroup 2263 Oct 23 07:24 statemach.efs
-rwxrwxrwx 1 noone nogroup 828482 May 26 2014 sslvpn.zip
drwxrwxrwx 1 noone nogroup 0 Oct 23 07:24 .
226 Transfer complete.
FTP: 327 byte(s) received in 0.180 second(s) 1.81Kbyte(s)/sec.
[R1-ftp]quit
221 Server closing.
<R1>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 drw- - Oct 23 2018 07:24:37 dhcp
1 -rw- 121,802 May 26 2014 09:20:58 portalpage.zip
2 -rw- 2,263 Oct 23 2018 08:27:03 123.efs
3 -rw- 2,263 Oct 23 2018 07:24:31 statemach.efs
4 -rw- 828,482 May 26 2014 09:20:58 sslvpn.zip
1,090,732 KB total (784,460 KB free)
<R1>ft
<R1>ftp 12.1.1.2
Trying 12.1.1.2 ...
Press CTRL+K to abort
Connected to 12.1.1.2.
220 FTP service ready.
User(12.1.1.2:(none)):ftp-r1
331 Password required for ftp-r1.
Enter password:
230 User logged in.
[R1-ftp]put sslvpn.zip 321.zip
200 Port command okay.
150 Opening ASCII mode data connection for 321.zip.
1% 3% 5% 7% 9%11%13%15%17%19%21%23%25%27%29%31%33%35%37%39%
41%43%45%47%49%51%53%55%57%59%61%63%65%67%69%71%73%75%77%79%
81%83%85%87%88%90%92%94%96%98%
100%
226 Transfer complete.
FTP: 828482 byte(s) sent in 3.170 second(s) 261.35Kbyte(s)/sec.
[R1-ftp]
The device is running!
<Huawei>
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<Huawei>
<Huawei>sys
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]sys
[Huawei]sysname R2
[R2]int g0/0/0
[R2-GigabitEthernet0/0/0]ip add 12.1.1.2 24
Oct 23 2018 15:41:45-08:00 R2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R2-GigabitEthernet0/0/0]quit
[R2]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<R2>
<R2>aaa
^
Error: Unrecognized command found at '^' position.
<R2>sys
<R2>system-view
Enter system view, return user view with Ctrl+Z.
[R2]aaa
[R2-aaa]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<R2>
<R2>
<R2>sys
<R2>system-view
Enter system view, return user view with Ctrl+Z.
[R2]ft
[R2]ftp ser
[R2]ftp server en
[R2]ftp server enable
Info: Succeeded in starting the FTP server
[R2]aaa
[R2-aaa]loc
[R2-aaa]local-user ftp-r1 pa
[R2-aaa]local-user ftp-r1 password ci
[R2-aaa]local-user ftp-r1 password cipher huawei123
Info: Add a new user.
[R2-aaa]loc
[R2-aaa]local-user ft
[R2-aaa]local-user ftp-r1 p
[R2-aaa]local-user ftp-r1 pr
[R2-aaa]local-user ftp-r1 privilege le
[R2-aaa]local-user ftp-r1 privilege level 3
[R2-aaa]loc
[R2-aaa]local-user f
[R2-aaa]local-user ftp-r1 ser
[R2-aaa]local-user ftp-r1 service-type f
[R2-aaa]local-user ftp-r1 service-type ftp
[R2-aaa]loc
[R2-aaa]local-user ft
[R2-aaa]local-user ftp-r1 ft
[R2-aaa]local-user ftp-r1 ftp-directory fl
[R2-aaa]local-user ftp-r1 ftp-directory flash:
[R2-aaa]quit
[R2]qquit
^
Error: Unrecognized command found at '^' position.
[R2]quit
<R2>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 drw- - Oct 23 2018 07:24:41 dhcp
1 -rw- 121,802 May 26 2014 09:20:58 portalpage.zip
2 -rw- 2,263 Oct 23 2018 07:24:35 statemach.efs
3 -rw- 828,482 May 26 2014 09:20:58 sslvpn.zip
1,090,732 KB total (784,464 KB free)
<R2>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 drw- - Oct 23 2018 07:24:41 dhcp
1 -rw- 121,802 May 26 2014 09:20:58 portalpage.zip
2 -rw- 2,263 Oct 23 2018 07:24:35 statemach.efs
3 -rw- 828,482 May 26 2014 09:20:58 sslvpn.zip
1,090,732 KB total (784,464 KB free)
<R2>dir
Directory of flash:/
Idx Attr Size(Byte) Date Time(LMT) FileName
0 drw- - Oct 23 2018 07:24:41 dhcp
1 -rw- 121,802 May 26 2014 09:20:58 portalpage.zip
2 -rw- 828,482 Oct 23 2018 08:29:23 321.zip
3 -rw- 2,263 Oct 23 2018 07:24:35 statemach.efs
4 -rw- 828,482 May 26 2014 09:20:58 sslvpn.zip
1,090,732 KB total (783,648 KB free)
<R2>