Вы находитесь на странице: 1из 4

1) Simulator: Cisco packet tracer (software based)

2) Emulator: GNS3 (original IOS), high counfiguration PC required


(min: 2GB RAM, DUAL CORE)
Packet Tracer: 6.1.1
Cisco Router Configuration:
---------------------------=> CLI (Command Line Interface)
=> CCP (Cisco Configuration Professional: ISR ROuter = some specific model
Router Confiugration Method (CLI):
-------------------==========-----* 1) using console Port (directly connted with router)
2) using AUX port (for remotly configure via cable Modem
* 3) using telnet (remotly configure via intranet/internet)
Router Configuration using console port/rollover cable:
========================================================
=> Console cable
=> port: RS-232(PC)/COM/DB9 <----> Console(Router)
Continue with configuration dialog? [yes/no]: no
no: we can configure manually
yes: router will setup in default configuration mode
Router>

; router default hostname

Dhanmondi>

; after change

Router Configuration Mode:


------------------------Router>
<---------- User execute mode
Router#
<========== privilized execute Mode
Router(config)# <---------- global configuration mode
Router(config-if)# <------- Interface configuration mode
ROuter(config-router)# <---- routing protocol configuraiton mode
Enter Privilized Mode:
---------------------Router>enable
Router# exit ; for exit
Enter Global Configuration Mode:
-------------------------------Router>enable
ROuter#
ROuter#configure terminal
Router(config)#
Router(config)# exit ; exit to privilized mode , Router(config)#end ; exit to us
er exe mode
Router# exit ; exit to user exe mode

Router>?
; show all command in user exe move
Router>
Router>t?
; show "t" reladted command
Router#configure ?
; show related command after "configure"
terminal Configure from the terminal
Router#clear ip ?
Change Host Name:
---------------Router>
Router>enable
Router#configure terminal
Router(config)#hostname Dhanmondi
Dhanmondi(config)#
Cisco router Password Types:
----------------------------=> Console Password (Router login/port's password)
=> Enable Password (enable mode)
=> Enable secret password ; after enable mode
=> telnet/ssh pasword
; Remotly login password
setting Console password:
--------------------------Dhanmondi>enable
Dhanmondi#configure terminal
Dhanmondi(config)#line console 0
Dhanmondi(config-line)#password cisco
Dhanmondi(config-line)#login
Dhanmondi(config-line)#end
Dhanmondi#exit
setting enable password:
------------------------Dhanmondi>enable
Dhanmondi#configure terminal
Dhanmondi(config)#enable password cisco123
Dhanmondi(config)#end
Dhanmondi#exit
Dhanmondi>enable
Password:cisco123
Enable secret Password:
-----------------------Dhanmondi(config)#enable secret ciscocisco
Dhanmondi(config)#exit
Dhanmondi#show run
Dhanmondi#exit
Dhanmondi>enable
Password: ciscocisco
Dhakta#
Dhanmondi#show running-config

; privilized mode

hostname Dhanmondi
!
!
!
enable secret 5 $1$mERr$2kSZR9DN2ofxLllbGij.S1
enable password cisco123
line con 0
password cisco
login
Password Encryption:
------------------Dhanmondi#configure terminal
Dhanmondi(config)#service password-encryption
Dhanmondi(config)#exit
Dhanmondi#show running-config
Password Decryption:
-------------------Dhanmondi(config)#no service password-encryption
Dhanmondi(config)#exit
Dhanmondi# show run
; nothing changed; Because, "no service password-encryption" command only disab
led password encryption method. But if we chang any password in future, then sho
w that decrypted password.
i.e:
Dhanmondi(config)# enable password cisco123
Dhanmondi# show run
now show only enable password in dcrypted format:
Password Remove:
---------------Dhanmondi(config)#no enable password
Dhanmondi(config)#no enable secret
Dhanmondi(config)#line console 0
Dhanmondi(config-line)# no password
Dhanmondi(config-line)# end
Dhanmondi# show run
Clock Setting:
-------------Dhanmondi# clock set 17:08:34 JAN 25 2015
Dhanmondi# show clock

; remove enable password


; remove enabel secret

Configuratoin Save:
------------------Dhanmondi# copy running-config startup-config
or
Dhanmondi# write
Dhanmondi# show startup-config
Interface Configuration: (Dhanmondi)
-----------------------------------Dhanmondi#configure terminal

Dhanmondi(config)#interface fastEthernet 0/0


Dhanmondi(config-if)#no shutdown
Dhanmondi(config-if)#description ### Link to LAN###
Dhanmondi(config-if)#ip address 192.168.11.254 255.255.255.0
Dhanmondi(config-if)#end
Dhanmondi# show run
Dhanmondi# wr
Dhanmondi#configure terminal
Dhanmondi(config)#interface fastEthernet 0/1
Dhanmondi(config-if)#no shutdown
Dhanmondi(config-if)#description ### Link to Kuril###
Dhanmondi(config-if)#ip address 10.10.10.1 255.255.255.252
Dhanmondi(config-if)#end
Dhanmondi# show run
Dhanmondi# copy running-config startup-config
Interface Configuration: (Kuril)
--------------------------------Kuril#configure terminal
Kuril(config)#interface fastEthernet 0/0
Kuril(config-if)#no shutdown
Kuril(config-if)#description ### Link to S erverLAN ###
Kuril(config-if)#ip address 103.22.35.25 255.255.255.248
Kuril(config-if)#end
Kuril# show run
Kuril#configure terminal
Kuril(config)#interface fastEthernet 0/1
Kuril(config-if)#no shutdown
Kuril(config-if)#description ### Link to Dhaka ###
Kuril(config-if)#ip address 10.10.10.2 255.255.255.252
Kuril(config-if)#end
Kuril# show run
Kuril#copy running-config startup-config