欢迎来到天天文库
浏览记录
ID:34445358
大小:34.85 KB
页数:7页
时间:2019-03-06
《华为s5700基础配置命令》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、华为S5700基础配置命令以下配置中,红色字体是需要自定义的.#清除设备配置resetsaved-configurationWarning:Theactionwilldeletethesavedconfigurationinthedevice.Theconfigurationwillbeerasedtoreconfigure.Continue?[Y/N]:YrebootWarning:Alltheconfigurationwillbesavedtotheconfigurationfileforthe
2、nextstartup:flash:/vrpcfg.zip,Continue?[Y/N]:NSystemwillreboot!Continue?[Y/N]:Y#设置设备的名称为GSH-FZ-Frontsystem-view[Quidway]sysnameQuidway#设置查看设备的时区,时间clocktimezoneBJadd8clockdatetime18:20:302012-02-08displayclock#telnet远程登录syste
3、m-view[Quidway]aaa//////[Quidway-aaa]local-userccssoftpasswordcipherp@ssw0rdprivilegelevel15[Quidway-aaa]local-userccssoftpasswordsimpleccssoft[Quidway-aaa]local-userccssoftservice-typetelnet[Quidway-aaa]local-userccssoftprivilegelevel15//特权等级设置[Quidway-aaa]quit[Quidway
4、]user-interfacevty04//设置5个虚拟终端,也就是说最多有5个终端同时连接[Quidway-vty0-4]authentication-modeaaa//验证方式设置[Quidway-ui-vty0-4]quit#ssh远程登录步骤1在服务器端生成本地密钥对system-view[Quidway]sysnameSSHServer[SSHServer]rsalocal-key-paircreateThekeynamewillbe:Quidway_HostTherangeofpublickeysizei
5、s(512~2048).NOTES:Ifthekeymodulusisgreaterthan512,Itwilltakeafewminutes.Inputthebitsinthemodulus[default=512]:768Generatingkeys..........++++++++++++..........++++++++++++...................................++++++++......++++++++步骤2在服务器端配置VTY用户界面[SSHServer]user-interface
6、vty04[SSHServer-ui-vty0-4]authentication-modeaaa[SSHServer-ui-vty0-4]protocolinboundssh[SSHServer-ui-vty0-4]quit说明若配置登录协议为SSH,则S5700设备将自动禁止Telnet功能。步骤3在服务器端配置SSH用户的用户名和密码[SSHServer]aaa[SSHServer-aaa]local-userclient001passwordcipherhuawei[SSHServer-aaa]local-userclient0
7、01privilegelevel3[SSHServer-aaa]local-userclient001service-typessh[SSHServer-aaa]quit步骤4使能STelent功能,并配置用户的服务类型为STelnet[SSHServer]stelnetserverenable[SSHServer]sshauthentication-typedefaultpassword#添加VLANsystem-view[Quidway]vlan10[Quidway-vlan10]quit#改Vlan1IP:8、uidway>system-view[Quidway]interfacevlanif1[Quidway]ipaddress192.168.1.200255.255.255.0#设定端口模式system-
8、uidway>system-view[Quidway]interfacevlanif1[Quidway]ipaddress192.168.1.200255.255.255.0#设定端口模式system-
此文档下载收益归作者所有