欢迎来到天天文库
浏览记录
ID:24457252
大小:107.51 KB
页数:3页
时间:2018-11-14
《华为s5700交换机ftpwebhttp配置》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、一、交换机FTP配置1、 创建VLAN10systeml-view[huawei213]vlan102、将端口划入刚才新建的VLAN10中(注意划入的端口模式需为ACCESS才可划入;与hybrid,trunk模式的划入方法不同)[huawei213-vlan10]portGigabitEthernet0/0/2to0/0/10[huawei213-vlan10]quit3、 设置VLAN10的IP地址[huawei213]interfaceVlanif10[huawei213-Vlanif10]ipaddress172.16.10.1255.255.25
2、5.0[huawei213-Vlanif10]quit4、 添加FTP登录用户[huawei213]aaa[huawei213-aaa]local-useruserpasswordcipherpassword (用户名user密码(密文方式)password)[huawei213-aaa]local-useruserprivilegelevel3 (设置用户权限)[huawei213-aaa]local-useruserservice-typeftp (设置这个用户用于FTP登录)[huawei213-aaa]local-useruserftp-directoryflas
3、h:/(设置这个用户登录到的FTP目录)[huawei213-aaa]quit5、 开启交换机FTP服务[huawei213]ftpserverenable6、 属于VLAN10的电脑FTP做测试(打开CMD)C:DocumentsandSettingsAdministrator>ftp172.16.10.1Connectedto172.16.10.1220FTPserviceready.User(172.16.10.1:(none)):user331Passwordrequiredforuser.Password:230Userloggedin.ftp>这就说明登录成功了
4、~二、交换机WEB配置注:要开启WEB服务,需要先上传WEB管理文件S5700SI-V100R005.002.web.zip FTP上传文件到交换机S5700SI-V100R005.002.web.zip(划分VLAN设置IP等省略…)先将S5700SI-V100R005.002.web.zip文件放到C:DocumentsandSettingsAdministrator目录C:DocumentsandSettingsAdministrator>ftp172.16.10.1Connectedto172.16.10.1220FTPserviceready.User(17
5、2.16.10.1:(none)):user331Passwordrequiredforuser.Password:230Userloggedin.ftp>ftp>hashHashmarkprintingOn ftp:(2048bytes/hashmark).ftp>putS5700SI-V100R005.002.web.zipftp>quit2、 开启HTTP服务systeml-view[huawei213][huawei213]httpserverloadflash:/s5700si-v100r005.002.web.zip (指向刚才上传WE
6、B管理文件)[huawei213]httpserverenable3、 设置WEB用户(注:也可以把以存的用户设置为WEB登录方式)[huawei213]aaa[huawei213-aaa]local-userwebuserpasswordcipherpassword (用户名webuser密码(密文方式)password)[huawei213-aaa]local-userwebuserservice-typehttp (设置这个用户用于WEB登录)[huawei213-aaa]quit4、 客户端电脑做WEB登录测试打开浏览器输入http://172.16.10.1/输入
7、配置的用户名webuser及密码password及验证码后确认登录OK大功告成!
此文档下载收益归作者所有