Telnet Protocol Principles
Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Foreword
As the enterprise network expands, supported devices may exist over a larg
er geographical distance due to the presence of branch offices that are con
sidered part of the enterprise domain, and that require remote administrati
on. Additionally the administration of the network is often managed from a
central management location from which all devices are monitored and ad
ministered. In order to facilitate this administration, the telnet protocol, on
e of the earliest protocols to be developed, is applied to manage devices. T
he principles surrounding the protocol and its implementation are introduc
ed in this section.
age 2 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
Upon completion of this section, you will be able to:
Explain the application and principles surrounding telnet.
Establish the telnet service on supporting Huawei devices.
age 3 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Telnet Application
Telnet Client Telnet Server
Local Configuration environment
Telnet Client Telnet Server
Remote Configuration environment
Telnet represents a bidirectional text based terminal emulation program for
use over local and remote networks.
age 4 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Telnet Client/Server Model
Telnet Server Telnet Client
TCP
Pseudo Connection
TCP/IP TCP/IP Terminal driver
Terminal driver
Kernel Kernel
User at
Login Shell
Terminal
The Telnet architecture demonstrates how user keystrokes are interpreted
by terminal drivers before delivery over TCP ensues.
age 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Authentication Mode
Authentication Mode Description
None Login without authentication
AAA AAA authentication
Authentication through the password
Password
of a user terminal interface
age 6 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Telnet Configuration
Ethernet 0/0/0
10.1.1.2/24 10.1.1.1/24
Telnet Client Telnet Server
[Huawei]interface Ethernet 0/0/0
[Huawei-Ethernet0/0/0]ip address 10.1.1.1 24
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]authentication-mode password
[Huawei-ui-vty0-4]set authentication password cipher
Enter Password(<8-128>): huawei12
Telnet requires authentication be applied to the virtual teletype interface b
efore a connection can be established.
age 7 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Telnet Configuration
Ethernet 0/0/0
10.1.1.2/24 10.1.1.1/24
Telnet Client Telnet Server
<Host>telnet 10.1.1.1
Trying 10.1.1.1 ...
Press CTRL+K to abort
Connected to 10.1.1.1 ...
Login authentication
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 2013-04-19 16:32:00.
<Huawei>
age 8 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Summary
If the telnet service has been enabled, but a user is unable to establish a telnet c
onnection, what are the possible reasons for this?
age 9 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com