Orbit-Computer Solutions.Com

Computer Training & Networking Solutions
Chika Nwokeoma, EzineArticles.com Basic Author < <
 
IP
 
 
 
Add to Favorite
 
 
 

Basic Cisco Router configuration

This page includes basic feature-by-feature configuration procedures, I must assume you have generated you IP addressing scheme for your network.

After your router boots, the following prompt displays:

Would you like to enter the initial configuration dialog [yes]:

  Enter no.

You want to clear an old configuration out of your router and return it to a factory default configuration. Before you begin your configuration on an old router that you have previously used for another purpose, it is a good idea to completely erase the old configuration:-

Router1#erase startup-config
 
Erasing the nvram filesystem will remove all files! Continue? [confirm] <enter>
[OK]
Erase of nvram: complete
 
Router1#reload
Proceed with reload? [confirm] <enter>

 

After you erase your startup configuration file and reload, the router will enter its configuration dialog mode.

--- System Configuration Dialog ---

   Would you like to enter the initial configuration dialog? [yes/no]: no

   Would you like to terminate autoinstall? [yes]: yes

   Press RETURN to get started!

Router>

There are different modes in Cisco IOS command- line interface, there different mode have their own primary functions and sets of commands.

The first mode you come across is :-

Router> – You are in User EXEC mode

Then type ‘enable’ and hit the enter key

You go to privileged EXEC mode which will display like this:

Router#

In this mode you could ask or query (argument) the router for some information like:

Show ? – The router will provide a list of information on its configuration which most times are very helpful.

Type ‘config terminal’ and hit the enter key to take you

into Global configuration mode :-

Router1(config)#

In this mode:

you can name your router or hostname

configure your telnet line and console lines

Configure the console and telnet passwords.

Interface configurations, Routing Protocols, etc.

Lets do it one after the other:

Configuring telnet line and password:

Router(config)#enable secret cisco
Router(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit

Configuring console line and password:

Router(config)#line con 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit

Configuring hostname or Router name

Router(config)#hostname HQ
HQ(config)#exit

Configuring interfaces connected to the router ports (fast Ethernet / serial ports)

HQ#config t
Enter configuration commands, one per line.  End with CNTL/Z.
HQ(config)#interface fa0/0
HQ(config-if)#ip address 192.168.1.1 255.255.255.0
HQ(config-if)#no shut
HQ(config-if)#exit

You may have noticed how the router name has changed from Router to HQ.

Configure the serial port with number depending on the connected port number:-

 

HQ(config)#interface serial0/0/0
HQ(config-if)#ip address 192.168.4.1 255.255.255.0
HQ(config-if)#no shut
HQ(config-if)#exit
HQ(config)#
 
Configure the DCE interface (If interface is a DCE) with clock rate:-

 

HQ(config)#interface serial0/0/0
HQ(config-if)#clock rate 64000
HQ(config-if)#^Z
HQ#
 
  
 
 

 


 

 
 
 
 
 
 
 
 
 

        

  

 
Copyright 2009 - 2011. Orbit-Computer-Solutions.Com. All rights reserved.   Web Links  Privacy Policy  
 
The information provided on this website is for informational purposes only. Orbit-computer-solutions.com makes no warranties, either expressed or implied,
 with respect to any information contained on this website.
Orbit computer solutions.com reserves the right to change this policy at any time without prior notice.
Cisco and All related product mentioned in any portion of this website are the registered trademarks of Cisco.com their respective owners.
Microsoft Windows and All related products mentioned in any portion of this website are registered trademark of Microsoft Corporation.