1, switch on Telnet service
[Huawei]telnet server?] #查看有enable还是disable选项, select the corresponding opening mode.
[Huawei]telnet Server Enable #enable选项开启Telnet服务 (General series for this)
[Huawei]undo telnet Server disable #disable选项开启Telnet服务 (CE high-end series is typically this)
2. Configure the maximum number of vty user interfaces (maximum numbers of simultaneous logins available)
[Huawei]user-interface maximum-vty #默认是5, this can not be set
3. Configuring the terminal properties of the Vty user interface
[huawei]user-interface vty 0 #上面是15所有这里是0 14 If you choose the default here is 0 4
[Huawei-ui-vty0-14]protocol Inbound Telnet #配置vty支持telnet协议
4. Configuring user authentication for the Vty user interface
[Huawei-ui-vty0-14]authentication-mode AAA #aaa认证
[Huawei-ui-vty0-14]quit #退出vty配置界面
5. Configure login Authentication Mode
[HUAWEI]AAA
[huawei-aaa]local-user admin1234 password? , &NB Sp #查看可以选择的密码 Select
[huawei-aaa]local-user admin1234 password simple huawei12#$ &N Bsp #密码选项simple account admin1234 password huawei12#$ ( General series for this)
[huawei-aaa]local-user admin1234 password irreversible-cipher huawei12#$ #密码选项irreversible-cipher account admin1234 password huawei12#$ (CE high end series is typically this)
[Huawei-aaa]local-user admin1234 service-type telnet #配置接入服务类型
[Huawei-aaa]local-user admin1234 Privilege Level 3 #配置账号的级别, Default Level 3 is the privilege of the Super Administrator
[Huawei-aaa]quit #退出
Huawei Switches Configure Telnet Login