转载自:https://blog.51cto.com/jying/2046804

工作...
某工程师说,系统版本问题无法设置Telnet、SSH...吧啦吧啦
telnet看,有如下报错:
Reason="The channel configuration is incorrect."
查看配置:
user-interface vty 0 4
authentication-mode aaa
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password irreversible-cipher %@%@rAHDYAir9w}~")"qec7AO_db17$)!c553IMp].#=|>U_deO%@%@
local-user admin service-type http telnet ssh

解决方法:
    user-interface vty 0 4
         authentication-mode aaa
         protocol inbound all                       //允许协议进入