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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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 Through a Console Port

Logging In Through a Console Port

After the device is powered on for the first time, you can log in to it from a PC through the console port to configure and manage the device.

Pre-configuration Tasks

Before logging in to the device through the console port, complete the following tasks:

  • Preparing the console cable
  • Installing the terminal emulation software on the PC
    NOTE:

    You can use the built-in terminal emulation software on the PC. If no built-in terminal emulation software is available, use the third-party terminal emulation software. For details, see the software user guide or online help.

Configuration Procedure

Use the terminal emulation software to log in to the device through the console port, and complete basic configurations for the device.

Default Configuration

Table 1-19 Default configuration of the device console port

Parameter

Default Setting

Transmission rate

115200 bit/s

Flow control mode

None

Parity bit

None

Stop bit

1

Data bit

8

Procedure

  1. Use the terminal emulation software to log in to the device through the console port.
    1. Insert the DB9 connector of the console cable delivered with the product to the 9-pin serial port on the PC, and insert the RJ45 connector to the console port of the device.
    2. Start the terminal simulation software on the PC. Establish a connection, and set the connected interface and communication parameters.

      NOTE:

      A PC may have multiple connection interfaces; therefore, the interface connected through the console cable is selected in this example. Generally, COM1 is selected.

      If the serial port communication parameters of the device are modified, modify the communication parameters on the PC accordingly (ensure that the parameter values are the same) and re-establish the connection.

    3. Press Enter until the following information is displayed. Enter the password and confirm password. (The following information 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, users can log in to the device without entering the password. This mode has potential security risks. It is recommended that the authentication password be configured.

      • The password is a string of 8 to 16 case-sensitive characters. The password must contain at least two of the following character types: upper-case and lower-case letters, digits, and special characters except the question mark (?) and space.

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

      • When you log in to the system again in password authentication mode, enter the password that is set during the initial login.

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

  2. Configure the device.

    Set the IP address for the device, and the user level and service type for the STelnet user.

    1. Set the device name and IP address.

      The IP address is used to log in to the device through STelnet.

      Table 1-20 Actions for setting the device name and IP address

      Action

      Command

      Description

      Enter the system view.

      system-view

      -

      Set the device name.

      sysname host-name

      By default, the device host name is HUAWEI.

      Enter the interface view.

      interface interface-type interface-number

      You can assign the IP address to the management interface or another Layer 3 interface (such as the VLANIF interface) for login through Telnet.

      Assign the IP address to an interface.

      ip address ip-address { mask | mask-length }

      If a new IP address is assigned to an interface, the new IP address overrides the original one.

      NOTE:

      Configure the IP address and routes according to the network plan to ensure that the routes between the terminal and device are reachable.

      Submit the configuration.

      commit

      -

    2. Configure the user level and service type for the STelnet user.

      Table 1-21 Actions for configuring the user level and service type for the STelnet user

      Action

      Command

      Description

      Enter the system view.

      system-view

      -

      Enter the VTY user interface view.

      user-interface vty first-ui-number [ last-ui-number ]

      -

      Configure the AAA authentication mode for the VTY user interface.

      authentication-mode aaa

      By default, no authentication mode is used on the VTY user interface.

      To configure the VTY user interface to support SSH, configure the AAA authentication mode for the VTY user interface. If the AAA authentication mode is not set, the protocol inbound ssh command does not take effect.

      Enter the AAA view.

      aaa

      -

      Configure the local user name and password.

      local-user user-name password irreversible-cipher irreversible-cipher-password

      -

      Configure the service type for the local user.

      local-user user-name service-type ssh

      -

      Configure the level for the local user.

      local-user user-name level level

      -

      Return to the system view.

      quit

      -

      Commit the configuration.

      commit

      -

  3. Check the configuration.

    • Run the display clock command to check the current date and clock setting.
    • Run the display ip interface brief [ interface-type [ interface-number ] ] command to check brief information about the IP address on the interface.
    • Run the display user-interface [ ui-type ui-number1 | ui-number ] [ summary ] command to check the physical attributes and configuration of the user interface.
    • Run the display aaa local-user command to check the local user list.

Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 59165

Downloads: 3623

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