No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Logging In to the Switch Through the Console Interface

Logging In to the Switch Through the Console Interface

Networking Requirement

After logging in to the switch through the console interface for the first time, perform basic configurations on the switch, set the level of users who remotely log in through VTY0 to VTY4 using Telnet to 3, and configure AAA authentication for the users.

Figure 2-1  Logging in to the switch through the console interface

Pre-configuration Tasks

Before logging in to the switch through the console interface, complete the following tasks:

  • Prepare a console cable.
  • Prepare terminal emulation software on the PC.
    NOTE:

    If your PC's operating system provides terminal emulation software (like HyperTerminal in Windows 2000), you do not need to install additional terminal simulation software. If the PC runs on an operating system without terminal emulation software, install third-party terminal simulation software on the PC by referring to the user manual or online help. The third-party software SecureCRT is used as an example.

Procedure

  1. Use the terminal emulation software to log in to the switch through the console interface.
    1. Connect the DB9 female connector of the console cable delivered with the switch to the 9-pin serial interface on the PC, and connect the RJ45 connector to the console interface on the switch, as shown in Figure 2-2 and Figure 2-3.

      Figure 2-2  Connecting the PC to the console interface of the CE12800&12800E
      Figure 2-3  Connecting the PC to the console interface of the CE8800&7800&6800&5800

    2. Start the SecureCRT on the PC, create a connection, select the connected serial interface, and set communication parameters.

      1. Click to create a connection, as shown in Figure 2-4.

        Figure 2-4  Creating a connection
      2. Set the connected interface and communication parameters, as shown in Figure 2-5.

        Select the serial interface that is connected to the switch on your PC. For example, on a PC running a Windows OS, you can view interface information in Device Manager.

        Communication parameter settings on the terminal emulation software must be the same as the default values on the switch, which are: 9600 bit/s baud rate, 8 data bits, 1 stop bit, no parity check, and no flow control.

        NOTE:

        By default, no flow control mode is configured on the switch. Because RTS/CTS is selected in the software by default, you need to deselect RTS/CTS; otherwise, you cannot enter commands.

        Figure 2-5  Setting the connected interface and communication parameters
      NOTE:

      A PC may have more than one serial interface. Select the interface to which the console cable is connected.

      If you modify the serial interface communication parameters on the switch, modify the communication parameters on the PC to ensure that they use the same communication parameter settings, and then set up the connection again.

    3. Press Enter until the following information is displayed to prompt you to set a login password. (The following output is only for reference.)

      An initial password is required for the first login via the console. 
      Continue to set it? [Y/N]: y   
      Set a password and keep it safe! Otherwise you will not be able to login via the console.                                           
                                                           
      Please configure the login password (8-16)
      Enter Password: 
      Confirm Password: 
      NOTE:
      • If the authentication password is not configured, you can directly log in to the switch without entering a password. This mode brings security risks. You are advised to configure an authentication password.

      • The password is a string of 8 to 16 case-sensitive characters. It must be a combination of at least two of the following: uppercase letters, lowercase letters, digits, and special characters excluding question marks (?) and spaces.

      • The password entered in interactive mode is not displayed on the screen.

      You can run commands to configure the switch. Enter a question mark (?) whenever you need help.

  2. Perform basic configurations on the switch. (This step is mostly used for first login to the switch.)

    # Set the system date, time, and time zone.

    <HUAWEI> clock timezone BJ add 08:00:00
    <HUAWEI> clock datetime 20:10:00 2012-07-26

    # Set the switch name and management IP address.

    <HUAWEI> system-view
    [~HUAWEI] sysname Server
    [*HUAWEI] commit
    [~Server] interface meth 0/0/0
    [*Server-MEth0/0/0] ip address 10.137.217.177 24
    [*Server-MEth0/0/0] quit

    # Set the level and authentication mode of Telnet users.

    [*Server] undo telnet server disable
    [*Server] user-interface vty 0 4
    [*Server-ui-vty0-4] user privilege level 3
    [*Server-ui-vty0-4] authentication-mode aaa
    [*Server-ui-vty0-4] quit
    [*Server] aaa
    [*Server-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789
    [*Server-aaa] local-user admin1234 level 3
    [*Server-aaa] local-user admin1234 service-type telnet
    [*Server-aaa] commit
    [~Server-aaa] quit

  3. Verify the configuration.

    After the configuration is complete, you can remotely log in to the switch from PC2 using Telnet.

    Run the following command on the Windows Command Prompt of PC2 to log in to the switch using Telnet.

    C:\Windows\System32> telnet 10.137.217.177

    Press Enter, and enter the user name and password in the login window. If authentication succeeds, the command line prompt of the user view is displayed. (The following output is only for reference.)

    Username:admin1234
    Password:
    Info: The max number of VTY users is 21, and the number of current VTY users on line is 1,
     and total number of terminal users online is 1.
          The current login time is 2012-07-26 20:10:08+08:00.
          First login successfully.
    <Server>

Translation
Download
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 141406

Downloads: 3156

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next