No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Basic Configuration

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Basic configuration supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Using Telnet to Log In to Another Device From the Local Device

(Optional) Using Telnet to Log In to Another Device From the Local Device

This section describes how to use Telnet to log in to another device from the local device.

Context

A device can function as a Telnet server to allow other devices to log in or as a Telnet client to log in to other devices. When a terminal lacks the necessary software or no reachable route exists between the terminal and target device, you can log in to an intermediate device and then use Telnet to log in to the target device from the intermediate device. The intermediate device functions as a Telnet client.

The device can function as a Telnet IPv6 client. You can specify the source address or interface of the Telnet client to ensure security of the management IP address.

As shown in Figure 9-4, a PC connects to a device through network 1 and the device connects to a Telnet server through network 2. The PC cannot directly communicate with the Telnet server. In this situation, you can configure the device as a Telnet client and log in to the Telnet server from the device.
Figure 9-4  Configuring a device as a Telnet client to log in to another device

Pre-configuration Tasks

Before configuring a device as a Telnet client to log in to another device, complete the following tasks:

  • Log in to the device from a terminal.
  • Configure a reachable route between the device and Telnet server.
  • Enable the Telnet server function on the Telnet server.
  • Obtain the Telnet user name, password, and port number configured on the Telnet server.

Procedure

  1. Run system-view

    The system view is displayed.

  2. (Optional) Run telnet client-source { -a source-ip-address | -i interface-type interface-number }

    The source IP address of the Telnet client is set.

    The source address of the Telnet client displayed on the server is the same as that configured in this step.

  3. Run quit

    Exit the system view.

  4. Run either of the following commands to log in to another device based on the network address type.

    • In IPv4 mode, run the telnet [ -a source-ip-address ] host-ip [ port-number ] command to log in to another device as a Telnet client.

    • In IPv6 mode, run the telnet ipv6 [ -a source-ip-address ] host-ipv6 [ -oi interface-type interface-number ] [ port-number ] command to log in to another device as a Telnet IPv6 client.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034225

Views: 45123

Downloads: 100

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next