欢迎来到天天文库
浏览记录
ID:50912977
大小:24.00 KB
页数:2页
时间:2020-03-15
《华为交换机console和SSH详细配置脚本.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、****************************setconsole密码*****************************user-interfaceconsole0authentication-modepasswordsetauthenticationpasswordcipher**************************************删除默认用户************************************user-interfacevty04undosetauthenticationpasswordundouserprivilegeleve
2、l******************创建SSH用户*******************rsalocal-key-paircreateuser-interfacevty04userprivilegelevel3authentication-modeaaaprotocolinboundsshsshuseradminsshuseradminauthentication-typepasswordstelnetserverenablesshuseradminservice-typestelnetaaalocal-useradminpasswordcipher***local-useradmins
3、ervice-typessh***************************添加SSH用户****************************sshuser***authentication-typepasswordsshuser***service-typestelnetaaalocal-user***passwordcipher***local-user***service-typesshlocal-userguestlevel1(创建guest用户时需要此命令)***************************删除SSH用户***********************
4、*****aaaundolocal-user*******************************SSHACL设置*****************************aclnumber2001rule10permitsourceIP地址或网络地址rule20denyuser-interfacevty04acl2001inboundaclnumber2001undorule10rule10permitsource10.3.0.00.0.0.255
此文档下载收益归作者所有