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

S12700 V200R013C00 Configuration Guide - Basic Configuration

This document describes the configurations of Basic, including CLI Overview, EasyDeploy Configuration, USB-based Deployment Configuration, Logging In to a Device for the First Time, CLI Login Configuration, Web System Login Configuration, File Management, Configuring System Startup, ISSU Configuration, BootLoad Menu Operation.
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).
Login Failure Through STelnet

Login Failure Through STelnet

Fault Description

Login to the SSH server through STelnet fails.

Procedure

  1. Check whether the SSH service is enabled on the SSH server.

    Log in to the SSH server through the console port or using Telnet and run the display ssh server status command to check the SSH server configuration.

    If the STelnet service is disabled, run the stelnet [ ipv4 | ipv6 ] server enable command to enable the STelnet service on the SSH server.

  2. Check whether the access protocol is correctly configured in the VTY user interface view.

    Run the user-interface vty command on the SSH server to enter the user interface view and then run the display this command to check whether protocol inbound is set to ssh or all. If not, run the protocol inbound { ssh | all } command to allow STelnet users to log in to the switch.

  3. Check whether an RSA, a DSA, or an ECC public key is configured on the SSH server.

    A local key pair must be configured when the switch works as the SSH server.

    Run the display rsa local-key-pair public, display dsa local-key-pair public, or display ecc local-key-pair public command on the SSH server to check the current key pair. If no information is displayed, no key pair is configured on the server. Run the rsa local-key-pair create, dsa local-key-pair create, or ecc local-key-pair create command to create a key pair.

  4. Check whether an SSH user is configured on the SSH server.

    Run the display ssh user-information command to view the SSH user configuration. If no configuration is available, run the ssh user, ssh user authentication-type, and ssh user service-type commands in the system view to create an SSH user and set an authentication mode and the service type for the SSH user.

  5. Check whether the number of login users on the SSH server reaches the upper limit.

    Log in to the switch through the console port and run the display users command to check whether all VTY user interfaces are in use. If the number of login users reaches the upper limit, run the user-interface maximum-vty 15 command to increase the maximum number of login users to 15.Then, configure the supported protocol type, authentication mode, and user level on the extended VTY user interface.

  6. Check whether an ACL is bound to the VTY user interface of the SSH server.

    Run the user-interface vty command on the SSH server to enter the user interface view and then run the display this command to check whether an ACL is configured on the VTY user interface. If so, record the ACL number.

    Run the display acl acl-number command on the SSH server to check whether the IP address of the STelnet client is denied in the ACL. If so, run the undo rule rule-id command in the ACL view to delete the deny rule and then run the corresponding command to modify the ACL and permit the IP address of the client.

  7. Check the SSH version on the SSH client and server.

    Run the display ssh server status command on the SSH server to check the SSH version.

    If the SSHv1 client logs in, run the ssh server compatible-ssh1x enable command to enable the version compatibility function on the server.

  8. Check whether first-time authentication is enabled.

    Run the display this command in the system view to check whether first-time authentication is enabled on the SSH client.

    If not, the initial login of the SSH client fails because validity check on the public key of the SSH server fails. Run the ssh client first-time enable command to enable first-time authentication on the SSH client.

Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065643

Views: 10738

Downloads: 33

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