starvation line vty Virtual Exec

Unanswered Question
Nov 30th, 2009
User Badges:


I'am have a problem with 7606 router. My script over rcp upload access-list to the running-conf.

Today i'am see that

router# systat
    Line       User       Host(s)              Idle       Location
   1 vty 0                Virtual Exec         00:00:00

on 2 routers have this process.

My script at that time not work,

rcp -4 test.acl [email protected]:running-config
rcp: lost connection

and i'am try upload config over tftp:

copy tftp running-config
Address or name of remote host []?
Source filename [as-saargate.prf]?
Destination filename [running-config]?
Accessing t
Loading as-saargate.prf from (via Vlan740): !
[OK - 189 bytes]

%Error opening system:/running-config (Device or resource busy)

Guru say please,

how clear Virtual Exec session?

Cle line 1 don't help, line busy

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
yjdabear Mon, 11/30/2009 - 09:01
User Badges:
  • Gold, 750 points or more

What version of IOS is this?

Sounds like you either have to reload or try the tip at the end of this doc:

"A hung telnet session leads to a high CPU due to the Virtual Exec process. In order to clear the hung telnet session, the device needs to be reloaded in most cases. The other way to clear the hung telnet session is to clear the TCP process. The TCP process can be identified with the command show tcp brief as in this output:

Router#show tcp brief
TCB       Local Address           Foreign Address        (state)
02FA62D0        dhcp-171-69-104-.3013  ESTAB

From the above output, the TCP process 02FA62D0 needs to be cleared in order to clear the hung telnet session with the command clear tcp tcb 0x02fa62d0 "

Vadim_hoster Mon, 11/30/2009 - 23:52
User Badges:

#show tcp vty 0

empty output (

ios (c7600s72033_rp-ADVENTERPRISEK9-M), Version 12.2(33)SRD3

commmand show tcp brief

show me all of the working tcp sessions. but session that was buzz not present.

Vadim_hoster Wed, 12/02/2009 - 08:44
User Badges:


also we have same problem on CAT-6506, SUP-720XL

IOS: Cisco IOS Software, s72033_rp Software (s72033_rp-ADVENTERPRISEK9_WAN-M), Version 12.2(33)SXH3a

May be you know other  way, how it better manipulate config in routers?

We need dynamicaly update prefix list and acl filters.

Thank you!

yjdabear Wed, 12/02/2009 - 09:34
User Badges:
  • Gold, 750 points or more

Your IOS versions seem new enough to take advantage of "Configuration Replace and Configuration Rollback" without having to reboot. Specifically,

"Configuration Replace

The configure replace command provides the capability to replace the current running configuration with any saved Cisco IOS configuration file. This functionality can be used to revert to a previous configuration state, effectively rolling back any configuration changes that were made since the previous configuration state was saved. "

So, instead of replacing the running-config with an older version, maybe you could point it to a newer copy (with new prefix and ACL) on your TFTP/RCP/FTP/SCP server, say "configure replace ftp://10.10.10..50/my-new-config.txt".

The traditionial "copy tftp running" cannot pull it off because it merges, while "copy tftp start" overwrites but requires reloading.


This Discussion