Got it

Example for Performing Basic Configuration on the Device at First Login

Latest reply: Sep 28, 2018 15:49:05 5142 3 0 0 0

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 1 Networking diagram for configuring the device through the console port
PC——(console)AR(GE0/0/0)————PC2
 

Configuration Roadmap

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

Procedure

  1. Log in to the device from PC1 through the console port. For details, see Logging In Through the 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:0 2012-07-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] 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 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 XP 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>


 

 
  • x
  • convention:

oyshuo
Created Mar 7, 2014 11:26:12

#
 sysname Server
#
 clock timezone BJ add 08:00:00
#
aaa
 local-user admin1234 password cipher %@%@wSj=##g9INJIZ$Ip'6f7;rd!%@%@ 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
#
user-interface vty 0 4
 authentication-mode aaa
 user privilege level 15
#
return
View more
  • x
  • convention:

faysalji
Moderator Author Created Sep 28, 2018 15:48:19

Good example
View more
  • x
  • convention:

faysalji
Moderator Author Created Sep 28, 2018 15:49:05

see Logging In Through the Console Port.
,<<This link needs to be updated>>
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.