Nov
12th

Cisco Router Basic Configuration

Files under Cisco, Networking | Posted by calvyn

Long time ago before I attend my CCNA in Penang, I have no idea how those Network Administrator/IT Engineer configure Cisco router and switch. Just know they have good knowledge on the cisco coding.

While configure a cisco router, there are few kind of mode can be use:

  1. User Mode
  2. Priviledge Mode
  3. Config Mode
  4. Interface Mode
  5. line mode

Cisco Router Basic Configuration Need:

  1. Password + Secret
  2. Hostname
  3. Interface (IP and subnet mask, no shut, and clock rate)
  4. Line configuration

Below are some coding on Basic configuration for cisco router:

Enter Privilege Mode

Router > enable

Enter Configuration Mode

Router# configuration terminal

Password need when enter into Privilege Mode next time

Router(config)# enable password p@ssw0rd

Router(config)#enable secret s3cr3t

Configure Hostname / Router Name

Router(config)#hostname myrouter1

[Set the hostname to myrouter1]

Configure Ethernet Port Command

myrouter1(config)# inte f0/0

[Enter Ethernet Interface Mode ( f0/0 for interface1, f0/1 for interface 2)]

myrouter1(config-if)# ip add 192.168.0.1 255.255.255.0

[Set IP address and subnet mask]

myrouter1(config-if)#no shut

[Active the port]

Configure Serial Port Command

myrouter1(config-if)#inte s 0/0/0

[Enter Serial Interface Mode]

myrouter1(config-if)#ip add 192.168.20.1 255.255.255.0

[Set IP address and subnet mask]

myrouter1(config-if)#no shut

[Active the port]

Set the Router BandwidthSet the bandwidth to 1G, Clock Rate only apply at Master Router

myrouter1(config-if)#clock rate 1000000

[Set the bandwidth to 1Gig]

myrouter1(config-if)#exit

Secure Console

myrouter1(config)#line con 0

myrouter1(config-line)#password c0ns0l3

myrouter1(config-line)#login

myrouter1(config-line)#exit

Secure Aux line – Auxiliary Password, use to connect a modem to a router for remote console connection, Aux only available for old router, new router does not apply

myrouter1(config)#line aux0

myrouter1(config-line)#password auXo

myrouter1(config-line)#login

myrouter1(config-line)#exit

Secure VTY line – Virtual Terminal Password, Use to secure your login from telnet or ssh

myrouter1(config)#line vty 0 4

myrouter1(config-line)#password v1rtu@1

myrouter1(config-line)#login

myrouter1(config-line)#exit

myrouter1(config)#exit

Save setting

myrouter1#wr me

or

myrouter1#copy run start

The above code are just a very basic configuration for cisco router, there are more advance configuration need for routing purpose such as static routes, default routes and dynamic routes. Within dynamic routes, there are also RIP Routes (Routing Information Protocol), IGRP Routes (Interior Gateway Routing Protocol) OSPF Routes (Open Shortest Path First) and EIGRP Routes (Enhanced Interior Gateway Routing Protocol)

All this routing require different command for different protocol, I am still studying on all this cisco command, and soon, will post the easy explanation here when I have better understanding on cisco router routing configuration. To master the cisco router basic configuration, have to do more practice on Packet Tracer, Cisco Simulation Software. To learn how to use packet tracer , you also can visit the Packet Tracer Video Tutorial that I post quite some time ago, another Packet Tracer Video Tutorial Part 3 is coming up soon :)


