本文主要是介绍HP C7000刀片服务器北电GbE2c背板网络交换机更改用户名密码,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
HP C7000刀片服务器使用的GbE2c刀片背板网络交换机和传统的华为、思科等厂商设备的配置方式很不一样,配置起来比较复杂,本文是对其进行用户密码修改的样例。
1、字符界面修改
北电的命令行为层级式菜单操作,cd命令可以返回到根级,cd ..可以返回到上一级
通过telnet到设备上进行操作:
------------------------------------------------------------
[Main Menu]Jan 3 18:00:12 10.193.199.4 NOTICE mgmt: admin(admin) login from host 10.227.17.234info - Information Menustats - Statistics Menucfg - Configuration Menuoper - Operations Command Menuboot - Boot Options Menumaint - Maintenance Menudiff - Show pending config changes [global command]apply - Apply pending config changes [global command]save - Save updated config to FLASH [global command]revert - Revert pending or applied changes [global command]exit - Exit [global command, always available]>> Main# cfg
------------------------------------------------------------
[Configuration Menu]sys - System-wide Parameter Menuport - Port Menuqos - QOS Menuacl - Access Control List Menupmirr - Port Mirroring Menul2 - Layer 2 Menul3 - Layer 3 Menurmon - RMON Menuufd - Uplink Failure Detection Menusetup - Step by step configuration set updump - Dump current configuration to script fileptcfg - Backup current configuration to FTP/TFTP servergtcfg - Restore current configuration from FTP/TFTP servercur - Display current configuration>> Configuration# sys
------------------------------------------------------------
[System Menu]syslog - Syslog Menusshd - SSH Server Menuradius - RADIUS Authentication Menutacacs+ - TACACS+ Authentication Menuntp - NTP Server Menussnmp - System SNMP Menuaccess - System Access Menudate - Set system datetime - Set system timetimezone - Set system timezoneolddst - Set system DST for US prior to 2007dlight - Set system daylight savingsidle - Set timeout for idle CLI sessionsnotice - Set login noticebannr - Set login bannerhprompt - Enable/disable display hostname (sysName) in CLI promptbootp - Enable/disable use of BOOTPdhcp - Enable/disable use of DHCP on Mgmt interfacereminder - Enable/disable Remindersrstctrl - Enable/disable System reset on paniccur - Display current system-wide parameters>> System# access
------------------------------------------------------------
[System Access Menu]mgmt - Management Network Definition Menuuser - User Access Control Menu (passwords)https - HTTPS Web Access Menusnmp - Set SNMP access controltnport - Set Telnet server port numbertport - Set the TFTP Port for the systemwport - Set HTTP (Web) server port numberhttp - Enable/disable HTTP (Web) accesstnet - Enable/disable Telnet accesstsbbi - Enable/disable Telnet/SSH configuration from BBIuserbbi - Enable/disable user configuration from BBIcur - Display current system access configuration>> System Access# user
------------------------------------------------------------
[User Access Control Menu]uid - User ID Menueject - Eject userusrpw - Set user password (user)opw - Set operator password (oper)admpw - Set administrator password (admin)cur - Display current user status>> User Access Control# curUsernames:user - enabled - offline oper - disabled - offline admin - Always Enabled - online 3 sessions.
可见缺省有3个用户,其中user和admin是可用状态。
通过在cfg-sys-access-user层级的usrpw和admpw指令可以分别对user和admin用户指令进行修改。修改以后diff可以显示配置变化,apply可使修改生效,save可以保存修改到永久文件。凡是修改,apply-save是必须要做的。
2、图形界面修改
1、帐户管理的图形界面如下:
执行修改用户名密码会报错:
2、需要先在命令行去打开BBI配置功能,操作如下:
------------------------------------------------------------
[Main Menu]Jan 3 17:38:25 10.193.199.4 NOTICE mgmt: admin(admin) login from host 10.227.17.234info - Information Menustats - Statistics Menucfg - Configuration Menuoper - Operations Command Menuboot - Boot Options Menumaint - Maintenance Menudiff - Show pending config changes [global command]apply - Apply pending config changes [global command]save - Save updated config to FLASH [global command]revert - Revert pending or applied changes [global command]exit - Exit [global command, always available]>> Main# cfg
------------------------------------------------------------
[Configuration Menu]sys - System-wide Parameter Menuport - Port Menuqos - QOS Menuacl - Access Control List Menupmirr - Port Mirroring Menul2 - Layer 2 Menul3 - Layer 3 Menurmon - RMON Menuufd - Uplink Failure Detection Menusetup - Step by step configuration set updump - Dump current configuration to script fileptcfg - Backup current configuration to FTP/TFTP servergtcfg - Restore current configuration from FTP/TFTP servercur - Display current configuration>> Configuration#
Jan 3 17:38:53 10.193.199.4 NOTICE mgmt: admin idle timeout from BBI
sys
------------------------------------------------------------
[System Menu]syslog - Syslog Menusshd - SSH Server Menuradius - RADIUS Authentication Menutacacs+ - TACACS+ Authentication Menuntp - NTP Server Menussnmp - System SNMP Menuaccess - System Access Menudate - Set system datetime - Set system timetimezone - Set system timezoneolddst - Set system DST for US prior to 2007dlight - Set system daylight savingsidle - Set timeout for idle CLI sessionsnotice - Set login noticebannr - Set login bannerhprompt - Enable/disable display hostname (sysName) in CLI promptbootp - Enable/disable use of BOOTPdhcp - Enable/disable use of DHCP on Mgmt interfacereminder - Enable/disable Remindersrstctrl - Enable/disable System reset on paniccur - Display current system-wide parameters>> System# access
------------------------------------------------------------
[System Access Menu]mgmt - Management Network Definition Menuuser - User Access Control Menu (passwords)https - HTTPS Web Access Menusnmp - Set SNMP access controltnport - Set Telnet server port numbertport - Set the TFTP Port for the systemwport - Set HTTP (Web) server port numberhttp - Enable/disable HTTP (Web) accesstnet - Enable/disable Telnet accesstsbbi - Enable/disable Telnet/SSH configuration from BBIuserbbi - Enable/disable user configuration from BBIcur - Display current system access configuration>> System Access# userbbi
Current User config from BBI: disabled
Enter new User config from BBI [d/e]: e>> System Access# diff
=> Pending configuration/c/sys/accessuserbbi ena
apply和save以后,在图形界面重新刷新
即可进行密码修改:
这篇关于HP C7000刀片服务器北电GbE2c背板网络交换机更改用户名密码的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!