
8
Configure Telnet.
3
[HUAWEI]
telnet server enable
//By default, the Telnet function is disabled.
[HUAWEI]
user-interface vty 0 4
//An administrator generally logs in to
the switch through Telnet. AAA authentication is recommended.
[HUAWEI-ui-vty0-4]
protocol inbound telnet
//V200R006 and earlier versions support Telnet. V200R007 and later versions
support SSH by default. If the switch runs V200R007 or a later version, run
this command before logging to the switch using Telnet.
[HUAWEI-ui-vty0-4]
authentication-mode aaa
[HUAWEI-ui-vty0-4]
idle-timeout 15
[HUAWEI-ui-vty0-4]
quit
[HUAWEI]
aaa
[HUAWEI-aaa]
local-user admin password irreversible-cipher Helloworld@6789
//Configure the user name and password for Telnet login. The user name is
case-insensitive, whereas the password is case-sensitive.
[HUAWEI-aaa]
local-user admin privilege level 15
//Set the administrator
account level to 15 (highest).
[HUAWEI-aaa]
local-user admin service-type telnet
Use of STelnet V2 to log in to the switch is recommended because the
Telnet protocol has security risks. For this configuration procedure, see
the corresponding
Configuration Guide - Basic Configuration
based on
the version of the device.
Log in to the switch from an operation terminal through Telnet. When the user view
prompt is displayed, you have successfully logged in.
4
C:\Documents and Settings\Administrator>
telnet 10.10.1.1
//Enter the
management IP address and press Enter.
Login authentication
Username:
admin
//Enter the user name and password.
Password:
Info: The max number of VTY users is 5, and the number
of current VTY users on line is 1.
The current login time is 2014-05-06 18:33:18+00:00.
<HUAWEI>
//User view prompt