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