Logging In to the CLI of the Storage System Using Username and Password
This document uses Windows Server 2008 as an example. For maintenance terminals running other versions of operating systems, adjust the operations based on actual conditions.
You can log in to the storage system by either of the following methods:
- Through the serial port
If you have not configured an IP address for the storage system's management network port or forget the IP address, you can connect the maintenance terminal to the serial port on the storage system's controller enclosure using a serial cable. Then you can log in to the CLI of the storage system using access software (such as PuTTY) on the maintenance terminal.
- Through the management network port
- If you have configured an IPv4 or IPv6 address for the storage system's management network port, you can log in to CLI using the IP address.
- After connecting the controller enclosure to the maintenance terminal by using a network cable, you can log in to the storage system by using any type of remote login software that supports the SSH (This document uses the PuTTY software as an example).
- For a 2 U controller enclosure, the default IP addresses of the management network ports on controllers A and B are respectively 192.168.128.101 and 192.168.128.102, and the default subnet mask is 255.255.0.0. For a 3 U or 6 U controller enclosure, the default IP addresses of the management network ports on management modules 0 and 1 are respectively 192.168.128.101 and 192.168.128.102, and the default subnet mask is 255.255.0.0.
- Make sure that the IP address of the controller enclosure's management network port is in the same network segment as that of the maintenance terminal. If the two IP addresses are in different network segments, you can modify the IP address of the management network port through the serial port by running the change system management_ip command.
Logging In to the CLI Using the Serial Port (Windows)
- This document uses the PuTTY software as an example. You can download PuTTY from chiark website.
- You are advised to use the latest version of PuTTY, otherwise you may fail to log in to the storage system.
- Run the PuTTY software.
The PuTTY Configuration dialog box is displayed, as shown in Figure 2-4.
- In Connection type, select Serial. In Speed, enter 115200.
- Click Open. When the connection succeeds, the following output is displayed.
Storage Login:
- Enter the user name and password as prompted. You are required to change the password upon your initial login to ensure system security. If the login succeeds, the following information is displayed.
Storage login: admin Authorized users only. All activity may be monitored and reported. Using keyboard-interactive authentication. password: WARNING: You have accessed the system operated by Huawei. You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited. For security purposes, please change the initial password and log in to the system using the new password. Old password:************* New password:************** Reenter password:************** System Name : Huawei.Storage Health Status : Normal Running Status : Normal Total Capacity : 6.240TB SN : XXXXXXXXXXXXXXXXXXXXXXXXX Location : Product Model : XXXXX Product Version : XXXXX Time : XXXX-XX-XX/16:38:22 +08:00 admin:/>
- The default user name and password of the super administrator are admin and Admin@storage respectively.
- Product Model and Product Version vary with the actual device you have logged in to. The actual interface display prevails.
- You are advised to change your login password periodically in the future by executing the change user_password command. This reduces the password leakage risks.
- If you forget the password of an administrator or a read-only user, contact the super administrator to run change user to reset the password. If you forget the password of the super administrator (admin by default), contact root administrator _super_admin to log in to the CLI through a serial port and run initpasswd to reset the password.
- If you enter incorrect passwords for a specified number of times (3 times by default and equal to the value specified in Number of Incorrect Passwords on the Login Policy page), the account is automatically locked for the period of lock time.
- For V500R007C20 and earlier versions, the lock period is 15 minutes by default.
- For V500R007C30 and later, the lock period is 5 minutes by default
Logging In to the CLI Using the Serial Port (Linux)
- This document uses the Minicom software as an example. You can download Minicom from its official website.
- This document uses SSH Secure Shell Client to upload the Minicom installation package to the Linux host. You can download SSH Secure Shell Client from its official website.
- You must enable SSH on the Linux host. The default port ID is 22.
- Check whether Minicom has been installed on the host.
Log in to the Linux client and run the rpm -qa | grep minicom command.
- Upload the Minicom and rzsz installation package to the Linux host. This document uses SSH Secure Shell Client on a Windows host to upload the packages to the Linux host.
- Install SSH Secure Shell Client on a Windows host. Double-click the Secure File Transfer Client shortcut to run the software.
- Click Quick Connect on the menu bar. Input Host Name, User Name, Port, and Authentication of the Linux host and click connect. Then enter the password to access the Linux host.
The default port is 22.
- Click
on the menu bar. The file transfer page is displayed.
By default, Local Name is the file directory on the Windows host and Remote Name is the file directory on the Linux host.
- Select the Minicom installation package and rzsz installation package on the Windows host, right-click on it, and select upload to upload the installation packages to the Linux host.
- Install the rzsz software.
On the Linux client, run the rpm -ivh Installation package name command.
[root@localhost minicom]# rpm -ivh rzsz-0.12.20-853.2.i586.rpm Preparing... #############################################[100%] 1:rzsz #############################################[100%]
- Install the Minicom software.
On the Linux client, run the rpm -ivh Installation package name command.
[root@localhost minicom]# rpm -ivh minicom-2.3-27.24.4.1.x86_64.rpm Preparing... #############################################[100%] 1:minicom #############################################[100%]
- Configure Minicom.
After Minicom has been installed, configure Minicom to connect the Linux host to the storage system.
- Log in to the Linux client and run the minicom -s command. The configuration page is displayed.
- Select Serial port setup and press Enter.
- Configure serial port parameters.
- Log in to the Linux client and run the minicom -s command. The configuration page is displayed.
- Configure the serial port device.
Press A. Input /dev/ttyS0 in Serial Device and press Enter.
- Configure the Baud rate for the serial port.
Press E. The Comm Parameters page is displayed. Generally, the Baud rate of the storage system is 115200. Press E and select 115200. Then press Enter to return to the configuration page.
- On the configuration page, click Save setup as dfl to save the configurations and then click Exit.
- After configuring Minicom, run the minicom command on the Linux client. The following message is returned:
Storage login:
- Enter the user name and password as prompted. The system asks you to change the password upon the first login. Change the password immediately to ensure system security. The following information is displayed if the login is successful:
Storage login: admin Authorized users only. All activity may be monitored and reported. Using keyboard-interactive authentication. password: WARNING: You have accessed the system operated by Huawei. You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited. For security purposes, please change the initial password and log in to the system using the new password. Old password:************* New password:************** Reenter password:************** System Name : Huawei.Storage Health Status : Normal Running Status : Normal Total Capacity : 6.240TB SN : XXXXXXXXXXXXXXXXXXXXXXXXX Location : Product Model : XXXXX Product Version : XXXXX Time : XXXX-XX-XX/16:38:22 +08:00 admin:/>
- The default user name and password of the super administrator are admin and Admin@storage respectively.
- Product Model and Product Version vary with the actual device you have logged in to. The actual interface display prevails.
- You are advised to change your login password periodically in the future by executing the change user_password command. This reduces the password leakage risks.
- If you forget the password of an administrator or a read-only user, contact the super administrator to run change user to reset the password. If you forget the password of the super administrator (admin by default), contact root administrator _super_admin to log in to the CLI through a serial port and run initpasswd to reset the password.
- If you enter incorrect passwords for a specified number of times (3 times by default and equal to the value specified in Number of Incorrect Passwords on the Login Policy page), the account is automatically locked for the period of lock time.
- For V500R007C20 and earlier versions, the lock period is 15 minutes by default.
- For V500R007C30 and later, the lock period is 5 minutes by default
Logging In to the CLI Through the Management Network Port (Windows)
- This document uses the PuTTY software as an example. You can download PuTTY from chiark website.
- You are advised to use the latest version of PuTTY, otherwise you may fail to log in to the storage system.
- Run the PuTTY software. The PuTTY Configuration dialog box is displayed, as shown in Figure 2-5.
- Select Session. Type the IP address of the management network port in the Host Name (or IP address) text box in the Specify the destination you want to connect to area. The IP address 192.168.6.96 is used as an example. Set Connection type to SSH.
- Click Open. The following output is displayed.
login as:
- Enter the user name and password as prompted. You are required to change the password upon your initial login to ensure system security. If the login succeeds, the following information is displayed.
login as: admin Authorized users only. All activity may be monitored and reported. Using keyboard-interactive authentication. password: WARNING: You have accessed the system operated by Huawei. You are required to have a personal authorisation from the system administrator before you use this computer. Unauthorised access to or misuse of this system is prohibited. For security purposes, please change the initial password and log in to the system using the new password. Old password:************* New password:************** Reenter password:************** System Name : Huawei.Storage Health Status : Normal Running Status : Normal Total Capacity : 6.240TB SN : XXXXXXXXXXXXXXXXXXXXXXXXX Location : Product Model : XXXXX Product Version : XXXXX Time : XXXX-XX-XX/16:38:22 +08:00 admin:/>
- The default user name and password of the super administrator are admin and Admin@storage respectively.
- Product Model and Product Version vary with the actual device you have logged in to. The actual interface display prevails.
- You are advised to change your login password periodically in the future by executing the change user_password command. This reduces the password leakage risks.
- If you forget the password of an administrator or a read-only user, contact the super administrator to run change user to reset the password. If you forget the password of the super administrator (admin by default), contact root administrator _super_admin to log in to the CLI through a serial port and run initpasswd to reset the password.
- If you enter incorrect passwords for a specified number of times (3 times by default and equal to the value specified in Number of Incorrect Passwords on the Login Policy page), the account is automatically locked for the period of lock time.
- For V500R007C20 and earlier versions, the lock period is 15 minutes by default.
- For V500R007C30 and later, the lock period is 5 minutes by default