aruba交换机启用telnet与ssh
aruba交换机启用telnet与ssh
开启Telnet服务&创建登录账号密码
#进入全局模式
ProCurve#config
#开启Telnet服务(因设备固件差异化,命令行方式有所不同,以下为两种开启Telnet服务命令)
ProCurve(config)#telnet server enable (方法1)
ProCurve(config)#telnet-server (方法2)
#创建本地用户admin,设置登录密码admin,用户级别为manager管理员级别
ProCurve(config)#password manager user-name admin plaintext admin
#保存配置
ProCurve(config)#write memory
登陆帐号密码配置
Access-2# configure
Access-2(config)# password operator //用户模式密码
New password for operator: hpe
Re-enter the new password for operator: hpe
you are allowed to move to enable mode because you have not set a manager password.
Set a manager password now. The password is “hpe” (case-sensitive).
Access-2# config
Access-2(config)# password manager //enable密码
New password for manager: hpe
Re-enter the
new password for manager: hpe
验证:
Log in as the operator.
<-output omitted->
Username: operator
Password: hpe
Try to move to enable mode.
Access-2> enable
As you see, you are prompted for credentials because manager access is restricted by a
password. Enter manager for the username and password.
Username: manager
Password: hpe
From enable mode, you now have complete access to the switch CLI
Enable SSH
开启ssh:
Access-2 (console session)
Return to the terminal session with Access-2. Move to global configuration mode.
Create a key for SSH.
Access-2(config)# crypto key generate ssh rsa bits 2048
Installing a new key pair. If the key/entropy cache is
depleted, this could take up to a minute.
The installation of a new key pair is successfully completed.
SSH is enabled by default when the switch has an SSH key. However, if your switch did not have
a key, SSH would have been disabled on it. Enter this command to make sure that SSH is
enabled:
Access-2(config)# ip ssh
创建新用户名密码
Change the manager credentials to the ones shown in the table. Remember that passwords are
case-sensitive! (You will see ** rather than the password letters.)
Access-2(config)# password manager user-name admin
New password for manager: hpe
Please retype new password for manager: hpe
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。
转载请保留出处: www.zh-cjh.com珠海陈坚浩博客 » aruba交换机启用telnet与ssh
作者: cjh
手机扫一扫,手机上查看此文章: |
一切源于价值!
其他 模板文件不存在: ./template/plugins/comment/pc/index.htm