S5700 如何删除单独显示的vty 4

发布时间:  2017-05-18 浏览次数:  299 下载次数:  0
问题描述
S5700 V200R008C00SPC500
当前设备存在vty 0 3也存在vty 4,如何删除单独显示的vty 4,查看配置显示如下:
user-interface vty 0 3
 authentication-mode aaa
user-interface vty 4
 authentication-mode aaa
 protocol inbound telnet
一般设备都只存在vty 0 4一个接口,如何恢复
解决方案

设备默认最大ssh、telnet登录用户数为5,就是vty 0 4,总共5个用户

根据以上配置,vty 4这个用户被指定为telnet,vty 0 3这4个用户还是默认的认证方式(V2R8默认ssh)

只需进入vty 4视图下protocol inbound ssh恢复默认,确保vty 4的配置与vty 0 3配置相同即可:

[S5700-ui-vty4]protocol inbound ssh                                           
[S5700-ui-vty4]dis th                                                         
#                                                                                                                                   
user-interface vty 0 4                                                         
 authentication-mode aaa                                                                                                            
#                                 

END