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.
Configuration Roadmap
-
Log in to the device through the console port.
Procedure
- Log in to the device from PC1 through the console port. For details, see Logging In Through the Console Port.
-
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
-
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>