telnet连接华为交换机(配置通过telnet远程登录华为交换机)
1.配置管理IP:
<HUAWEI>system-view
[HUAWEI]int vlanif 1
[HUAWEI-Vlanif1]ip address 172.16.0.254 24
[HUAWEI-Vlanif1]quit
2.开启telnet服务并配置VTY认证方式AAA和用户级别:
[HUAWEI]telnet server enable
[HUAWEI]user-interface vty 0 4
[HUAWEI-ui-vty0-4]protocol inbound telnet
[HUAWEI-ui-vty0-4]authentication-mode aaa
[HUAWEI-ui-vty0-4]quit
[HUAWEI]aaa
[HUAWEI-aaa]local-user huawei password irreversible-cipher admin@huawei.com
[HUAWEI-aaa]local-user huawei service-type telnet
[HUAWEI-aaa]local-user huawei privilege level 15
Warning: This operation may affect online users, are you sure to change the user privilege level ?[Y/N]y
[HUAWEI-aaa]quit
3.V200R020或V200R021以上版本远程无法登录,telnet绑定所有端口命令:
[HUAWEI]telnet server-source all-interface
Warning: Telnet server source configuration will take effect in the next login. Continue? [Y/N]:y
Warning: It expandes the range of accessed Ip.
4.修改telnet默认端口配置命令:
[HUAWEI]telnet server port 9023
Warning: This operation will cause all the online Telnet users to be offline. Continue?[Y/N]:y
Info: Succeeded in changing the listening port of the Telnet server.
5.验证Telnet服务信息:
[HUAWEI]display telnet server status
TELNET IPv4 server :Enable
TELNET IPv6 server :Disable
TELNET server port :9023
TELNET server source interface :
ACL4 number :0
ACL6 number :0
6.配置保存命令:
<HUAWEI>save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Info: Please input the file name (*.cfg, *.zip ) [vrpcfg.zip]:
flash:/vrpcfg.zip exists, overwrite?[Y/N]:y
Save the configuration successfully
<HUAWEI>
7.telnet远程登录高版本第一次登录需要修改配置的初始密码:
初始密码是第2步配置的密码,修改初始密码后别忘记保存配置。
1.配置管理IP
2.开启telnet服务并配置VTY认证方式AAA和用户级别
3.V200R020或V200R021以上版本远程无法登录,telnet绑定所有端口命令
4.修改telnet默认端口配置命令
5.验证Telnet服务信息
6.配置保存命令
7.telnet远程登录高版本第一次登录需要修改配置的初始密码
,免责声明:本文仅代表文章作者的个人观点,与本站无关。其原创性、真实性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容文字的真实性、完整性和原创性本站不作任何保证或承诺,请读者仅作参考,并自行核实相关内容。文章投诉邮箱:anhduc.ph@yahoo.com