Monday, November 10, 2014

Router Configuration

1st week day 3
Components of Router
Mother Board / MB
Ram (Random Access Memory) --> Running Config
Flash memory card
NV RAM --> startup config (to save config permanently)                                                                      
ROM  (Read only memory) à Mini IOS – for trouble shooting                                                                 SMPS  (Switch more power supply)                                                                                                             Port à Serial, Ethernet, Console, Aux

Router config
1.      User mode à Router >
2.      Enable mode à Router #
3.      Global configuration modeà Router (config)#
To get connect it use Putty apps in computer and then connect Rj 45 cable to console of router to computer and enter
Klik on putty up-go to command prompt type no. to go to user mode.
User mode type enable to go to Enable mode,
Router #
Type configure terminal – enter to enter GCM
Router (config)#
Type Exit to Exit GCM and Enter Enable mode and Type Disable to Exit Enable mode to go to user mode.
To change to host name, we have to enter GCM
Roter#configure terminal
Enter configuration commands, one per line. End with CNTL/Z
Roter (confi)#hostname Router 2
To protect user mode (physical security is important part)
1.      Difine console password
Router>enable                                                                                                                              Router#Configure  terminal                                                                                                                            Reuter(config)#Line console 0                  
 (in another case to protect aux is change console to  aux with the same method)
Router (confige line)# password cdac                                                                                                                
Router (confige line)#  login
Anything want to be removed from the global configation just use no.
Command
Router>enable                                                                                                                                Router#Configure  terminal                                                                                          Router(config)#Line console 0                                                                                                   Router2#configure terminal#no enable password
To go fot any setting just type SE? and klik enter 
To show running config in your Ram , the command is Reuter2#show running config                                                      
To show the start up config in your Ram , the command is
Router2#show start up config
To encrypt
Router#Configure  terminal                                                                                                     
Router 2 (config)#service password-encryption


Important Rule of Router Config to connect 2 difrent Network
1.Interface connected to router, must be same network
2.Router all interface must belong to different network
3. Gateway  address is your router IP adress

On the back of the  router ull see
 FE 0/0 means Fast Ethernet –first port
 FE 0/1 means Fast Ethernet –2nd port
GE 0/0 Giga Ethernet
Connecting 5 routers through Smart Cable …see the serial #s , in each cable connect to other will be the serial number. (see pic on the book page 4)
Define IP Adress
Recommendation rather 1st IP or Last IP ( 192.168.200.1 or 192.168.200.254)
Router2>enable
Router2#configure terminal
Router2#interface fastEthernet 0/0
Router2 (config-if)# IP address 192.168.200.1 255.255.255.0
Router2 (config-if)# no shut down
Router2 (config-if)#Exit
Router2#show interface brief
To connect the serial controllers
Router 2#config terminal
Router2(config)#interface serial 0/0/0
Router2(config-if)# ip address 172.10.10.1
Router2 (config-if)#clock rate 128000
Router2 (config-if)# no shut down
Router2 (config-if)#exit
Router 2#show IP Interface brief

To save the configuration :
Router#copy running-config startup-config enter

No comments:

Post a Comment