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

Configuration Guide - Basic Configuration

S7700 and S9700 V200R010C00

This document describes methods to use command line interface and to log in to the device, file operations, and system startup 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).
Example for Performing Basic Configuration on the Device at First Login Through the Console Port

Example for Performing Basic Configuration on the Device at First Login Through the Console Port

Networking Requirements

After logging in to the device for the first time through the console port, perform basic configuration, and set the user level to 15 and authentication mode to AAA for users 0-4 who perform remote login through Telnet. Ensure that there is a reachable route between PC2 and the device.

Figure 4-4  Networking diagram for performing basic configuration on the device through the console port

Configuration Roadmap

  1. Log in to the device through the console port.

  2. Perform basic configuration on the device.

Procedure

  1. Log in to the device from PC1 through the console port. For details, see Logging In to a Device for the First Time Through a Console Port.
  2. Perform basic configuration on the device.

    # 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
    NOTE:

    Before setting the current date and time, run the clock timezone command to set the time zone. If the time zone is not set first, the clock datetime command configures the UTC time.

    # Set the device name and management IP address.

    <HUAWEI> system-view
    [HUAWEI] sysname Server
    [Server] interface ethernet 0/0/0
    [Server-Ethernet0/0/0] ip address 10.137.217.177 24
    [Server-Ethernet0/0/0] quit
    # Configure a default route for the device, assuming that the device gateway address is 10.137.217.1.
    [Server] ip route-static 0.0.0.0 0 10.137.217.1

    # Set the user level and authentication mode for Telnet users.

    [Server] telnet server enable
    [Server] user-interface vty 0 4
    [Server-ui-vty0-4] protocol inbound telnet
    [Server-ui-vty0-4] authentication-mode aaa
    [Server-ui-vty0-4] user privilege level 15
    [Server-ui-vty0-4] quit
    [Server] aaa
    [Server-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789
    [Server-aaa] local-user admin1234 privilege level 15
    [Server-aaa] local-user admin1234 service-type telnet
    [Server-aaa] quit
    

  3. Verify the configuration.

    After the configuration is complete, you can log in to the device through Telnet from PC2.

    # Access the Windows CLI and log in to the device through Telnet by running the following command.

    C:\Documents and Settings\Administrator> telnet 10.137.217.177

    Press Enter. On the displayed login interface, enter the user name and password. If the authentication succeeds, the CLI for the user view is displayed. (The following information is only for reference.)

    Login authentication
    
    
    Username:admin1234
    Password:
    Info: The max number of VTY users is 20, and the number
          of current VTY users on line is 1.
          The current login time is 2012-07-26 20:10:05+08:00.
    <Server>

Configuration Files

Switch configuration file

#
sysname Server
#
telnet server enable
#
clock timezone BJ add 08:00:00
#
aaa
 local-user admin1234 password irreversible-cipher $1a$aVW8S=aP=B<OWi1Bu'^R[=_!~oR*85r_nNY+kA(I}[TiLiVGR-i/'DFGAI-O$
 local-user admin1234 privilege level 15
 local-user admin1234 service-type telnet
#
interface Ethernet0/0/0
 ip address 10.137.217.177 255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 10.137.217.1
#
user-interface vty 0 4
 authentication-mode aaa
 user privilege level 15
 protocol inbound telnet
#
return
Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000141895

Views: 57638

Downloads: 214

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