modul 8 konfigurasaun basika router cisco
Post on 06-Jul-2018
221 Views
Preview:
TRANSCRIPT
-
8/16/2019 MODUL 8 Konfigurasaun Basika Router Cisco
1/9
Frederico Soares Cabral 2016 konfigurasaun basika router cisco Redes de Computadores I 1 | P a g e
MODUL
KONFIGURASAUN BASIKA ROUTER CISCO
Antes ita atu komesa konfigurasa router/switch cisco, ita precija hatene oinsa kria ligasaun
husi komputador ba router cisco. Basikamente iha kondisaun real (laos simulasaun) wainhira ita
atu komesa halo konfigurasaun, material/tools nebe ita precija mak: cabo console no
hyperterminal/putty. Tamba router cisco basikamente laiha enderesu IP, tamba nee hahu
konfigurasaun tenke liu port console.
Tuir mai tipu ligasaun ba router/switch cisco:
-
8/16/2019 MODUL 8 Konfigurasaun Basika Router Cisco
2/9
Frederico Soares Cabral 2016 konfigurasaun basika router cisco Redes de Computadores I 2 | P a g e
-
8/16/2019 MODUL 8 Konfigurasaun Basika Router Cisco
3/9
Frederico Soares Cabral 2016 konfigurasaun basika router cisco Redes de Computadores I 3 | P a g e
Konfigurasaun Basika Router Cisco
Software simulasaun ba routre/switch cisco nebe mais utiliza mak Cisco Packet Tracer no
GNS (Graphical Network Simulator).Iha terminal cisco router/switch sei fahe ba mode 3 mak hanesan:
User EXEC Mode
Mode ida nee hare deit mak resultado konfigurasaun. Mode nee iha limitasaun ba user
hodi hare resultado konfigurasaun. Posisaun cursor ba mode user:
Router>
Privilege EXEC Mode
Mode ida nee hanesan mode nebe administrador bele hare hotu konfigurasaun sira nebe
iha router. Iha mode nee mos ita bele halo monitorizasaun ba actividade router. Atu tama
ba mode ita nee ita sei uja comando: enable Router> enable
Router#
Global Configuration Mode
Mode ida nee mak permiti ita hodi halo konfigurasaun iha router cisco. Komando nebe
utiliza atu tama ba mode ida nee mak: configure terminal (conf t).
Router# configure terminal
Router(config)#
-
8/16/2019 MODUL 8 Konfigurasaun Basika Router Cisco
4/9
Frederico Soares Cabral 2016 konfigurasaun basika router cisco Redes de Computadores I 4 | P a g e
Pasu Instalasaun:
1. Liga router cisco ho PC uza kabo console
2. Software ba konfigurasaun
Normalmente software nebe mais utiliza hodi hahu/halo konfigurasaun mak HyperTerminal
ou Putty. Iha nee ita sei uza HyperTerminal tamba cisco packer tracer existe deit makHyperTerminal:
Double klik iha PC0
Hili tab Dekstop
Hili menu Terminal
Depois de klik Terminal sei mosu janela tuir mai (husi nafatin iha setting default) no klikOK.
-
8/16/2019 MODUL 8 Konfigurasaun Basika Router Cisco
5/9
Frederico Soares Cabral 2016 konfigurasaun basika router cisco Redes de Computadores I 5 | P a g e
Pasu konfigurasaun:
1. Booting no User EXEC Mode
Wainhira router halao hotu ona procesu booting. Router sei husu ita hodi inisia konfigurasaun
utiliza mode wizard. Maibe iha nee ita sei hili No.
no
enter
User EXEC mode
-
8/16/2019 MODUL 8 Konfigurasaun Basika Router Cisco
6/9
Frederico Soares Cabral 2016 konfigurasaun basika router cisco Redes de Computadores I 6 | P a g e
2. Privilege Mode
Atu tama ba mode privilege hakerek: enable. Iha mode ida nee permiti deit ita hodi harekonfigurasaun no halo monitorizasaun ba actividade router ou rede.
---------------------------------------------------------------------------------------------------------------Router>enable Router#
----------------------------------------------------------------------------------------------------------------------
3. Global Configuration Mode
Iha mode ida nee, permiti ita hodi halo konfigurasaun sira iha router cisco. Atu tama ba
mode ida nee, hakerek: configure terminal.
---------------------------------------------------------------------------------------------------------------Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
---------------------------------------------------------------------------------------------------------------
4. Konfigura Hostname
Hostname hanesan naran ba router. Iha nee ita sei tau naran R-Info sai nudar naran ba
router refere. Comando nebe uza mak: hostname [naran_router].
---------------------------------------------------------------------------------------------------------------Router(config)#hostname R-Info
R-Info(config)#
---------------------------------------------------------------------------------------------------------------
5. Banner ba Privilege
Funsaun hodi kria banner ba area privilege. Commando nebe utiliza mak: banner moth c,
[hakerek liafuan baner], no termina ho c;
---------------------------------------------------------------------------------------------------------------R-Info(config)# banner motd c
Enter TEXT message. End with the character 'c'.
----------- AREA PROIBIDO -------------------
cR-Info(config)#
---------------------------------------------------------------------------------------------------------------
6. Konfigura Password ba Privilege
Funsaun hodi foo password ba privilege mode. Commando nebe uza mak: enable secret
[password]. Iha nee ita sei tau password: class.
---------------------------------------------------------------------------------------------------------------R-Info(config)#enable secret class
---------------------------------------------------------------------------------------------------------------
-
8/16/2019 MODUL 8 Konfigurasaun Basika Router Cisco
7/9
Frederico Soares Cabral 2016 konfigurasaun basika router cisco Redes de Computadores I 7 | P a g e
7. Konfigura Password ba Line Console
Line console mak linha nebe liga ba router cisco liu husi port console. Tamba nee ita tenkekonfigura password ba linha nee. Password ba linha nee mak: cisco. Comando sira nebe uza
mak: line console 0, password [password_line], login no exit.
---------------------------------------------------------------------------------------------------------------R-Info(config)#line console 0
R-Info(config-line)# password cisco
R-Info(config-line)#login
R-Info(config-line)#exit
R-Info(config)#
---------------------------------------------------------------------------------------------- -----------------
8. Konfigura password ba Line Virtual Terminal (line vty).
Line nee mak permite ita wainhira ita atu assesu router liu husi rede (telnet). Router sei la
autoriza atu assesu router liu husi rede wainhira seidauk iha password. Iha nee ita sei tau
password: cisco. Commando sira nebe hanesan ho linha console, so diferente deit mak
identifikasaun lina. Tuir mai comando sira hodi konfigura linha vty: line vty 0 4, password
[password_line], login no exit.
---------------------------------------------------------------------------------------------------------------R-Info(config)#line vty 0 4
R-Info(config-line)# password cisco
R-Info(config-line)#login R-Info(config-line)#exit
R-Info(config)#
---------------------------------------------------------------------------------------------------------------
9. Konfigura IP Address
Tamba router lao iha camada Network iha OSI layer, neduni router tenke konfigura
enderesu IP hodi halo enderesamento ba router ruma. Comando nebe uza hodi konfigura
enderesu IP mak: interface [naran_interface] [numeru_interface], ip address [ip address]
[submet-mask], no shutdown. Opsaun no shutdown nia funsaun ho hamoris interface
Ethernet no shutdown hodi hamate interface Ethernet. Iha nee ita sei uja IP network:192.168.1.1/24.
---------------------------------------------------------------------------------------------------------------R-Info(config)#interface fastEthernet 0/0
R-Info(config-if)#ip address 192.168.1.1 255.255.255.0
R-Info(config-if)#no shutdown
R-Info(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R-Info(config-if)#exit
---------------------------------------------------------------------------------------------------------------
-
8/16/2019 MODUL 8 Konfigurasaun Basika Router Cisco
8/9
Frederico Soares Cabral 2016 konfigurasaun basika router cisco Redes de Computadores I 8 | P a g e
10. Sai husi Mode
Iha router cisco, comando nebe uza hodi sai husi mode ou konfigurasaun ruma mak: exit.Hanesan exemplo nebe iha leten, comando exit uza hodi sai husi line vty. Hanesan mos ita
atu sai husi global configuration mode, ou privilege mode, nafatin uza comando exit. Tuir mai
ita sei sai husi global configuration mode:
---------------------------------------------------------------------------------------------------------------R-Info(config)#exit
R-Info#
---------------------------------------------------------------------------------------------------------------
11. Verifika konfigurasaun
Iha router cisco, depois de ita halo konfigurasaun obrigatoriamente ita tenke verifikakonfigurasaun sira nebe ita halo ona. Comando nebe uza hodi verifika konfigurasaun mak:
show running-config.
---------------------------------------------------------------------------------------------------------------R-Info#show running-config Building configuration...
Current configuration : 716 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R-Info !
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
-
8/16/2019 MODUL 8 Konfigurasaun Basika Router Cisco
9/9
Frederico Soares Cabral 2016 konfigurasaun basika router cisco R d d C d I 9 | P
!
!!
interface FastEthernet0/0ip address 192.168.1.1 255.255.255.0duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
banner motd ^C----------- AREA PROIBIDO -------------------C
^C!
!
!
!
line con 0 password ciscologin!
line aux 0
!
line vty 0 4 password ciscologin!
!
!
end
R-Info#
---------------------------------------------------------------------------------------------------------------
top related