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

Fit AP V200R010C00 Command Reference

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).
telnet

telnet

Function

The telnet command enables you to use the Telnet protocol to log in to another device from the current device.

Format

# Log in to another device through Telnet based on IPv4.

telnet [ -a source-ip-address ] host-ip [ port-number ]

# Log in to another device through Telnet based on IPv6.

telnet ipv6 [ -a source-ipv6-address ] host-ipv6 [ -oi interface-type interface-number ] [ port-number ]

Parameters

Parameter Description Value
-a source-ip-address

By specifying a source IP address, you can use this address to communicate with the server for high network security. If no source address is specified, the system will use the IP address of the local outbound interface to initiate a Telnet connection.

The value is in dotted decimal notation.
-a source-ipv6-address

By specifying a source IP address, you can use this address to communicate with the server for high network security. If no source address is specified, the system will use the IP address of the local outbound interface to initiate a Telnet connection.

The value is a 32-digit hexadecimal number, in the X:X:X:X:X:X:X:X format.
host-ip Specifies the IPv4 address or host name of the remote device. The value is a string of 1 to 255 case-insensitive characters without spaces.
host-ipv6 Specifies the IPv6 address or host name of the remote device. The value is a string of 1 to 255 case-insensitive characters without spaces.
-oi interface-type interface-number Specifies the outbound interface on the local device. If the IPv6 address of the remote host is linked to a local address, the outbound interface must be specified.
port-number Specifies the number of the TCP port that is used by the remote device to provide the Telnet service. The value is an integer that ranges from 1 to 65535. The default value is 23.

Views

User view

Default Level

0: Visit level

Usage Guidelines

Usage Scenario

If one or multiple devices on the network need to be configured and managed, you do not need to connect each device to your terminal for local maintenance. If you have learned the IP address of the device, you can run this command to log in to the device from your terminal for remote device configuration. By doing this, you can use one terminal to maintain multiple devices on the network.

You can press Ctrl_K to terminate an active connection between the local and remote devices.

Precautions

  • Before you run the telnet command to connect to the Telnet server, the Telnet client and server must be able to communicate through Layer 3 and the Telnet service must be enabled on the Telnet server.

  • Logins through Telnet bring security risks because Telnet does not provide any authentication mechanism and data is transmitted using TCP in plain text. The STelnet mode is recommended for the network that has the high security requirement.

Example

# Connect to a remote device through Telnet.

<Huawei> telnet 10.1.1.1
# Use the IPv6 address to connect to a remote device through Telnet.
<Huawei> telnet ipv6 2607:f0d0:1002:11::158
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 90576

Downloads: 61

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