场景:早上网速慢,想用远程的方式登录思科的路由器发现一直登录不了。后面查看原来是23端口被别人占用了。
具体解决方法如下:
1.查看具体用户
arp-wuke#show user
Line User Host(s) Idle Location
* 0 con 0 idle 00:00:00
67 tty 1 59.173.13.146
2.发现无法clear line vty [NO] 删除
进阶方法如下:
arp-wuke#show tcp brief ###找出你要剔出的用户
TCB Local Address Foreign Address (state)
8188EAA4 210.77.83.28.23 116.25.56.207.5218 CLOSED
82275EFC 210.77.83.28.23 14.33.31.14.41864 CLOSEWAIT
81D4F548 210.77.83.28.23 222.186.34.56.56970 CLOSED
815F2DC4 210.77.83.28.23 113.52.192.75.46597 CLOSEWAIT
81D257FC 210.77.83.28.23 116.25.56.207.57603 CLOSEWAIT
81D8453C 210.77.83.28.23 59.173.13.146.2213 ESTAB
815F275C 210.77.83.28.23 117.212.161.83.51667 CLOSEWAIT
81593DD8 210.77.83.28.23 222.186.34.56.40471 CLOSED
81D5205C 210.77.83.28.23 198.13.104.180.50500 CLOSED
815DBC48 210.77.83.28.23 213.248.183.132.44804 CLOSEWAIT
81D20934 210.77.83.28.23 82.185.78.130.56260 CLOSEWAIT
815B0C1C 210.77.83.28.23 113.52.192.75.53265 CLOSEWAIT
81D87254 210.77.83.28.23 108.203.94.175.41735 CLOSEWAIT
81D20DD8 210.77.83.28.23 222.186.34.56.64060 CLOSED
81DC12A8 210.77.83.28.23 85.105.88.72.46511 CLOSEWAIT
815A5F88 210.77.83.28.23 201.235.16.171.4116 CLOSEWAIT
81D83E78 210.77.83.28.23 187.85.158.34.51989 CLOSEWAIT
81D59E60 210.77.83.28.23 212.253.91.29.36590 CLOSEWAIT
81625764 210.77.83.28.23 187.85.158.34.47292 CLOSEWAIT
81C85DF4 210.77.83.28.23 91.155.48.43.32988 CLOSEWAIT
arp-wuke#clear tcp tcb 81D8453C
[confirm]
[OK]
arp-wuke#show user
Line User Host(s) Idle Location
* 0 con 0 idle 00:00:00
Interface User Mode Idle Peer Address
阅读(3251) | 评论(0) | 转发(0) |