How to configure the Huawei switch SSH login mode (stelnet)

Source: Internet
Author: User
Tags switches

The use of two weeks of time, the College building building 12 switches all configured to complete, although the number is not much, but this configuration switch landing mode, compared with the previous changes, considering the college network security and some client poisoning, the virus will use Telnet to automatically try to crack the password, So starting from this year, the original Telnet switch login mode, will be changed to SSH login mode, that is, stelnet mode, the following configuration is required command (double slash behind is the command comment, do not need to input, purple generation can be user according to their own situation to enter the prompt information):


The following cases take the S5700 series switches for example, other models can also support


SYS//Enter privileged mode

SYSN jiaoxue4#building5f_s5700s (10.0.0.1) //Modify switch command prompt line

Stelnet Server Enable//open Stelnet protocol

VLAN 40//Switch Create VLAN

VLAN 812

Qu//vlan after the creation is complete, exit the VLAN configuration

AAA//Enter AAA mode, add remote login authentication method and user information

Authentication-scheme Default

Authorization-scheme Default

Accounting-scheme Default

Domain default

Domain Default_admin

Local-user 51cto Password cipher WANG666

Local-user 51cto Privilege Level 15

Local-user 51cto service-type ssh

Qu


User-interface vty 0 4//Add remote login mode and adopt protocol method (including Stelnet protocol)

Authentication-mode AAA

User Privilege Level 15

Protocol Inbound All


SSH user 51cto authentication-type Password//Add authentication Users Login mode

SSH user 51cto service-type stelnet//Set protocol used by authenticated users


Interface Vlanif40 //Set the management IP address of the switch

IP address 10.0.0.2 255.255.255.0


After the above settings, you can ping the management IP address is successful, if successful, you can enter in privileged mode "Stelnet IP Address" login switch (note that in privileged mode is the command line prompt is the box number, enter the SYS command).



How to configure the Huawei switch SSH login mode (stelnet)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.