05-22-2014 12:49 AM - edited 03-07-2019 07:30 PM
Hi ,
yesterday I've added my core switch (WS-C4507R+E) to our Cisco Prime infrastructure server to perform some tests. This morning I've noticed that many vty sessions have been opened by the Prime server and I was trying to close them but I'm not able to close them.
SW-CORE-1#who
Line User Host(s) Idle Location
* 1 vty 0 user1 idle 00:00:00 10.159.240.24
2 vty 1 user1 idle 18:22:52 10.162.2.13
3 vty 2 user1 idle 18:20:51 10.162.2.13
4 vty 3 user1 idle 18:18:50 10.162.2.13
5 vty 4 user1 idle 18:16:49 10.162.2.13
6 vty 5 user1 idle 18:14:03 10.162.2.13
7 vty 6 user1 idle 18:12:03 10.162.2.13
8 vty 7 user1 idle 17:56:33 10.162.2.13
9 vty 8 user1 idle 18:08:15 10.162.2.13
10 vty 9 user1 idle 17:54:32 10.162.2.13
11 vty 10 user1 idle 17:52:31 10.162.2.13
12 vty 11 user1 idle 17:50:31 10.162.2.13
13 vty 12 user1 idle 17:47:45 10.162.2.13
14 vty 13 user1 idle 17:45:44 10.162.2.13
Interface User Mode Idle Peer Address
SWPIL138P4#clear line vty 1
[confirm]
[OK]
SW-CORE-1#who
Line User Host(s) Idle Location
* 1 vty 0 user1 idle 00:00:00 10.159.240.24
2 vty 1 user1 idle 18:24:07 10.162.2.13
3 vty 2 user1 idle 18:22:06 10.162.2.13
4 vty 3 user1 idle 18:20:05 10.162.2.13
5 vty 4 user1 idle 18:18:04 10.162.2.13
6 vty 5 user1 idle 18:15:19 10.162.2.13
7 vty 6 user1 idle 18:13:18 10.162.2.13
8 vty 7 user1 idle 17:57:48 10.162.2.13
9 vty 8 user1 idle 18:09:31 10.162.2.13
10 vty 9 user1 idle 17:55:47 10.162.2.13
11 vty 10 user1 idle 17:53:47 10.162.2.13
12 vty 11 user1 idle 17:51:46 10.162.2.13
13 vty 12 user1 idle 17:49:00 10.162.2.13
14 vty 13 user1 idle 17:46:59 10.162.2.13
Interface User Mode Idle Peer Address
I cleared the respective TCP Session using the command : clear tcp tcb XXXXXX but I can't kill the vty session.
I've also removed the switch form the Cisco Prime device inventory.
The switch is a Catalyst C4507R+E with the following IOS-XE cat4500e-universalk9.SPA.03.05.01.E.152-1.E1.bin
Do you have any ideas? A bug software?
thanks
F.Coppotelli
05-22-2014 06:47 AM
Hi ,
Issue this command,
show line
Clear line 1
Clear line 2
Please let me know if this work
BR // Sanjay
10-21-2016 03:14 PM
Hi ,
is there any solution found for this issue.
i am facing the same issue due to cisco Prime that vty session is hung state and not able to clear it.
10-22-2016 07:54 AM
Normally using the clear line x command will terminate the vty session. Have you tried this?
HTH
Rick
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: