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).
Overview of CLI Login Methods

Overview of CLI Login Methods

You can log in to a device through its console port or using Telnet or STelnet. After successful login, you can run commands on the command line interface (CLI) to manage and configure the device.

You can log in to a device using one of the CLI methods described in Table 9-1 to configure and manage the device.
Table 9-1  CLI login methods
Login Method Advantages Disadvantages Applicable Scenario Description

Logging In Through the Console Port

A dedicated console cable is used for effective device control.

You cannot remotely log in to a device to maintain it.

  • When you need to configure a device that is powered on for the first time, log in to the device through the console port.
  • If you cannot remotely log in to a device, you can log in through the console port.
  • If a device fails to start, you can enter the BootROM menu through the console port to diagnose the fault or upgrade the device.

Console port login is the basis for other login methods.

By default, you can log in to a device through a console port and has the user level of 15 after login.

Logging In Through Telnet

You can log in to one device using Telnet to remotely manage and maintain several devices without the need to connect each device to a terminal, which facilitates operations.

Data is transmitted using TCP in plain text, which is a potential security risk.

If you need to configure a device remotely, log in to the device using Telnet. Telnet login is typically used with networks that do not require high security.

By default, you cannot log in to a device directly using Telnet. Before using Telnet to log in, you must locally log in to the device through a console port, and perform the following configurations:
  • Configure a reachable route between the user terminal and device. (By default, no management IP address is configured on the device.)
  • Enable the Telnet server function and set parameters.
  • Configure a user interface for Telnet login.

Logging In Through STelnet

The Secure Shell (SSH) protocol provides secure remote logins on insecure networks to ensure data integrity and reliability, and secure data transmission.

The configuration is complex.

You can log in to a device using STelnet on networks with high security requirements. STelnet, based on the SSH protocol, provides powerful authentication functions to ensure information security and protect devices against attacks, such as IP spoofing attacks.

By default, you cannot log in to a device directly using STelnet. Before using STelnet to log in, you must locally log in to the device through a console port or remotely log in using Telnet and perform the following configurations:
  • Configure a reachable route between the user terminal and device. (By default, no management IP address is configured on the device.)
  • Enable the SSH server function and set parameters.
  • Configure a user interface for SSH login.
  • Configure an SSH user.

Logging In Through Redirection

Only remote serial port devices can be managed.

This login method applies only when two devices are connected through serial ports.

To manage a remote device that can transmit data only through a serial port, configure the redirection function on the router. The remote device can be a router, switch, or intelligent electricity meter that supports serial ports.

By default, the redirection function is disabled on a router. To use this function, configure the asynchronous serial port of the router to work in flow mode and enable the redirection function.

Logging In Through Reverse Telnet

Dumb terminals can only be directly connected to a router using asynchronous cables. The reverse Telnet function enables the dumb terminals to establish connections with a remote server through the router.

This login method applies only when two devices are connected through serial ports.

To connect dumb terminals that only have serial ports to a remote server, enable the reverse Telnet service on the router connected to the dumb terminals.

By default, the reverse Telnet function is disabled on a router. To use this function, configure the asynchronous port of the router to work in flow mode and configure parameters for connection between the dumb terminals remote server.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034225

Views: 44887

Downloads: 100

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