Your browser failed to load CSS style sheets. Your browser or web proxy might not support elliptic-curve TLS

Building network automation solutions

9 module online course

Start now!
back to overview

Simplify your lab work

If you do a lot of tests in a router lab, you're probably getting upset when you have to retype the login and enable password whenever you log into a router. What I do in my labs is to disable VTY login, set the default privilege level to 15 and disable exec timeout (to stop the router from terminating my session).

line con 0
 exec-timeout 0 0
 privilege level 15
line vty 0 4
 exec-timeout 0 0
 privilege level 15
 no login

Obviously, this would not bring you additional points on the CCIE lab exam :)

Please read our Blog Commenting Policy before writing a comment.


  1. I also like adding "transport preferred none" so the router doesn't try to resolve typos as commands. Using this command you can still ping by name.

  2. Also fix the logging output so it restores your typing.

    line xxx
    logging synchronous


Constructive courteous comments are most welcome. Anonymous trolling will be removed with prejudice.