Beruflich Dokumente
Kultur Dokumente
Mc ch - Lm quen mi trng Cisco Packet Tracer; - Cu hnh c bn trn cc thit b m phng (router, switch); Hc cu lnh cu hnh; - Lu file cu hnh; II. Cisco Packet Tracer
Switch
Server
WorkStation
III.
S mng
Subnet zero
Hnh 2 S mng
Subnet 1
IV.
Yu cu IV.1. Cho a ch IP 198.133.19.0/24 (4 bits cho subnet). in thng tin vo bng sau: - S subnet ti a c s dng:..................................... - S host c th s dng trong mi subnet:.....................
a ch mng:
Mt n mng:
Subnet
ch
IV.2. Kt ni vt l
-
- Dng cable console (rollover) kt ni gia cng console trn router v cng COM1 (RS322) bng u DB-9 hoc DB-25 trn host1 .
IV.3. Kt ni host1 n Router s dng Hyper Terminal ( vo HyperTerminal trn my thc: WindowsTaskbar>Star>Programs>Accessories>Communications >HyperTerminal. ) - S dng: Th desktop>Terminal - Thng s cu hnh:
o Bits per second: 9600 o Data bits: 8 o Parity: None o Stop bits: 1
o Flow Control: None - Khi bt u session, n Enter n khi nhn c response ca router. - Cc mode cu hnh:
o
Exec mode: Router> y l mode u tin khi bn bt u mt phin lm vic vi router (qua Console hay Telnet). mode ny bn ch c th thc hin c mt s lnh thng thng ca router. Cc lnh ny s khng c ghi vo file cu hnh ca router v do khng gy nh hng n cc ln khi ng sau ca router.
Privileged exec mode: Router# Privileged EXEC Mode cung cp cc lnh quan trng theo di hot ng ca router, truy cp vo cc file cu hnh, IOS, t password... Privileged EXEC Mode l cha kha vo Configuration Mode.
Configuration mode: Router(config)# Configuration mode cho php cu hnh tt c cc chc nng ca Cisco router bao gm cc interface, cc routing protocol, cc line console, vty (telnet), tty (async connection). Cc lnh trong configuration mode s nh hng trc tip n cu hnh hin hnh ca router cha trong RAM (running-configuration). Nu cu hnh ny c ghi li vo NVRAM, cc lnh ny s c tc dng trong nhng ln khi ng sau ca router. Configuration mode c nhiu mode nh, ngoi cng l global configuration mode, sau l cc interface configuration mode, line configuration mode.
Tr v mode cu hnh trc bng lnh exit Thot ra exec mode bng lnh: end
IV.4.1.
vo Configuration mode:
IV.4.2.
t tn thit b: Router1
IV.4.3. Ci t banner MOTD (Message Of The Day): Banner hin th cho mi kt ni trc khi ng nhp (Ni dung banner t trong cp du %)
Router1(config)# banner motd % Enter TEXT message. End with the character '%'
***You are connected to an ABC network device. Access is granted to only current ABC company system administrators with prior written approval. *** *** Unauthorized access is prohibited, and will be prosecuted. *** *** All connections are continuously logged. *** % Router1(config)#
IV.4.4.
Cu hnh mt khu
t mt khu cho Privilegged exec mode: Dng secret quy nh c m ho mt khu. Trong bi thc hnh, yu cu s dng password cisco cho tt c cc mt khu.
Router1(config)# enable [secret] <password> Router1(config)#
Cu lnh m ho tt c cc password:
Router1(config)# service password-encryption
IV.4.5.
Cu hnh a ch IP
Dng nhng a ch IP u tin trong dy cho sn t cho host; a ch IP cui cng trong dy t cho router. Default gateway ca host l a ch interface ca router Cu hnh interface fa0/0 trn router 1:
Router1(config)# interface fa0/0 Router1(config-if)# description Connection to Host1 Router1(config-if)# ip address <address> <mask> Router1(config-if)# no shutdown Router1(config-if)# end
Cu hnh interface fa0/1 trn router 1: tng t fa0/0 IV.4.6. Kim tra kt ni
Dng lnh ipconfig trn command promt kim tra li a ch host. Dng lnh ping kim tra tt c cc kt ni trong LAN. IV.4.7. Lu v xo file cu hnh
Lu cu hnh vo NVRAM:
Router1# copy running-config startup-config Destination filename [startup-config]? <ENTER> Building configuration... [OK]
Router1#
IV.5. Cu hnh switch Lp li cc thao tc v cu lnh trn cu hnh c bn cho switch1 (hostname, banner, password) IV.6. t a ch IP cho cc host Vo th desktop>IP Configuration cu hnh a ch IP v subnet mask cho cc host. Default gateway l a ch giao din trn router kt ni trc tip vi nhnh mng ca host .
Lu : - Dng NO trc cu lnh v hiu ho (remove) thao tc ca cu lnh ; - Phi lu cu hnh vo NVRAM ngay sau khi cu hnh xong.