Using Telnet to Log In to Other Devices

Telnet is a client/server application that allows you to log in to remote devices to manage and maintain the devices.

Context

Telnet uses the client/server model to present a user interface that enables a terminal to remotely log in to a server. You can log in to a device, and then log in to another device on the network through Telnet to configure and manage the device. You do not need to connect a hardware terminal to each device.

An IP address can be configured for an interface on the device and specified as the source IP address of a Telnet connection for security verification.

Telnet does not have a secure authentication mode, and transmits data using TCP in plaintext. This is not safe. On a network with high security requirements, STelnet is recommended.

Procedure

  • Run the following command based on the type of the source IP address.

    • The source address is an IPv4 address.

      Run the telnet [ -i { interface-type interface-number | interface-name } | [ vpn-instance vpn-instance-name ] [ -a source-ip-address ] ] host-ip-address [ port-number ] command to use Telnet to log in to the Telnet server through an IPv4 address.

    • The source address is an IPv6 address.

      Run the telnet ipv6 [ -a source-ip6 ] [ public-net | vpn-instance ipv6-vpn-name ] ipv6-address [ -oi { interface-type interface-number | interface-name } ] [ port-number ] command to use Telnet to log in to the Telnet server through an IPv6 address.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >