Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

VTY lines and clearing them

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

Re: VTY lines and clearing them

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 "

New Member

Re: VTY lines and clearing them

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

Re: VTY lines and clearing them

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.

New Member

Re: VTY lines and clearing them

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

Silver

Re: VTY lines and clearing them

Hi ,

What is the image on your router ?

Try to install new IOS version and check the problem.

Thanks,

Satish

349
Views
0
Helpful
5
Replies