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

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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 server-source

telnet server-source

Function

The telnet server-source command specifies a source IP address for a Telnet server.

The undo telnet server-source command deletes the source IP address of a Telnet server.

By default, the source interface of a Telnet server is not specified.

Format

telnet server-source { -a [ ipv6 ] source-ip-address | -i [ ipv6 ] interface-type interface-number }

undo telnet [ ipv6 ] server-source

Parameters

Parameter Description Value
ipv6

Configures the Telnet server to support an IPv6 source address.

-
-a source-ip-address

Specifies the source IP address for the Telnet server. The loopback IP address is recommended.

-
-i interface-type interface-number

Specifies the loopback interface of the Telnet server as the source interface.

If no loopback interface is configured or no IP address is configured for the source interface, the command fails to be executed.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If no source IP address is specified, the Telnet server uses the source IP address specified by routes to send packets. The source IP address must be configured for an interface with stable performance, such as the loopback interface. Using the loopback interface as the source IP address simplifies the ACL rule and security policy configuration. This shields the IP address differences and interface status impact, filters incoming and outgoing packets, and implements security authentication.

Precautions

  • After the source IP address is specified for the Telnet server, you must use the specified IP address to log in to the Telnet server.
  • If the Telnet service has been enabled, the Telnet service restarts after the telnet server-source command is executed.

Example

# Set the source IP address of the Telnet server to LoopBack0.

<Huawei> system-view
[Huawei] telnet server-source -i loopback 0
Warning: To make the server source configuration take effect, the telnet server will be restarted. Continue? [Y/N]: y
Info: Succeeded in setting the source interface of the telnet server to LoopBack0
Info: Telnet is insecure, recommended to use stelnet with encryption features.
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 89780

Downloads: 122

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