Friday 31 January 2014

Router Configuration

Components of Router


  • Console port : This Port is used for configure a Router.
  • 10/100 Ethernet Port : This port is used to connect LAN, or Switches
  • Serial Port : It is used for Router-Router Communication
  • Aux : It is used for connecting a modem.

Router RAM

  • SDRAM : Router running on this RAM, If Router is switch off, Data(Configuration with out saved) will be lost.
  • NVRAM : During a Start up, Router is booted from this RAM, 

Router works in two mode
  1. User mode
  2. Privilege mode
When IOS is loaded by router Ram, By Default the router is in User mode
In this mode router is secure. Various Encryption Method is applied on it.

In Privilege Mode, We can configure the router.

step by step command for configure the router.

When router is in User Mode, Then prompt is looked like this.
 For transferring from user mode to Privilege Mode we have to write enable command
In Privilege Mode,the prompt is looked like this


the various command for security, Router startup message, interface configuration,etc..


R1(config)#hostname R1
the command hostname is used for changing name of host

R1(config)#banner motd "This is Router 1"
this command is used for displaying message "This is Router 1",when router start

R1(config)#enable secret abdul :
this command set password abdul, for changing User Mode to Privilege Mode.

R1(config)#line console 0
R1(config-line)#password console
R1(config-line)#login
R1(config-line)#exit
line console is set to configuration mode on console port.
password console is set password console on the console port. when user want to configure router through console port, this password is compulsory.
login make password activate on console port

R1(config)#interface fa 0/0
R1(config-if)#ip address 20.0.0.01 255.0.0.0
R1(config-if)#no shutdown

interface fa 0/0 is used to configure fast Ethernet port of router
here we assign ip using ip address 20.0.0.1 255.0.0.0 command
no shutdown is used for putting port on.

R1#show ip int brief
this command is used for showing all the configuration of interfaces

R1#copy run start
this command is used for saving a current configuration on NVRAM.

No comments:

Post a Comment