Hi folks..I have started my first steps into Cisco, & would be sharing my small experiments in it. Actually , this time I am covering the basics using GNS3 which is a powerful open source network simulator to simulate a simple topology of 2 routers with their basic configuration & commands. I assume you have worked with GNS3 or atleast know how to load IOS & make a simple topology..
So, firstly download GNS3 & install it. Get IOS images from and load them (if you are really not sure of this step, mail me, I will expand the basics more)
The topology I created is this -
2 routers connected via gigabit . What we will be doing is -
- Set router password.
- Set telnet password
- Set Console Password
- Encrypt All passwords.
- Set Ip Address of routers.
Anyways, I start by right clicking on R2 router.
Connected to Dynamips VM "R2" (ID 7, type c7200) - Console port
To get into privilege mode, type this command.
To configure router, type this command ..
Enter configuration commands, one per line. End with CNTL/Z.
To set router password & encrypt all passwords type these commands
R2(config)#enable secret router2
Now to set console & its password type these commands
R2(config)#line console 0
Now to set telnet (vty/virtual terminal) & its password type these commands
R2(config)#line vty 0 4
Once done, you can now configure the interface by typing these commands
R2(config-if)#desc ROUTER LAN 2 GIGABIT INTERFACE
R2(config-if)#ip address 192.168.1.20 255.255.255.0
*Feb 19 19:56:42.035: %LINK-3-UPDOWN: Interface GigabitEthernet1/0, changed state to up
*Feb 19 19:56:42.035: %ENTITY_ALARM-6-INFO: CLEAR INFO Gi1/0 Physical Port Administrative State Down
*Feb 19 19:56:43.035: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0, changed state to up
*Feb 19 19:56:47.723: %SYS-5-CONFIG_I: Configured from console by console
Once done, you can see the configuration by typing -
Current configuration : 932 bytes
upgrade fpd auto
service timestamps debug datetime msec
service timestamps log datetime msec
enable secret 5 $1$trNZ$uNTgBIA1QG43/4YEB29lf/
no aaa new-model
no ip domain lookup
multilink bundle-name authenticated
no ip address
description ROUTER LAN 2 GIGABIT INTERFACE
ip address 192.168.1.20 255.255.255.0
no ip http server
no ip http secure-server
logging alarm informational
line con 0
exec-timeout 0 0
password 7 070C2E425D061500
line aux 0
line vty 0 4
password 7 06120A2D424B1D
If done properly, it will look like more or less the same I have pasted above. Also, as you can see, all the passwords are encrypted. In the similar way you can configure Router 1. Make a note os passwords, I have kept quite simple passwords just to demonstrate the configuration. Please keep secure passwords , read my article on how to create secure passwords.
I hope you enjoyed this simple guide, till next time.