Disable All Connections to Virtual Terminals

Unanswered Question
Apr 8th, 2008
User Badges:

I just received a replacement for a failed Catalyst 3508G. I want to prohibit all access to vty lines and only the switch to be managed from the console port.

I have mental block on how I did this in the past. Can someone provide me a hint?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Tue, 04/08/2008 - 10:05
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

You could add "transport input none" under line vty 0 15.

mcrockett Tue, 04/08/2008 - 10:12
User Badges:

That was too simple. Why didn't I remember that in the first place. :)

Collin Clark Tue, 04/08/2008 - 10:06
User Badges:
  • Purple, 4500 points or more

Under the VTY lines, enter no login or no login authentication [your method name].


Richard Burts Wed, 04/09/2008 - 08:05
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN


It seems intuitive that no login would prevent access. But it does not work that way. no login would only supress the prompt for passwords and would not prevent access to the vty. The alternative to transport input none would be to configure no exec on the vty lines.




This Discussion