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)