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


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


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).
Configuring Reverse Telnet Login (Direct Connection Through a Console Cable)

Configuring Reverse Telnet Login (Direct Connection Through a Console Cable)

This section describes how to configure reverse Telnet and use this function to log in to a device through a console cable.


As shown in Figure 9-11, a multimedia software terminal (dumb terminal) is connected to the console interface of the router through a console cable, and the router is connected to a server. The terminal cannot communicate with the server directly. To enable the dumb terminal to communicate with the server, you can configure reverse Telnet on the router. The router then acts as a client to transmit data from the terminal to the server.
Figure 9-11  Networking for login through reverse Telnet


  1. Run system-view

    The system view is displayed.

  2. Run user-interface console 0

    The console user interface view is displayed.

  3. Run connect host [ port-number ] [ -a source-ip-address | -i interface-type interface-number ] [ -t interval ]

    The dumb terminal is configured to set up a connection with the remote server through the router.

    By default, a dumb terminal cannot set up a connection with a remote server.

  4. (Optional) Run exline-breaker enable

    The function of adding a line break is enabled.

    By default, the function of adding a line break is disabled.

    To configure the calling end to add line break \n when sending carriage return line break \r\n so that the calling and called ends have the same data, perform this step to enable the function of adding a line break.

  5. Run undo shell

    The terminal service is disabled on the console user interface.

    By default, the terminal service is enabled on the console user interface.


    For the device with the Config button, you can also press and hold down the config button for less than 5s, the terminal service on the console user interface will be switched between shell and undo shell once.

    On the AR502EG-L&AR502EG-La&AR502EG-Lj&AR502EG-L-PD&AR502EGRb-L&AR502EGRc-Lc&AR502EGW-L&AR502EGRz-L&AR502EGRz-Lc&AR502CG-L&AR509CG-Lc&AR509CG-Lt&AR509CG-Lt-7, if you run the undo shell or shell command on the console user interface, or use the config button to switch between undo shell and shell on the console user interface, the corresponding configuration will be saved to a specified area in the flash memory and will not be lost regardless of whether you run the save command to save the configuration. Therefore, the undo shell and shell configurations of the console user interface in the outputs of the display saved-configuration and display current-configuration commands may be different after the device restarts. The actual configuration is the same as that in the display current-configuration command output.

  6. Connect the dumb terminal to the console interface of the router using a console cable and log in to the remote server from the terminal.

Verifying the Configuration

Run the display tcp status command to check the current TCP connection status.

Updated: 2019-05-20

Document ID: EDOC1100034225

Views: 44810

Downloads: 100

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