Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cisco: NSP

Unable to clear vty session on 3750

 

 

Cisco nsp RSS feed   Index | Next | Previous | View Threaded


Djamel.Bouazza at tecteo

Jul 31, 2012, 2:29 AM

Post #1 of 3 (810 views)
Permalink
Unable to clear vty session on 3750

Hi all,

I have an issue today with nombers of vty sessions.We have no console access for this device.See below please :

750_DataCenter#sh users
Line User Host(s) Idle Location
1 vty 0 adminit idle 1d01h scavone-02.ale.be
2 vty 1 adminit idle 1d01h scavone-02.ale.be
3 vty 2 adminit idle 1d01h scavone-02.ale.be
4 vty 3 adminit idle 17:33:17 probook012.staff.win.be
5 vty 4 adminit idle 16:59:13 probook012.staff.win.be
6 vty 5 adminit idle 16:15:11 probook012.staff.win.be
7 vty 6 adminit idle 16:47:55 probook012.staff.win.be
8 vty 7 adminit idle 16:40:58 probook012.staff.win.be
9 vty 8 adminit idle 16:13:12 probook012.staff.win.be
10 vty 9 adminit idle 16:12:34 probook012.staff.win.be
11 vty 10 adminit idle 16:10:46 probook012.staff.win.be
12 vty 11 adminit idle 15:41:14 probook012.staff.win.be
13 vty 12 adminit idle 00:01:52 probook012.staff.win.be
14 vty 13 admin idle 00:00:06 212-166-0-248.win.be
* 15 vty 14 adminit idle 00:00:00 lap104.ale.be

When I cleared , I have the same output
3750_DataCenter_VOO#clear line vty 10
[confirm]
[OK]
3750_DataCenter#sh users
Line User Host(s) Idle Location
1 vty 0 adminit idle 1d01h scavone-02.ale.be
2 vty 1 adminit idle 1d01h scavone-02.ale.be
3 vty 2 adminit idle 1d01h scavone-02.ale.be
4 vty 3 adminit idle 17:34:00 probook012.staff.win.be
5 vty 4 adminit idle 16:59:56 probook012.staff.win.be
6 vty 5 adminit idle 16:15:54 probook012.staff.win.be
7 vty 6 adminit idle 16:48:38 probook012.staff.win.be
8 vty 7 adminit idle 16:41:40 probook012.staff.win.be
9 vty 8 adminit idle 16:13:55 probook012.staff.win.be
10 vty 9 adminit idle 16:13:17 probook012.staff.win.be
11 vty 10 adminit idle 16:11:28 probook012.staff.win.be
12 vty 11 adminit idle 15:41:57 probook012.staff.win.be
13 vty 12 adminit idle 00:00:20 probook012.staff.win.be
14 vty 13 admin idle 00:00:13 212-166-0-248.win.be
* 15 vty 14 adminit idle 00:00:00 lap104.ale.be

Version is : Version 12.2(53r)SE1, RELEASE SOFTWARE (fc1)

Thanks in advance for your help.
Djamel Bouazza


Ce message transmis par voie électronique ainsi que toutes ses annexes contiennent des informations qui peuvent être confidentielles ou protégées. Ces informations sont uniquement destinées à l’usage des personnes ou des entités précisées dans les champs ‘A’, ‘Cc’ et ‘Cci’. Si vous n’êtes pas l’un de ces destinataires, soyez conscient que toute forme, partielle ou complète, de divulgation, copie, distribution ou utilisation de ces informations est strictement interdite. Si vous avez reçu ce message par erreur, veuillez nous en informer par téléphone ou par message électronique et détruire les informations immédiatement. Ce message n’engage que son signataire et aucunement son employeur.

_______________________________________________
cisco-nsp mailing list cisco-nsp [at] puck
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


nick at foobar

Jul 31, 2012, 4:02 AM

Post #2 of 3 (722 views)
Permalink
Re: Unable to clear vty session on 3750 [In reply to]

On 31/07/2012 10:29, Bouazza Djamel wrote:
> I have an issue today with nombers of vty sessions.We have no console
> access for this device.See below please :

three options here:

1. configure a timer on the vty and use TCP keepalives to stop this from
happening in future:

switch#conf t
switch(config)#service tcp-keepalives-in
switch(config)#service tcp-keepalives-out
switch(config)#line vty 0 15
switch(config)# exec-timeout 5

If this fails to clear things after 30 minutes, then try:

2. clear the TCB (transmission control block - an internal TCP data
structure) for each vty line.

You can get the TCB id for each line using:

switch#show tcp brief

It's in the first column. Confirm it first with:

switch#show tcp tcb <tcbid>

You can clear the TCB using:

switch#clear tcp tcb <tcbid>

If this fails:

3. reboot.

Probably #2 will work this time and #1 will prevent the problem from
recurring in future.

Nick

_______________________________________________
cisco-nsp mailing list cisco-nsp [at] puck
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


diosbejgli at gmail

Jul 31, 2012, 6:08 AM

Post #3 of 3 (723 views)
Permalink
Re: Unable to clear vty session on 3750 [In reply to]

Hi,

Try the 'clear line vty <num>' command as well to clear out the stuck session.

The version number you provided is the rommon version, you need the
first line of 'sh ver' instead. You might be hitting CSCte52821
though.

Best regards,
Andras

On Tue, Jul 31, 2012 at 1:02 PM, Nick Hilliard <nick [at] foobar> wrote:
> On 31/07/2012 10:29, Bouazza Djamel wrote:
>> I have an issue today with nombers of vty sessions.We have no console
>> access for this device.See below please :
>
> three options here:
>
> 1. configure a timer on the vty and use TCP keepalives to stop this from
> happening in future:
>
> switch#conf t
> switch(config)#service tcp-keepalives-in
> switch(config)#service tcp-keepalives-out
> switch(config)#line vty 0 15
> switch(config)# exec-timeout 5
>
> If this fails to clear things after 30 minutes, then try:
>
> 2. clear the TCB (transmission control block - an internal TCP data
> structure) for each vty line.
>
> You can get the TCB id for each line using:
>
> switch#show tcp brief
>
> It's in the first column. Confirm it first with:
>
> switch#show tcp tcb <tcbid>
>
> You can clear the TCB using:
>
> switch#clear tcp tcb <tcbid>
>
> If this fails:
>
> 3. reboot.
>
> Probably #2 will work this time and #1 will prevent the problem from
> recurring in future.
>
> Nick
>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp [at] puck
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
_______________________________________________
cisco-nsp mailing list cisco-nsp [at] puck
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Cisco nsp RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.