今天上班配置华为交换机发现telnet 127.0.0.1死活不行,后查阅资料后得知华为设备新版本V2R20以及以后交换机telnet配置需要在全局通过
telnet server-source all-interface 允许所以接口能够telnet
#
aaa
local-user admin password cipher admin123 privilege level 15
local-user admin service-type telnet
#
#
user-interface vty 0 4
authentication-mode aaa
protocol inbound telnet
user-interface vty 16 20
#
#
telnet server enable
telnet server-source all-interface # 新的版本需要在全局开启允许所有接口telnet
#