侧边栏壁纸
博主头像
学海无涯博主等级

学无止境

  • 累计撰写 321 篇文章
  • 累计创建 80 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

H3C 华为配置FTP服务器

利刃
2015-07-03 / 0 评论 / 0 点赞 / 11 阅读 / 2274 字
温馨提示:
本文最后更新于 2024-08-13,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。
R1:
<H3C>sys
System View: return to User View with Ctrl+Z.
进入视图模式
[H3C]sysname H3C-R1
更改计算机名
[H3C-R1]interface e0/0/0
进入接口模式
[H3C-R1-Ethernet0/0/0]ip add 1.1.1.1 255.255.255.0
配置IP地址及子网掩码
[H3C-R1-Ethernet0/0/0]undo sh
Interface Ethernet0/0/0 is not shut down
开启接口
[H3C-R1-Ethernet0/0/0]quit
退出接口模式
[H3C-R1]ftp server enable
开启ftp服务
[H3C-R1]local-user ftp
New local user added.
创建ftp用户
[H3C-R1-luser-ftp]password simple cisco
设置ftp密码
[H3C-R1-luser-ftp]service-type ftp
指定用户用于服务类型
[H3C-R1-luser-ftp]authorization-attribute level 3
开启ftp帐号的最高权限  否则只可以下载  不可以上传
[H3C-R1-luser-ftp]quit
退出用户设置模式
 
R2:
<H3C>sys    
System View: return to User View with Ctrl+Z.
进入视图模式
[H3C]sysname H3C-R2
更改计算机名
[H3C-R2]interface e0/0/0
进入接口模式
[H3C-R2-Ethernet0/0/0]ip add 1.1.1.2 255.255.255.0
设置ip地址
[H3C-R2-Ethernet0/0/0]undo sh
Interface Ethernet0/0/0 is not shut down
开启接口
[H3C-R2-Ethernet0/0/0]ping 1.1.1.1
PING 1.1.1.1: 56  data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=255 time=20 ms
Reply from 1.1.1.1: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 1.1.1.1: bytes=56 Sequence=3 ttl=255 time=4 ms
Request time out
Reply from 1.1.1.1: bytes=56 Sequence=5 ttl=255 time=4 ms

--- 1.1.1.1 ping statistics ---
5 packet(s) transmitted
4 packet(s) received
20.00% packet loss
round-trip min/avg/max = 1/7/20 ms
测试连通性
[H3C-R2-Ethernet0/0/0]return
回到用户模式
<H3C-R2>ftp 1.1.1.1
Trying 1.1.1.1 ...
Press CTRL+K to abort
Connected to 1.1.1.1.
220 FTP service ready.
User(1.1.1.1:(none)):ftp
331 Password required for ftp.
Password:
230 User logged in.
登录用户
[ftp]dir
227 Entering Passive Mode (1,1,1,1,4,1).
125 ASCII mode data connection already open, transfer starting for /*.
drwxrwxrwx   1 noone    nogroup         0 Jun 04 15:16 logfile
drwxrwxrwx   1 noone    nogroup         0 Jun 05 13:54 diaglog
-rwxrwxrwx   1 noone    nogroup      1477 Jun 05 14:25 startup.cfg
-rwxrwxrwx   1 noone    nogroup      6419 Jun 05 14:05 system.xml
-rwxrwxrwx   1 noone    nogroup      8646 Jun 05 14:05 config.cwmp
226 Transfer complete.
FTP: 331 byte(s) received in 0.160 second(s), 2.00K byte(s)/sec.

转载自老博客

二〇一五年七月三日 10:30:07

0
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin

评论区