26 Responses to “Cisco Router Basic Configuration”

  1. By sunny on Nov 15, 2008 | Reply

    hi there! hmmm..this info is mind-boggling,hehehe! My two bros-in-law are in to this stuff, they’re both ECEngineers but the “heck”!!! i really dont have the nerves to try their field,hehehehe! thanks for dropping a comment on my site buddy! wish u luck!!!!

  2. By calvyn on Nov 16, 2008 | Reply

    sunny >
    Thank for your visit, I hope one days i will pro like ur bros-in-law

  3. By ChampDog on Nov 17, 2008 | Reply

    Recently I can’t access to my router using the existing password for some reasons, I wonder it has been hacked or device malfunction.

  4. By calvyn on Nov 18, 2008 | Reply

    ChampDog >
    There are also some device password recovery step, I try to make a time, post it here :)

  5. By ChampDog on Nov 18, 2008 | Reply

    That will be great. I haven’t got a chance to fix it. The time I realized it, I need to travel to oversea already.

  6. By Garfield on Nov 23, 2008 | Reply

    ChampDog,
    i suggest u to enable the ssh access to ur router/modem.
    it would be easier for u to manage ur router/modem remotely.

    If u do not have a static IP, just register in dyndns.com and enable the ddns in your router/modem.

    it is safe to enable this.

  7. By Byron on Jan 28, 2009 | Reply

    I am very very very much having a big big big trouble on this one. I passed CCNA 1 and am now into CCNA 2 but I still don’t understand these stuffs. I am so stupid. Thanks for this one. it’s a big help!

  8. By shivam sharma on May 1, 2009 | Reply

    hi its to good and easy to learn but i want it continu

  9. By ChowSY on May 3, 2009 | Reply

    has been searching this for very long time already, do you have other configuration tutorial such as HP, and 3Com switch and router?

  10. By veeramani on Jun 2, 2009 | Reply

    it is very pretty.

  11. By Fendi on Jul 27, 2009 | Reply

    Hi,

    Currently I’m working at TIME dotCom as a network engineer, do you now the current market price for a freelancer to charge a customer to provide services for configuring a Cisco 2811 router? Thanks

  12. By bhugz on Mar 26, 2010 | Reply

    tae,, sarap mag routing,,,,

  13. By salina guirvogo on May 19, 2010 | Reply

    i want to become a cisco router configurator.

  14. By ganesh on Jul 23, 2010 | Reply

    it was a very well compiled material…u have done a excellent job..thx :)

  15. By sajjad ali on Sep 8, 2010 | Reply

    hhmmmm this is very easy tips plz keep this process continu

  16. By ishtiaq on Sep 29, 2010 | Reply

    this is subperb my sweet bro .. today i first time open the packet tracer , and did not know what to do .. but when i see ur stuff it gave me quite good info ..best of luck .. waiting for next coming document

  17. By Alfonso on Oct 7, 2010 | Reply

    pota bogo… LITSE KA!!!!!!!!!!!

  18. By natsumi on Dec 13, 2010 | Reply

    tq…. the configuration here make me understood to do my homework….

  19. By Tushar on Jan 12, 2011 | Reply

    what is clock rate & why your are use 100000.

  20. By Manish Kumar on Feb 12, 2011 | Reply

    It’s a Nice configuration

  21. By Agus Setiawan on May 20, 2011 | Reply

    Hi..thanks a lot

  22. By gopeeta on May 26, 2011 | Reply

    ooops! just got some satisfaction with your stuff…unlock more, would be very appreciative

  23. By Paul on Jun 28, 2011 | Reply

    Hey..in cisco, all you very need to know is Ip, even you are very good in commands but if you do not know how to figure out your Ip you can be in very big trouble.

    You need to know 4 things in IP address: class, host, subnet and wildcard. and you must figure out this answer in under 1 minute..if you can get this things done in 1 minutes..you are good to go , command is very important too :)

  24. By Paul on Jun 28, 2011 | Reply

    Just and idea..before you move forward to further cisco,, please makesure IP address is first..and the 7 layer. :)

  25. By robin on Aug 4, 2011 | Reply

    it works but i also need routing techniques and further steps
    thanks

  26. By Steve on Oct 4, 2011 | Reply

    Thanx a lot it was so nyc.

Post a Comment