First Login Through the Console Port
You can log in to a switch that is powered on for the first time through the console port from a PC.
Pre-configuration Tasks
Before logging in to a device through the console port, you have completed the following tasks:
- Power on the switch.
- Prepare a console cable.
Prepare the terminal emulation software.
For details about how to use specific terminal emulation software, see the related software user guide or online help.
Procedure
- Connect the switch to a PC using a console cable. The RJ45 connector connects to the switch's console port, and the DB9 connector connects to the PC's serial port (COM), as shown in Figure 4-1.
If a maintenance terminal (PC) does not have a DB9 serial port, purchase a USB-to-DB9 cable that has a DB9 male connector with nuts. Connect the DB9 female connector of the console cable to the DB9 male connector, and connect the USB connector to the USB port of the maintenance terminal.
- Start the terminal emulation software on the PC. Create a connection, select the connection port, and set communication parameters.
Ensure that the communication parameters you set in the terminal emulation software are consistent with the default parameter settings of the switch's console port. Table 4-1 describes the default parameter settings of the switch's console port.
Table 4-1 Default settings for the switch's console portParameter
Default Setting
Baud rate
9600 bit/s
Flow control
No flow control
Parity
No parity check
Stop bits
1
Data bits
8
User name
The default username and password are available in S Series Switches Default Usernames and Passwords (Enterprise Network or Carrier). If you have not obtained the access permission of the document, see Help on the website to find out how to obtain it.
Password
The default username and password are available in S Series Switches Default Usernames and Passwords (Enterprise Network or Carrier). If you have not obtained the access permission of the document, see Help on the website to find out how to obtain it.
Because flow control is not performed on the device by default, you need to deselect RTS/CTS in the software; otherwise, commands cannot be entered.
- The following information is displayed, prompting you to enter the user name and password. The following information is for reference only.
The default username and password are available in S Series Switches Default Usernames and Passwords (Enterprise Network or Carrier). If you have not obtained the access permission of the document, see Help on the website to find out how to obtain it.
Login authentication Username: Password: Warning: The default password poses security risks. The password needs to be changed. Change now? [Y/N]: y Please enter old password: Please enter new password: Please confirm new password: The password has been changed successfully <HUAWEI>
- After logging in to the device for the first time, you must change the default password. To ensure device security, change the password periodically.
- The password entered in interactive mode is not displayed on the screen.