How to clear unwanted vty line in config

Unanswered Question
Apr 29th, 2008
User Badges:

For some reason, one of my customers switches has an awkward vty line configuration that I have not before seen.

Here is the config on the switch:

line con 0

line vty 0 3

transport input none

line vty 4

password xxx

transport input ssh

line vty 5 15

password xxx

transport input ssh

I am not certain why the "line vty 0 3" is configured. I just want to delete it.

I have been entering the following and getting the following error:

bhisc3# conf t

Enter configuration commands, one per line. End with CNTL/Z.

bhisc3(config)#no line vty 0 3

% Can't delete last 16 VTY lines


Can anyone advise me of how to configure this to remove the line vty 0 3 from the config?? It should be part of the inherent line vty 0 4 group anyhow...


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Kevin Dorrell Tue, 04/29/2008 - 07:31
User Badges:
  • Green, 3000 points or more

The only way you will get rid of it is to make sure that VTY 0 to 4 have identical configs. At the moment, they are different. Try:

</p><p>line vty 0 4</p><p> password xxx </p><p> transport input ssh </p><p>

Kevin Dorrell



This Discussion