Default Cisco Router Configuration


This post is in the category: Configurations

Posts here will mostly contain full configuration files for my own reference and will not likely not have much explanation. See posts in the Guides category for more explanational posts.


When building and tearing down Cisco network labs, I used this file to initialize routers. Feel free to try to figure out my lab passwords, they are not that secure 🙂

hostname R
!
enable secret 5 $1$1hmG$Hd8XOSaocqCf1bkwarwss.
username andrew privilege 15 secret 5 $1$M9GD$nUdU5IdHxDA/Ixn20MVTL0
!
ip http server
ip http authentication local
!
ip domain name lab.wellsie.net
ip name-server 8.8.8.8
!
ip ssh version 2
!
!
alias exec s show ip interface brief
! 
!
line con 0
 exec-timeout 600 0
 password console
 logging synchronous
 login
 length 128
 width 125
line aux 0
 exec-timeout 60 0
 password aux
 logging synchronous
 login
 length 32
 width 125
line vty 0 14
 exec-timeout 60 0
 password authenticate
 logging synchronous
 login local
 transport input telnet ssh
!
!
crypto key generate rsa general-keys modulus 1024
end
!
This entry was posted in Configurations and tagged on by .

About Andrew Wells

I have been developing on the LAMP stack since about 2006. I run Ubuntu XFCE on my desktop and have a history of managing Ubuntu and CentOS servers. I code web applications mostly in PHP but have experience with other languages as well. When I'm not working, I can be found working in my home lab or out snowboarding, hiking, camping, or biking depending on the season.

Leave a Reply

Your email address will not be published. Required fields are marked *