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

Fat AP and Cloud AP V200R008C00 CLI-based Configuration Guide

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

Pre-configuration Tasks

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

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

    You can use the built-in terminal emulation software (such as the HyperTerminal of Windows 2000/XP) 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 Process

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 3-8  Default configuration of the device console port
Parameter Default Setting
Transmission rate 9600 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 to the 9-pin serial port on the PC, and insert the RJ45 connector to the console port of the device, as shown in Figure 3-1.

      Figure 3-1  Connecting to the device through the console port

    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.)

      Please configure the login password:
      Info: A plain text password is a string of 8 to 128 case-sensitive characters and must be a combination of at least two of the follow
      ing: uppercase letters A to Z, lowercase letters a to z, digits, and special characters. A cipher text password contains 56 or 68 ch
      aracters.
      Enter password:
      Confirm password:
      NOTE:
      • 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. Confirm or configure the country code.

    Info: Current mode: Fat (working independently).                         
    Warning: The default country code is CN. Ensure that AP radio attributes comply 
    with laws and regulations in different countries. Do you want to change the coun
    try code? [Y/N]:y                                                         
    Please enter the country code:US      
    <Huawei>
    NOTE:
    Confirm or configure the country code upon the first login or empty configuration (in scenarios such as factory setting restoration and cloud/Fit mode switching to Fat mode). To modify the default country code, configure a correct country code. For details, see Table 1 in the Command Reference.

  3. Configure the device.

    Set the time, date, name, and IP address for the device, and the user level and authentication mode for the Telnet user.

    1. Set the time and date on the device.

      Table 3-9  Actions for setting the time and date on the device
      Action Command Description

      Set the time zone.

      clock timezone time-zone-name { add | minus } offset

      • add: adds the specified time zone offset to the Coordinated Universal Time (UTC). That is, the sum of the default UTC time zone and offset is equal to the time zone specified by time-zone-name.

      • minus: subtracts the specified time zone offset from the UTC. That is, the remainder obtained by subtracting offset from the default UTC time zone is equal to the time zone specified by time-zone-name.

      Set the current time and date.

      clock datetime HH:MM:SS YYYY-MM-DD

      If the time zone is not set, the time set using this command is considered as the UTC time. Before setting the current time, you are advised to confirm the current zone and set the correct time zone offset.

      (Optional) Set the daylight saving time (DST).

      clock daylight-saving-time time-zone-name one-year start-time start-date end-time end-date offset

      Or

      clock daylight-saving-time time-zone-name repeating start-time { { first | second | third | fourth | last } weekday month | start-date1 } end-time { { first | second | third | fourth | last } weekday month | end-date1 } offset [ start-year [ end-year ] ]

      • By default, the DST is not configured.
      • If you configure periodic DST, the combination of the DST start time and end time can be any of the following: date+date, day of the week+day of the week, date+day of the week, and day of the week+date. For the configuration method, see clock daylight-saving-time.

        NOTE:

        When the DST is used, you can run the clock timezone time-zone-name { add | minus } offset command to set the time zone. The time zone in the output of the display clock command is, however, the name of the DST time zone. When the DST ends, the system displays the original time zone.

    2. Set the device name and IP address.

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

      Table 3-10  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

      -

      Enter the interface view.

      interface interface-type interface-number

      You can assign the IP address to the Layer 3 interface (such as the VLANIF interface).

      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.

    3. Configure the user level and authentication mode for the Telnet user.

      Table 3-11  Actions for configuring the user level and authentication mode for the Telnet user
      Action Command Description

      Enter the system view.

      system-view

      -

      Enable the telnet service.

      telnet server enable

      Upon factory delivery, the Telnet server is disabled.

      Enter the VTY user interface view.

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

      -

      Set the Telnet user level.

      user privilege level level

      By default, users who log in through the VTY user interface can access commands at level 0.

      Set the authentication mode for the Telnet user to AAA authentication.

      authentication-mode aaa

      By default, password authentication is used for console port login and aaa authentication is used for login on the VTY user interface.

      NOTE:

      The system provides two authentication modes: AAA authentication and password authentication. AAA authentication requires both the user name and password, which is more secure than password authentication. This topic describes how to configure AAA authentication. For the configuration method of other authentication modes, see Configuring the VTY User Interface.

      Enter the AAA view.

      aaa

      -

      Configure the user name and password for login through Telnet.

      local-user user-name password irreversible-cipher password

      -

      Set the login mode to Telnet.

      local-user user-name service-type telnet

      -

    4. Save the configuration.

      After basic configuration is complete, you are advised to save the configuration. If the configuration information is lost, the connection and configuration for the first login must be performed again.

      Table 3-12  Actions for saving the configuration
      Action Command Description

      Return to the user view.

      return

      -

      Save the configuration.

      save

      The current configuration has been saved in the configuration file. For detailed operations, see Saving the Configuration File.

  4. 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 local-user command to check the local user list.

Translation
Download
Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 118026

Downloads: 309

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