cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
807
Views
0
Helpful
5
Replies

VTY lines and clearing them

b.withrow
Level 1
Level 1

Wondering if anyone has ever had a problem clearing vty lines. I've done it a million times, with success. But now I have a few devices that have some "hung" sessions. I try to clear them, the command is accepted, but the connection is still there. Any ideas? Also, i've read the definitions of "exec timeout" and "session timeout" but wondering what everyone else uses. I've always used EXEC.

5 Replies 5

Anand Narayana
Level 6
Level 6

Can i know on which devices your facing this problem & what command you tried issuing on that device?

the usual one is "clear line vty "

It is a 10012. I am trying clear line vty x:

ts1euclwi# who

Line User Host(s) Idle Location

2 vty 0 idle 6w1d admin.gld.charter.com

3 vty 1 idle 4w3d admin.gld.charter.com

4 vty 2 idle 3w2d

north1.stpt.wi.charter.com

5 vty 3 idle 3w3d

north1.stpt.wi.charter.com

* 6 vty 4 bwithrow idle 00:00:00

68-115-71-26.static.eucl.wi.charter.com

8 vty 6 maint idle 2w0d admin.gld.charter.com

Interface User Mode Idle Peer Address

ts1euclwi#clear line vty 1

[confirm]

[OK]

ts1euclwi#who

Line User Host(s) Idle Location

2 vty 0 idle 6w1d admin.gld.charter.com

3 vty 1 idle 4w3d admin.gld.charter.com

4 vty 2 idle 3w2d

north1.stpt.wi.charter.com

5 vty 3 idle 3w3d

north1.stpt.wi.charter.com

* 6 vty 4 bwithrow idle 00:00:00

68-115-71-26.static.eucl.wi.charter.com

8 vty 6 maint idle 2w0d admin.gld.charter.com

Interface User Mode Idle Peer Address

you have issued clear line vty 1, but there is not line vty 1 in that, the avialable vty are 2,3,4,5,6 & 8. *6 indicates that you current session.

hope this helps.

rate this post if satisfied.

Actually that's incorrect the number "following" the VTY is the line.

smothuku
Level 7
Level 7

Hi ,

What is the image on your router ?

Try to install new IOS version and check the problem.

Thanks,

Satish

Getting Started

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:

Review Cisco Networking products for a $25 gift card