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

CLI-based Configuration Guide - Basic Configuration

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Basic configuration supported by the device.
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

Example for Performing Basic Configuration on the Device at First Login

Networking Requirements

After logging in to the device through the console port, perform basic device configuration, and set the user level to 15 and authentication mode to AAA for users 0-4 who perform remote login through Telnet.

Figure 7-10  Networking diagram for configuring the device through the console port

Configuration Roadmap

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

  2. Configure 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. Configure the device.

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

    <Huawei> clock timezone BJ add 08:00:00
    <Huawei> clock datetime 20:10:00 2015-03-26

    # Set the device name and IP address of the management interface.

    <Huawei> system-view
    [Huawei] sysname Server
    [Server] interface gigabitethernet 0/0/0
    [Server-GigabitEthernet0/0/0] ip address 10.137.217.177 24
    [Server-GigabitEthernet0/0/0] quit

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

    [Server] telnet server enable
    [Server] user-interface vty 0 4
    [Server-ui-vty0-4] user privilege level 15
    [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 privilege level 15
    [Server-aaa] local-user admin1234 service-type telnet
    [Server-aaa] quit

  3. Verify the configuration.

    # When completing the configuration, you can log in to the device through Telnet on PC2.

    # Access the command line interface of Windows operating system and log in to the device through Telnet.

    C:\Documents and Settings\Administrator> telnet 10.137.217.177

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

    Username:admin1234
    Password:
    <Server>

Configuration Files

#
 sysname Server
#
 clock timezone BJ add 08:00:00
#
aaa
 local-user admin1234 password irreversible-cipher %^%#*~Br";[g6Pv5Zf>$~{hY+N!`{$<[Y{;l02P)B,EBz\1FN!c+%^%#
 local-user admin1234 privilege level 15
 local-user admin1234 service-type telnet
#
interface GigabitEthernet0/0/0
 ip address 10.137.217.177 255.255.255.0
#
 telnet server enable
#
user-interface vty 0 4
 authentication-mode aaa
 user privilege level 15
#
return
Translation
Download
Updated: 2019-08-09

Document ID: EDOC1100034225

Views: 46349

Downloads: 101

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