You are on page 1of 48

MCLC

LINIU .................................................................................................. 3
CHNG1.MNGMYTNH ................................................................... 4
1.1Khi qutvmngmy tnh.................................................................... 4
1.1.1Lch sphttrin camngmytnh ............................................. 4
1.1.2 nhngha ..................................................................................... 4
1.1.3Phnloi mng............................................................................... 5
1.1.4MngtoncuInternet................................................................... 8
1.2Thitkvhoch nhmtmng............................................................ 8
1.2.1Mtsdchvcbntrnmng.................................................... 9
1.2.2Xuhngtchhpccdch vtrongmnghinnay ...................... 10
CHNG2.PHNMMTHITK
VMPHNGMNGBOSONNETSIMTM.................................. 13
2.1Phnmm thitkvmphngmngBosonNetSim ............................ 13
2.1.1TngqutvphnmmBosonNetSim.......................................... 13
2.1.2Giaodin cachngtrnh ............................................................ 14
2.1.3Cclnh cbn caBosonNetSim ................................................ 16
2.2Ccmodulecaphnmm BosonNetSim ............................................. 18
2.2.1BosonNetSim ................................................................................ 18
2.2.1.1StandAloneLabs ..................................................................... 19
2.2.1.1.1CclabctrongmoduleStandAloneLabs......................... 19
2.2.1.1.2Thchnh bi Lab13RIP.................................................. 24
2.2.1.2SequentialLabs ........................................................................ 29
2.2.1.2.1CclabctrongmoduelSequentialLabs............................ 29
2.2.1.2.2Thchnh bi Lab5TFTP................................................. 30
2.2.1.3ScenarioLabs ........................................................................... 32
2.2.1.3.1CcbilabctrongmoduelScenarioLabs......................... 32
2.2.1.3.2Thchnh biLab22VLANsvLab23DeletingVLANs 33
2.2Phnmm mphngvthitkmngBosonNetworkDesigner ............ 37
2.2.1Gii thiuvphnmm BosonNetworkDesigner ......................... 37
2.2.2Thchnh thitk,cuhnhmngbngBosonNetSim ................. 38
2.2.2.1Yucu .................................................................................... 38
2.2.2.2Thchin ................................................................................. 39
CHNG3.TNGKTVHNGNGHINTIPTHEO ................... 47
3.1Mngmy tnhvshtrcaccphnmmmphng....................... 47
3.2Hngnghincuspti trongnttnghip .................................... 47
TILIUTHAMKHO................................................................................ 49

LINIU
Trongthiibngnvcngnghthngtinnhhinnay,mngvInternettr
thnhmtphngtinvmtnhucukhngththiuivimiconngi.Mng
vInternetcngtrthnh1trongnhngthcoquychunthhintrnhpht
trin ca 1 quc gia bn cnh nhiu yu t c bn khc. Thy r c scn thit
cngnhtmquantrngcavictipcnvinhngxuthphttrinchungcathi
i, bn thn em nhn thy nhng kin thc ca mnh cn hn hp, cha c c
nhiunhngkinthcnntngcngnhnngcaovmng.Trongthigianthctp
ttnghipcamnh,bncnhvictmhiuvmngmytnh,emthyvicthitk
vmphngmtmngtrongthctlmtiukhngnginvmtcngngh
cngnhvthitb,chnhvvy,ccphnmmhtrmphngmnglmtcng
crthuchkhngchivinhngnhquntrmng,mcnvinhngngi
quantmnmngmytnhvcbitcchrtlnivinhngsinhvincth
thchnhquaccthitbomphnmmcungcp.

CHNG1:MNGMYTNH
1.1.Khiqutvmngmytnh.
1.1.1Lchsphttrincamngmytnh.
Lchsphttrincamngmytnhkhphctp.Nlinquannnhiuni,nhiu
vng,nhiungitrnkhpthgiitrongnhiunm.Saumtthigiandivisra
icanhiu nhng phtminhmilmhinihodnchicmyvitnh.
nunhngnm70,hthngthitbucuicaIBMraichophpmrng
kh nng tnh ton ca cc trung tm my tnh n cc vng xa. n gianhng
nm70,IBMgiithiumtlotthitbucuicthitkcholnhvcngn
hng,thngmi.Thngquadycpmng,ccthitbucuicthtruycpcng
mtlcnmtmutnhdngchung.nnm1977,cntyDatapointCorporation
tung ra th trng h iu hnh mng ca mnh l Attache Resource Computer
Network (Arcnet) cho php lin kt cc my tnh v cc thit b u cui li bng
dycpmng,vchnhlhiuhnhmngutin.
1.1.2nhngha
Mngmytnhlmttphpccmytnhcnivinhaubingtruyntheo
mt cu trc no v thng qua cc my tnh trao i thng tin qua li cho
nhau.

Hnh1.1:Mhnhmngcbnnht

Nimtcchcbn,mngmytnhlhaihaynhiumytnhcktnivinhau
theomtcchnosaochochngcthtraoithngtinqualivinhau.Mng
mytnhraixutphttnhucumunchisvdngchungdliu.Khngch
thngmngmytnhthdliutrnccmytnhclpmunchiasvinhauphi

thngquacctrung gian,iunygybttinchongidng.Ccmytnhc
ktnimngvinhauchophpnhiukhnngngdngcthcthi:
Sdngchungcccngctinch.
Chiaskhodliudngchung.
Tngtincycahthng.
Traoithngip,hnhnh.
Dngchungccthitbngoivi.
Gimthiuchiphvthigianili.
1.1.3Phnloimng
Dohinnaymngmytnhcphttrinkhpnivinhngngdngcngngy
cngadngnnvcphnloimytnhlmtcngvcrtphctp.Ngitac
thphnloimngtheonhiuhnhthckhcnhau,theophmvi,theocutrchay
theophngthcxlthngtintrongmng.
1.1.3.1Phnloimngtheophmvi
v Mngtoncu(GlobalAreaNetworkGAN):ktnimytnhtrnphmvi
khp cc chu lc ca tri t. Kt ni ny c thc hin thng qua mng
vinthngvvtinh.
v Mngdinrng(WideAreaNetworkWAN):ktniccmytnhtrongni
bccqucgiahaygiaccqucgiatrong1chulc.Thngthngktni
nycthchinthngquamngvinthng.CcWANcthcktni
vinhautothnhGAN.

Hnh1.2:Mngdin rngWAN
v Mngth(MetropolitanAreaNetwork MAN): ktniccmytnhtrong
phm vi mt thnh ph. Kt ni ny c thchin thng qua mi trng
truyntccao(50100Mbit/s)viphmvinhhn50km.

Hnh1.3:Mng thMAN
v Mngccb(LocalAreaNetwork LAN):ktniccmytnhtrongphmvi
hp,nhhn1km.Ktnicthchinthngquamitrngtruyntc
caovdcpngtrchaycpquang.LANthngcsdngtrongni
b mt c quan, t chc, trng hcCc LAN c th kt ni vi nhau
thnhccWAN.

Hnh1.4:Mngccb LAN
1.1.3.2Phnloitheocchthcktnimng
v MngdngBUS(BusTopology):TrongmngdngBUS,ccmytnhc
nivomtngdytruynchnh(bus).ngtruynchnhnycgii
hnbihaiubimtloiunicbitgilterminatorr(dngnhn
bitlucuiktthcngtruyntiy).MitrmcnivoBus
quamtunichT(T_connector)hocmtbthupht(transceiver).

Hnh 1.5CutrcmngdngBUS
5

v Mngdngsao(StarTopology):dngsao,ttccctrmcnivomt
thitbtrungtm(HUB)cnhimvnhntnhiutcctrmvchuyntn
hiuntrmch.Trongtrnghpcphngthchringmttrmkhng
hotng,cnnutrungtmchuyn mchbhngthton mngcngsb
hng.

Hnh1.6CutrcmngdngSao
v Mngdngvng(RingTopology):Ccmytnhclinktvinhauthnh
mtvngtrnkhpkn.Thngtntruynitrongmngtheomthng.u
phtcatrmnysluthucutrmtiptheo.Nhvytrnghpmch
vng nu b t hoc mt trm b li th mng vng Ring cng khng hot
ng.

Hnh 1.7Cutrcmngdngvng
v Mngdnghnhp:trongthcttutheoyucuvmcchcthtac
th thit k mng kt hp cc dng sao, vng, tuyn tn dng cc im
mnhcamimng.
o Phnloitheophngthcxlthngtinbntrongmng.
Chaiphngthcxlthngtintrongmngl:xltptrungvxlphn
tn.
v Phngthcxltptrung(mngClientSever)

v Phngthcxlphntn(mngnganghngpeertopeer)
o Phnloitheophngthcktnimng.
v Viphngthcimim,ccngtruynringbitcthitlp
nicccpmytnhlivinhau.Mimytnhcthtruynvnhntrctip
dliuhoccthlmtrunggianlutrnhngdliumnnhncri
sauchuyntipdliuichomtmykhcdliuttich.
v Vi phng thc im nhiu im, tt c cc trm phn chia chung mt
ngtruynvtl.Dliucgiitmtmytnhscthctip
nhnbittcccmytnhcnli,bivycnchraachchcadliu
mi mytnhcncvo kimtraxemdliucphidnhcho mnh
khng,nungthnhncnnukhngthbqua.

1.1.4.MngtoncuInternet.
Mng ton cu Internet l mt tp hp bao gm rt nhiu mng trn khp th gii.
Mng Internet bt ngun t mt thnghim ca Cc qun l cc dn nghin cu
tintin(AdvancedReasearchProjects AgencyARPA)thucBqucphngM,
ktnithnhcnccmngmytnhchophpcctrngihcvcccngtyt
nhnthamgiavoccdnnghincu.
Vcbn,Internetlmtlinmngmytnhgiaotipdicngmtbgiaothc
TCP/IP (Transmission Control Protocol/Internet Protocol). Giao thc ny cho php
mimytnhtrnmnggiaotipvinhaumtcchthngnhtgingnhmtngn
ngquct m mingisdng giaotipvinhauhngngy.Slng my
tnh kt ni mng v s lng ngi truy cp vo mng Internet trn ton th gii
ngycngtnglnnhanhchng.
1.2Thitkvhochnhmtmng
Trongthiingynay,victrinkhainhnghthngmngmytnhlmtvic
lmrtcnthitvquantrng.Visbngncacngnghthngtin,cucsng
caconngignlinvimng,viinternetvngitagithiinylthi
is,cucsngs.
Ngoivicchiasthngtinnthungiaccmytnhtrongmththngmng,
sraicamngmytnhvviclinktgiaccmngmytnhmtcchrng

ri v hu khp, to nn mt h thng mng ton cu nh hin nay m ra rt


nhiunhng ngdngcngnhccdchvtchhptrnnncng nghmng.
1.2.1Mtsdchvcbntrnmng
+DchvtruynhptxaTelnet
Telnetchophpngisdngngnhptxavohthngtmtthitb
u cui no trn mng. Vi Telnet ngi s dng hon ton c th lm
vicvihthngtxanonhthhangngilmvicngaytrcmn
hnhcahthng.KtniTelnetl mt kt niTCPdngtruyndliu
viccthngtiniukhin.
+Dchvtruyntptin(FTP)
Dch v truyn tp tin (FTP) l mt dch v c bn v ph bin cho php
chuyncctpdliulinquangiaccmytnhkhcnhautrnmng.FTP
htrttcccdngtp,trnthctnkhngquantmtinhdngcatp
lmthanh,hnhnhhaydliu,ltpvnbnmASCIIhaycctpdliu
dng nhiij phn. Vi cu hnh ca my phc v FTP, c th qui nh quyn
truynhpcangisdngvitngthmclutrdliu,tpdliucng
nh gii hn s lng ngi s dng c kh nng cng mt lc c th truy
nhpvocngmtnilutrdliu.
+DchvGopher
TrckhiWebrai,Gopherldchvrtcachung.Gopherlmt
dchvchuyntptngtFTP,nhngnhtrngidngtrongviccung
cpthngtinvtinguyn.ClientGopherhinthmtthcn,ngidng
chviclachncimmnhcn.Ktqucaviclachncthhin
mtthcnkhc.Gopherbgiihntrongcckiudliu.Nchhinth
dliudidng m ASCII mcdcthchuyndliudngnhphn v
hinthnbngmtphnmmkhc.
+DchvWAIS
WAIS(WideAreaInformationServes)lmtdchvtmkimdliu.WAIS
thngxuynbtuvictmkimdliutithmccamych,nicha
tonbdanhmccaccmyphcvkhc.SauWAISthchintmkim
timyphcvthchhpnht.WAIScththchincngviccamnhvi

nhiu loi d liu khc nhau nh vn bn ASCII, PostScript, GIF, TIFF, E


mail.
+DchvWorldWideWeb
WorldWideWeb(WWWhayWeb)lmtdchvtchhp,sdngngin
vchiuqunhttrnInternet.WebtchhpcFTP,WAIS,Gopher.Trnh
duytWebcthchophptruynhpttcccdchvtrn.
Ti liu WWW c vit bng ngn ng HTML (HyperText Markup
Language)haycngilngnngnhdusiuvnbn.Siuvnbnlvn
bnbnhthngcngthmmtslnhnhdng.HTMLcnhiucchlin
kt vi cc ti nguyn FTP, Gopher sevr, WAIS server v Web server. Web
serverlmyphcvWeb,pngccyucuvtruynhptiliuHTML.
Web server trao i cc ti liu HTML, bng giao thc HTTP (HyperText
TransperProtocol)haycngilgiaothctruynsiuvnbn.
TrnhduytWeb(Webclient)lchngtrnhxemcctiliuWeb.Trnh
duytWebcththchincccngvickhcnhghitrangWebvoa,gi
Email,tmkimxukttrntrangweb,hinthtpHTMLnguncatrang
Web. Hin nay c rt nhiu trnh duyt Web c s dng nh Internet
Explorer,Netscape,Opera,MozillaFirefox..
+Dchvthint(Email)
Dchvthintlmtdchvthngdngnhttrongmththngmng
dlnhaynh.Thintcsdngrngrinhmtphngtingiao
tiphngngytrn mngnhtnhlinhhot vphbincan.Tcctrao
i thtn thng thng, thng tin qung co, tip th, n nhng cng vn,
bo co hay k c nhng bn hp ng thng mi, chng t,.. tt c u
c trao i qua th in t. Mt h thng th in t c chia lm hai
phn,MUA(MailUserAgent)vMTA(MessageTransferAgent).
1.2.2Xuhngtchhpccdchvtrongmnghinnay
Vivitrngycngquantrngivisphttrincngnhtinbcaxhi.
Vinhngbcphttrinvtbccacngnghshinnay,xuhngtchhp
cc dch v tin ch trn mng ang l mt vn mang tnh thi sv nng hi
hin nay. Cng ngh thay i tng pht, tng giy, bn cnh vic c c nhng

bctinxahntrongsphttrinthmcchcuicngcacngnghlphc
v vp ng nhngnhucu vihicaconngi. Stin licngnhcc
tnhnngmmngmanglichoconngingycngcthhinmtcchrnt
vaitrkhngththiucaniviisngvsphttrincaconngi.Tch
hpcccngnghtrnnn mnginthinnay,ang vscphttrin
vinhiuloihnhkhcnhau,inhnhhinnaylmtsdchvsau:
+DchvVolIP
VolIp(Voiceover IP)ngnhetn gican,truyntigingniqua mng.
ylmtphngthcgithngtinthoitrctipthngquamngInternet.V
cbn,nkhngcgkhcsovicchthchincucgitraoithngtinthoi
thngthngbnghnhthcinthoavtuynvhutuynhinc,tuynhin,
VolIPcnhiuimtinbhn.VolIpchophpktnitPCtiPC,tPCti
in thoi, tin thoi ti PC v tin thoi ti in thoi, Vi dch v ny,
ngisdngcth gimchiphcucgisovicccchgithngthng v
khng phi chi tr nhng khon ph cho ng dy cng nh nhiu trung gian
khc.Chtlngdchvcngnnhvtthn,trtrnngtruynti,tnh
trngmttnhiunhhn5%.Dchvnyhinangcphbinrngri.
+DchvIPTV
IPTV (Internet Protocol TeleVision) l dch v truyn ti truyn hnh hot ng
trnInternet.MtimquantrnglIPTVkhngphildchvpublicInternet
m n mang tnh private. Cc nh cung cp dch v s chc chn v cht lng
dchv(QoS)chokhchhngca mnh.Trong mt mngIPTV,tnhiutruyn
hnh c u tin mc cao nht. Dch v IPTV i hi 1 b pht ti u cho
nhngchngtrnh mangtnhthigianthc.Khidng IPTV,ngoi viccth
xemccknhtruynhnhkhcnhau(tngtnhkhidngdchvtruynhnh
cp), NSD c th xem phim theo yu cu (videoondemand) theo phng thc
chnlaphimtrongdanhschcsn
+DchvVideoConference.
Hi ngh truyn hnh (Video Conference) l dch v c trin khai v s dng
da trn cc cng ngh mng truyn thng nh IP (Internet Protocol), ATM
(AsynchronousTranferMode),POST,hayISDN.Dchvnycungcpkhnng

10

truynhnhnh,mthanhtrctuyngianhiuimtrnmng,giptngcng
khnngtngtc,traoigiaccthnhvintronghingh.
Hingh,giaoban,traoicngviccaccnvcvtralcchxanhau.
Dyvhctrctuyntxatheomhnhhctrnmng(ELearning)
Chmscyttxa:ngibnhcthckhmbnh,chnonhaythm
chphuthutgintiptccchuyngiayttinhngnirtxa
Cccngvicvlnhvcyucutraoithngtin,hnhnh,mthanhthi
gianthckhc.
Gimthiuthigianili.
Gimthiuchiphilivsinhhot.
Lulitonbnidungcuchp.
Tndngccccshtngmngkhcnhau.
Thngtintrongsut,lintcvtoncu.
Manglikhnngngbintcthivquytnhnhanhchng,kpthi.
cimnibt
Cthni,ucmnggiiphpcthngdng.
Hnhnh,mthanhthcTocmgictpthungtrctipivimingi
thamdcuchp.
Khnngding Giiphpucktcungin,gnnhvtndngc
phnlnccthitbvnphng.Dovy,cthdichuynddngtninyn
nikhc.
Thitlpcuchpnhanhchngvsdngddng Giaodinphnmmiu
khintronggiiphpthnthinvingisdng.
+CcdchvtrctuynthchinquaInternet
Trongisnghinnay,Internettrthnhmtcngcclcphc vcho
ccnhcucaconngi,gimthiucrtnhiunhngchiphv mttin
bc,cngnhthigian,lmchothngtintrnnnhanhchngvhudnghn.
CrtnhiudchvtrctuyncthitlpvtrinkhaithngquaInternetnh
bnhngtrctuyn,nghenhctrctuyn,gametrctuyn
Trongtnglaign,rtnhiuccdchvscxydngtrnnnIPvcth
nivuirng,loingiangshocngvicngngh.

11

CHNG2:PHNMM THITK VM
PHNG MNG BOSONNETSIMTM
2.1.PhnmmthitkvmphngmngBosonNetsimTM .
2.1.1TngqutvphnmmBosonNetsimTM .
BosonNetsimTM lmtphnmmmphngmngchophpngidngthitkv
xy dng nhng h thng mng v chy m phng trn my tnh. c rt nhiu
chngtrnhmphngmngnhngchngkhngarachongidngthyc
rnhnggthcsangdinratrongmng.
Cng ngh gi o ca Boson cho php to ra nhng gi mng ring r c nh
tuyn vchuyn mchthngqua mng mphng,chophpphn mm Netsimxy
dng nn nhng bng nh tuyn o ring bit cho mi giao thc mng khc nhau
thayvphixydng mphngc mt mngthc.Chnhcngnghnychophp
nhng ngi dng c th c th pht trin c nhiu nhng tng thit k ca
mnh.
ChngchCiscoCCNATM lmtktqumnhiungimuntckhisdng
chng trnh ny. Phn mm Netssim c y ni dung ca CCNAICND(640
811)ANDCCNAINTRO(641821)/ICNDTM 2.0.Nhngbilabnyshngdn
chongidungcthcuhnhchoroutervswitchtrongnhiubicnhkhcnhau.
Saukhihonthnh1bilab,ngidngcthtxydngnhnglabtheoyucu
caringmnh.Vitnhkhthitrongvichngdnvchophptxydng,thit
k mng, phn mm Netsim thc s c hiu qu hn vic s dng cc router v
switchthc,nchophpngidngvnthcthicmngmkhngcnphic
thitbthct.
ChngchCiscoCCNPTM lmtchngchtiptheocaCCNATM.Netsimcngc
rt nhiu cc ch im trong chng trnh CCNPTM nh ISDN, Catalyst 5002, Fast
Ethernet, Routing, Switching, Access.Phn mm Boson Network DesignerTM cho
phpngidngcththitkvhochnhchomtmng.Virtnhiucngc
h tr, ngi dng c th cu hnh cho Router,lucu hnh v ti chng ln router
thc.

12

Cc giao thc nh tuyn b sung l mt trong nhng yu cu tng i kh m


ngidngcthgpphi.,phnmmnyschophpngidngcthtoramt
ngdnohockimtrmngvsosnhnhngimkhcbittrongktquthu
ctrckhithcthiccgiaothcnhEIGRP,RIPhayOSPF.
Khitrongmngcabnxyrasc,bncthtomtphinbnomngcabn
bngchngtrnhBosonNetworkDesignerTM vgiiquytccscmkhngcn
phithoghthng.
Phn mm Netsim l mt phn mm linh hot v hu ch cho php bn thc hin
nhngmphngmngvinhiudliukhcnhaungthixlccscxyra
tronghthngmng.
2.1.2Giaodincachngtrnh.
Saukhicitphnmm,bnchochychngtrnh.Trckhichychngtrnh
chnh,BosonLabNavigatorschophpbn lachncclabtheo mun..sau khi
chnc1labthchhp,bnchnLoadLab.chngtrnhNetSimchnhshinra.

ThanhcngcMenuFile

13

Newnetmap:To1topomiquachngtrnhNetworkDesigner.

LoadNetmap:Chophpnp1topothitksn.Hinthra1hpthoi
tm nfilec

PasteRealRouterConfigs:Chophpt1onvnbnvcuhnhca
thitbcuhnhthit b

LoadSingleDeviceConfig(Merge):Lugicuhnhhinhnhvcho
phpnpcccuhnhctrc.

LoadSingledeviceconfigs(overwrite):Chophpnpnhanhcccuhnh
clugitothiimclutrc.

SaveSingleDevicesconfig:Lugicuhnhca1thitbdidngfile
.Rtf

SaveMultiDevicesConfig:Chophpluginhanhcuhnhcacc
thitbhinhnh.

Print:Chophpinnidungtrnmnhnhhinhnh.

Exit:Thotkhichngtrnh.

ThanhcngcMenuModes:

BeginnerMode:GiaodinWiWhinthchophpvoeRouter.Tmn
hnhnytacthvoccRouterkhcnhanhchngbngccphmtt.F1
tng ngRouter1.F2tng ngRouter2..

AdvancedMode(Telnet):MccRouter,Switch,Stationtheogiaotip
Telnet.ktniti1thitbkhctacthdngthpphmttCtrl+
Q.

Toolbar/RemoteControl:Chophpmccthitbnhanhchngthng
qua1bngiukhin

Chcnngvmitychntrongthanhcngctool:

Checkforupdates:TmkimnhngVersionminhtttnhsnxut
quatrangWebwww.boson.com

UpdateswebPage:Ktnititrangchtmnhngthngtincpnhp,
ccbithchnhmi..

14

AvaibleCommands:Chophptmcclnhvccsnphmhincca
Cisco

Grapemylab:Tinchkimtraccbilabc.

ChangeDefaulttelnet:Cungcpctnhchophpchncctyng
dngTelnettelnetvoccthitb.

CctychntrongthanhOrdering:
Ccchcnnglinquannbnquynphnmm.CthlBuynow,Enter
RepairKey,ThanhyouforPurchasing,RemoveRestration,haycctychn
tingtrong Languge.Netsimhtrccngnngnhl:English,Spanish,
Japanse.
2.1.3CclnhcbncaBosonNetSimTM
LNH

MIUT

Enable

Chuynsangchcquyn.

Disable

Chuyntchcquynsangchngi
dng.

Logout

Thot.

Configterminal

Chuynvochcuhnhvthayicuhnh
angchyhinthi.

Configmemory

Chuyncuhnhkhingvocuhnhangchy.

Confignetwork

Chuyncuhnhlutrhosttftpvocuhnh
angchy

Interface

Chuynvochcuhnhchothitbktni.

Interfacefastethernet0/0

Chuynvochcuhnhthitbktniticng
FastEthernet.

Lineconsole0

Chuynvochconsole

Routerrip

Chuynvochcuhnhchorouter.

aradanhschcclnh

showhistory

aradanhschcclnhvacsdng.

showterminal

arahintrngccthitb.

15

<ctrlA>

Chuyndunhcnudng

<ctrlE>

Chuyndunhcncuidng

<escB>

Lili1t.

<ctrlF>

Tin1kt

<escF>

Tin1t.

<ctrlU>

Xo1dng

<ctrlW>

Xo1t.

<ctrlZ>

Thotkhichcquyn

Tab

Ktthc1culnh.

Showversion

Chrasliuthngkcarouter.

Enablepassword

Thitlpmtkhubmt

Enablesecret

Thitlpmtkhubmt

Exectimeout

Thitlpthigiandngvicho1ktni.

Linevty

ChuynvochcuhnhchoktniVTY
(telnet).

Lineaux

Chuynvochhtrviccuhnhchocc
thitbktni.

Interfaceserial0/0

Chuynvocuchcuhnhchothitbni
tip.

Shutdown

Chuynmtthitbktnivochkhngc
kimsot.

Noshutdown

Mmtktnivithitb.

Ipaddress

ThitlpachIP

Clockrate

ToxungdaongchothitbDCE.

Bandwidth

Thitlpditnchothitbnitip.

Hostname

Thitlptnchorouter.

Description

Thitlpmtcho1thitb.

16

Ping

KimtraktniIP

Traceroute

KimtraktniIP

telnet

KimtraktniIPvdngcuhnhchorouter

showcontrollers

ChratrngthicaDTEvDCE.

2.2CcmodulecaphnmmBosonNetSimTM
PhnmmBosonNetSimTM gmc2modulechnhl:
BosonNetSimTM
BosonNetworkDesignerTM
2.2.1BosonNetSim
PhnmmNetSimcungcpccbiLABvLAN/WAN/Internetvi3loiLABch
yu:

StandAloneLABs
Chophpngidngthchinnhngbilabnthun,mangtnhthc
hnhvinhngculnhcbnvnginchotngchkhcnhau.Cc
bilabcng lclpvinhau.

SequentialLABs
a ra cho ngi dng nhng bi lab mang tnh tun t. Tc l ngi
dngs phi thc hin tun t tngbi lab mt, xong bi trc, mi c
loadbitiptheo.

ScenarioLABs
Bao gm nhng bi lab c bn vi mc ch gii thiu vi ngi dng v
cngnghmtcchnginnht.Nhng bilabnycthitkara
chobnthycynhngcphplnhcbncnthitthcthi.
cththchincnhngbilabnythachipvsubnetsc
xcnhnhnhauchottcccthitbtrongtonbccbilab.iuny
gip chongidngstp trungc vo nhngculnh mi trongtng
bilab.Nhngbilabnycthitkthchinmtcchclp.iu
cnghalngidngcthlmbtkmtbilabno,khngcntheo
tunt.Ttnhtlngidngnnloadccbi labtlabnavigator,hon

17

thnh bi lab, grade lab, sau mi load bi lab tip theo. Nh vy ngi
dng s phi lp cc cu lnh ca mnh cho nhngthit b nh nhau trong
ccbilab.
2.2.1.1StandAloneLabs
2.2.1.1.1Cclabctrongmodule:
1. ConnectingtoaRouter
2. IntroductiontotheBasicUserInterface.
3. IntroductiontoBasicShowCommands.
Showversion
Showcdp
Showclock
Showflash
Showhistory
Showhost
Showinterfaces
ShowProtocols
ShowSessions
ShowTerminal
ShowUsers
ShowFramerelay
Showisdn
Showntp
Showrunningconfig
Showstartupconfig
Showaccesslists
Showconfiguration
Showip
Showarp

ThngtinCDP
Hinthng hhthng
Hinththngtinbnh
Hinthcclnhthchin.
Hin th IP domainname, tn server v
cccnggiaotip.
Trng thicccng giaotipvcuhnh.
Kchhotccgiaothcnhtuynmng
ThngtinvktnitxaTelnet
Hinthcuhnhccthamsucui
ThngtinFramerelay
ThngtinISDN
Thigiangiaothcmng
Cuhnhhotng hinthi
Cuhnhkhing
Danhschtruynhp
ThngtinIP
BngARP

4. CDP
5. Extended Basics : Tng quan v cu hnh cho mt s phm vi c bn ca
router.
Trongbilabnycpnvnthitlp mtkhuchochcquyn.
Viculnhenablepassword dngthitlpcmtkhuchovictruy
nhpvochcquyn,iunyrtquantrngvchcquyncho
phpthayicuhnh.

18

Viculnhenablesecretpassword
BannerMOTD(MessageoftheDay):ThitlpbiungMOTD.Biu

6.

ngnysxuthinmikhinhp vorouter.Biungnycngcdng
hinththngtinvrouterhochinthnhng tinnhncnhbo.
7. CopyCommand:
8. IntroductiontoInterfaces
9. GiithiuvIP(InternetProtocolGiaothcInternet):
achIPrtngincuhnhtrongrouterCisco.Mcdvictnh
tonachIP,subnetvhostcthphctp hn.
C php t a ch IP cho cc giao tip l ip address ipaddress a ch
mask.
BilabnycngaracchthcPING(PacketInterNetGroper),chophp
ngidngkim traktni1cchcbnnht.Cphpcholnhnyl:ping
ipaddress.
Ping l mt cng c kim tra ph bin nht, n s dng giao thc
ICMP(InternetControlMessageProtocol)linlcviccrouterkhc.
10. ARP
11. CreatingaHosttable
12. StaticRouters.
13. RIP
RIP (Routing Information Protocol) l mt giao thc nh tuyn theo vect
khong cch c s dngrngri trao i thng tin nh tuyn. RIP s
dngvicmshopquytnhngtruynttnhtgia2location.S
lnghop ti a cho mi con ngtruyn gi tin theo phng thcRIP l
15.Trongmtmng RIP,mirouterqungbtonbbng RIPcanticc
routerlncn30s/ln.KhiccrouternhncccbngthngtinRIPtcc
routerlncn,chngssdngthngtincpnhtbngnhtuynca
mnhvsaugibngcpnhtnyticclncn.Qutrnhnyclp
bi mi router v kt qu l cc trngthi c cp n gingnhtrong
mtmnghit,trongttcccrouterucnhdnhtronggiaothclin
mng.

19

RIPphinbn1khngchaachsubnettrongbng nhtuyncpnhtcn
phinbn2thcchaach subnet.
Lnhrouterripdng khing RIP.
Lnhnetworknetworknumberdngkhaibonhngcnggiaotipnoca
routercphpchytrnRIP,tRIPsbtugivnhnthngtin
cpnhttrncccngtngngcaRIPcpnhtthngtinnhtuyntheo
chuk.
Lnhshowiproutedngxemnhngngi mrouterhcctcc
routerRIPlncncccitvobng nhtuynhaykhng.
14. TroubleshootingRIP.
Lnhdebugiprip:tm litronghotng cpnhtcaRIP
15.IGRP
IGRP(InteriorGatewayRoutingProtocol)lmtgiaothcnhtuynniv
nhtuyntheovectokhong cch,lachnng ibng cchsosnhvecto
khong cch. Router chy giao thc nh tuyn theo vect khongcch thc
hin bngnh tuyn theo nh k cho cc router ln cn. Davo thng tin
cpnht,routersxcnhcmngmivcpnhtscvng truyn
trnmng.IGRPthchincpnhttheochuk90giy/ln vchgithng
tincpnhttrongmthring.
IGRPquytnhchnngdavobngthngvtrcaccnglin
kttrongmng.
Lnhrouteigrp:
Lnhdebug igrp:
16.PPPwithCHAPAuthentication
Trong bi lab ny, ta s i vo tm hiu phng thc ng gi PPP v cch
thcm boktnivisthm nhquynCHAP.
PPP (Point to Point Protocol) l mt giao thc kt ni gia 2 my tnh qua
cngSerial.PPPsdnggiaothcInternet(IP)nnikhincxemnh
1dngcagiaothcTCP/IP.TrongmhnhOSI,PPPnmlp2(datalink
layer).

20

PPPlmt giaothckpcthcsdngtrongnhiu mitrngvtl


nh cp xon hay cp quang hoc trong truyn thng v tinh. N s dng
phngthcnggiHDLCnggigitin.
CHAP(ChallengeHandshake Authentication Protocol)l mtth tcctnh
bo mt cho vic kt ni vo h thng hn l phng thc PAP(Password
AuthenticationProcedure).CHAPlmvicnhsau:Saukhiktnicthit
lp,servers gi1thngip ththchchobnyucu kt ni.Bnyu
cu kt ni s a ra mt gi tr. Nu gi tr ny ng vi thng ip th
thchbanuththngtinxcminhcxcnhn,cnnukhcthktni
sbxongay.
CuhnhPPPvCHAPchoRouter:
CulnhenablePPPl:encapsulationppp
Pppauthenticationchap.
Router s yu cu vic xc minh qua kt ni bng username (ng vi
hostname) v chap password (ng vi enable password). Thit lp bng cu
lnhusernameRouterpasswordenablepassword.
17.ConnectivitytestwithTraceroute
18.SavingyourConfiguration
Hng dncchsaolucuhnhrouter.
TrnCiscoroutervswitch,tptincuhnhhotngctrnRAMv
nikhingcuhnhlNVRAM.Khibmttptincuhnhthtaphic
tp tin cu hnh khi ng d phng. Mt trong nhng ni ta c th lu d
phng tptincuhnhlTFTPserver.Chng tadng lnhcopyrunningconfig
tftpsaochptptincuhnhlnTFTPserver.TrongbiLabny,chngta
thchinsaolutptincuhnhtrouter4lnPC1.Sau khicuhnhcho
router4,chngtasthitlpachIPchoPC1bnglnhwinipcfg,chng
trnhschophptathay iachIP,subnetvdefaultgatewaychoPC1.
ThchinpingtPC1tirouter4.Trouter4,thchinsaolucuhnhln
TFTPservertrnPC1bnglnhcopyrunningconfigtftp.tinhnhnhpa
chIPcaTFTPservervtnfilecuhnhmchngtascttrnserver.Sau

21

khi thc hin sao lu thnh cng, ta c th cheeck li bng lnh show tftp
configstrnPC1.
19.LoadingRouterConfigurations
Bilabnyhngdncchnpcuhnh vorouter.Khicfilecuhnh
csaolutrnTFTPserver,tacthnplicuhnhchorouterbngcch
copy ngc li file cu hnh t FTFP server v Router bng lnh copy tftp
runningconfig,saunhpachIPcaTFTPservervtnfilesaolu.
20.CopyingandPastingConfigurations.
21.ISDN:IntergratedServicesDigitalNetwork.
22.IPX
IPX (Internetwork Packet eXchange) c pht trin bi Novell vo gia
nhngnm 80 v l nn tngcho giao thcXNSc pht trin bi Xerox.
GiaothcIPXcdng phbinhngiaothcLANvocuinhng nm80
u90.
IPXgmc80bitach,trong32bituchraachmngv48bit
sauchachntmng.ach mngcchnbiquntrmng,cn
a ch nt mng c ly t a ch MAC ca cng giao tip. a ch IPX
cvitdidngmhexa:network.node.node.node.C3giaothcnh
tuynIPXlIPXRIP,IPXEIGRPvNLSP.
23.IntroducetotheSwitch
Giithiuchungvswitch1900vimtslnhcbn.
Switchlmtthitbhotnglp2trongmhnhOSI,cungcpktni
imimgia2thitbmng vinhauvkhnggyraxung t.
Switchcchayccthitbphncnggingnh1PCbaogmCPU,
RAM v IOS. Mt switch c th hot ng theo nhng cch ging nh 1
router.Cthktniquacccnggiaotip,telnetvinquaachIPv.v
Switchsdng 1slnhmroutersdng.
24.IntroductiontoBasicSwitchCommands
25.IntroductiontoFrameRelay
26.FrameRelayHubandSpokeTopology
27.FrameRelayFullMeshTopology.

22

28.StandardAccessLists
29.VerifyStandardAccessLists.
30.ExtendedAccessLists
31.VerifyStandardAccessLists.
32.NamedAccessControlLists.
33.AdvancedExtendedAccessLists
M rng danh sch truy cp cho cc b lc vi nhng dng khc nhau ca
mng truynti:

NetworktoNetwork

HosttoHost.

NetworktoHost.

34.IntroductiontoTelnet
35.IntroductiontoVLANS
36.VirtualTrungkingProtocol(VTP)
Bilabnysgiithiuv:

CuhnhVLANtrnswitchCataalyst2950

GnVLANtiacng

CuhnhgiaothcVTPthitlpktnigiamychvmytrm.

Thitlpmtng trungkgia2switchtruyntivlan.

Kim tracuhnh

37.OSPFSingleAreaConfigurationandTesting
Tin hnh cu hnh cho cc Router vi a ch IP v giao thc nh tuyn
OSPFnvng..
2.2.1.1.2NidungthchinmtbilabtrongStandAloneLabs
Trong mng, vic nh tuyn cho vic truyn ti cc gi tin sao cho hiu qu nht,
trnhctrtrnngtruynlmtvichtscquantrng.nhtuyn,nicch
khclvictmrangtruyntmngnynmngkhc,lqutrnhrouterthc
hinchuyn gidliu ti mngch datheoach. lmciuny,cc
router phi c thng tin v ng i ti cc mng khc. Thng tin v nhng con
ng ny c th c cp nht t ng t router khc hoc l do ngi qun tr
mng tchnhchorouter.Crtnhiuccgiaothcnhtuynkhcnhauphhp
23

vitng yucukhcnhaui vitngloimngmngiquntrmngcth


lachnnhRIP, IGRP,EIGRP.Trong moduleStand Alone Labsc mtsbi
labvnhtuyn,y,emarabilabthchinnhtuynRIPvxlsc
xyratrong nhtuynRIP(Lab13vLab14).
RIP l giao thc nh tuyn ng vi nh tuyn ng, router c th t ng cp
nht v thay i vic nh tuyn theo s thay i ca h thng mng theo vect
khong cch c s dng rng ri. mc d RIP khng c nhng kh nng v c
imtiunhnhnggiothcnhtuynkhcnhngndatrnnhng chunm
vsdngnnvncccnhquntrmngadng.DoRIPlmtgiaothc
ttngihcvmng bculmquen.
Bc1:LoadbiLab13RIPtBosonLabNavigator.Trongbilabnyc3Router
csdng:Router1,Router2vRouter4.TathchincuhnhichIPcho
ccgiaotiptrnrouter.
ChnRouter1tmenueRouter:
Router>enable
Router#configurationterminal
Enterconfigurationcommand,oneperline.EndwithCNL/Z
Router(config)#hostnameRouter1
Router1(config)#interfaceEthernet0
Router1(configif)#ipaddress10.1.1.1255.255.255.0
Router1(configif)#noshutdown
%LINK3UPDOWN:InterfaceEthernet0,changedstatetoup
Router1(configif)#exit
Router1(config)#interfaceSerial0
Router1(configif)#ipaddress172.16.10.1255.255.255.0
Router1(configif)#noshutdown
%LINK3UPDOWN:InterfaceSerial0,changedstatetoup
%LINK3UPDOWN:InterfaceSerial0,changedstatetodown
%LINK5UPDOWN:LineprotocolonInterfaceSerial0,changedstatetodown
Router1(configif)#exit
Router1(config)#

ChnRouter2tmenueRouter:
Router>enable
Router#configurationterminal

24

Enterconfigurationcommand,oneperline.EndwithCNL/Z
Router(config)#hostnameRouter2
Router2(config)#interfaceEthernet0
Router2(configif)#ipaddress10.1.1.2255.255.255.0
Router2(configif)#noshutdown
%LINK3UPDOWN:InterfaceEthernet0,changedstatetoup
Router2(configif)#exit

ChnRouter4tmenueRouter:
Router>enable
Router#configurationterminal
Enterconfigurationcommand,oneperline.EndwithCNL/Z
Router(config)#hostnameRouter4
Router4(config)#interfaceSerial0
Router4(configif)#ipaddress172.16.10.2255.255.255.0
Router4(configif)#noshutdown
%LINK3UPDOWN:InterfaceSerial0,changedstatetoup
%LINK3UPDOWN:InterfaceSerial0,changedstatetodown
Router4(configif)#exit
Router4(config)#

Bc 2 : Tin hnh ping cc kt ni trc tip t cc giao tip trn router n cc


routerlncn.
Router1#ping10.1.1.2
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto10.1.1.2,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=1/2/4ms
Router1#ping172.16.10.2
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto172.16.10.2,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=1/2/4ms

Bc3:SaukhichngtathitlpachIPthnhcngvktniccgiaotip,ta
chuynvocuhnhRIPnhmtgiaothcnhtuynchomngmtalachn.
TaRouter1
Router1#configureterminal
Router1(config)#routerrip

25

Router1(configrouter)#network10.0.0.0
Router1(configrouter)#network172.16.0.0

TiRouter2
Router1#configureterminal
Router1(config)#routerrip
Router1(configrouter)#network10.0.0.0

TiRouter4
Router1#configureterminal
Router1(config)#routerrip
Router1(configrouter)#network172.16.0.0

Bc4:Bygichng tacRIPchytrnc3Router,quayvchcquyn,
tinhnhpingticcngtruynnkhngtrctipcaccrouterlncn.
Vi Router 2 tin hnh ping ti giao tip Serial0 ca Router4 vi a ch IP l
172.16.10.2,vRouter4tinhnhpingtigiaotipEthernet0caRouter2viach
IPl 10.1.1.2
Router2#ping172.16.10.2
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto172.16.10.2,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=1/2/4ms
Router4#ping10.1.1.2
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto10.1.1.2,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=1/2/4ms

Bc5:SaukhipingticcRouterthnhcng,kimtrabngnhtuyntrncc
Router,tadng lnhshowiproute

26

Kim tra thng tin v giao thc nh tuyn IP trn cc router dng lnh show ip
protocols

Nhvychng tatinhnhxongviccuhnhnhtuynRIPchoccRouter.
SauylcchthcxlscvhotngcpnhtcaRIPmtcchcbnnht
trongbiLab14TroubleshootingRIP.
HuhtcclicuhnhRIPudokhaibosaiculnhnetworkhocsubnetkhng
lintc.LnhctcdngnhttrongvictmlicaRIPtronghotngcpnhtl
lnhdebugiprip.LnhnyschophphinthccthngtinnhtuynmRIPgi
vnhn.

27

2.2.1.2 SequentialLabs
2.2.1.2.1GiithiuvSequentialLabs
Modul ny c chanhng lab hngdn l c s trong phn mmBoson NetSim.
Dng switch Cataalyst 1900, 2950, v 5000 c dng rng ri trong m phng.
NetSSim cngh tr nhiu giao thcnh tuyn nhRIP, EIRGP, IGRP v OSPF.
N cng h tr cc giao thc LAN/WAN khcas nhau nh PPP/CHAP, ISDN v
FrameRelay.NhngbitptrongSequentialLabschyucuphnmmNetSSim,
khngyucutruynhpvobtkmtrouterngoihocswitchnokhc.Mcd
NetSimhtrvhuchnhngkhngphittcccculnhIOSucthctrn
routerhocswitchthc.Ttcccculnhcdngtronglabhngdnuh
trmphng.
SequentialLabsc20biLab:
1. BasicRouterConfiguration
2. AdvancedRouterConfiguration
3. CDP.
4. Telnet
5. TFTP
6. RIP
28

7. IGRP
8. EIGRP
9. OSPF
10. Catalyst1900SwitchConfiguration.
11. VLANsandTrunking(1900Switches).
12. Catalyst2950SwitchConfiguration
13. VLANsandTrunking(2950Switches)
14. IPAccessLists
15. NAT&PAT
16. PPP&CHAP
17. ISDNBRIBRIusingLegacyDDR
18. ISDNBRIBRIusingDialerProfiles
19. ISDNPRIusingLegancyDDR
20. FrameRelay.
2.2.1.2.2 ThchnhmtbiLabtrongSequentialLabs
Trong Cisco router v switch, tp tin cu hnh hot ngc trn RAM v ni
khingcuhnhlNVRAM.Khibmttptincuhnhthtaphictptincu
hnh khi ng d phng. Mt trong nhng ni ta c th lu d phng tp tin cu
hnhlTFTPserver.
Vnnyc cpntrongbiLab5TFTP
Bc1:TinhnhloadLab5TFTPtBosonLabNavigator.TrongbiLabny,yu
cutralthchinsaolucuhnhPCl TFTPServer,sausaolucuhnht
Router1lnTFTPRouter.ChnRouter4teRouter,thchincuhnhchoRouter4.
Router>enable
Router#configurationterminal
Enterconfigurationcommand,oneperline.EndwithCNL/Z
Router(config)#hostnameQuy
Quy(config)#interfaceEthernet0
Quy(configif)#ipaddress24.37.1.1255.255.255.0
Quy(configif)#noshutdown
%LINK3UPDOWN:InterfaceEthernet0,changedstatetoup

29

Bc 2: Sau khi cu hnh xong cho Router1, kimtra cu hnh hin thi bnglnh
showrunningconfig:
Bc3:TinhnhcuhnhTFTPserverchoPC1.ChnPC1teStations.Cita
chIP,subnetvdefaultgatewaychoPC1.ytachnachIPchoPCginh
l 24.37.1.252 255.255.255.0 v default gateway l 24.37.1.1 (a ch IP cng
Ethernet0caRouter1).SautinhnhpingtPC1tiRouter1.

Bc4:TchcquyncaRouter1,tatinhnhcopycuhnhhinthiln
TFTPservertrnPC1.

TrnPC1,tac thkim tracuhnhclutrtrnTFTPserver:

Bc5:Thchinloadfilecu hnhtTFTPservernp voNVRAMca Router.


Phi m bo NVRAM ca Router l rng bng lnh show startupconfig, xo file
hinthinucbng lnherasestartupconfig.LoadfilecuhnhtTFTPserver:
30

2.2.1.3 ScenarioLabs
2.2.1.3.1NidungScenarioLabs
McchcahthngccbilabtrongModuleScenarioLabsgiithiuchobnv
kthut1cchhonchnhnht,khngcsaist.Ccbilabnycthitkch
rachobnthycgiihnscclnhcnthitcdngtrongkthutmngv
khngbaohmcclnhmrngstchi bn.lmmtcchchiuqunht
thachip v subnettrongtonbccbi labc vittheocngmt cchnh
nhau.iunygipbnstptrungcvocclnhmisxuthintrongtng
lab.
Cclabcthitkcthlmvicmtcchclpvicclabkhc.iu
cnghalbncthlmbtklabnobnmunmkhngcnphitheotht.
MtcchlmsdngcclabllaodlabtLabNavigator,honthnhlab,grade
yourselfvsauloadlabtiptheo.Cuhnhchottcccthitbcthclu
li.
Nubngpphitrctrcvilab,cthsdngchcnngGradeMexcnh
culnhbthiu.
ScenarioLabsc26biLab,baogm:
1. SettingupSerialInterfaces
2. CDP
3. IPAddressing
4. StaticRoutes
5. DefalutRouters
6. RIPRouters
7. IGRPRouters
8. UsingLoopbackInterfaces
9. RIPv2Routers

31

10. CHAPandRIP
11. StandardAccessListswithRIP
12. ExtendedAccessListswuthRIP
13. EIGRPRouters
14. OSPFRouters
15. StaticNAT
16. ManytoOneNAT
17. NATPool
18. Telnet
19. 2950IPAddress
20. 2950 Trunk
21. 2950Trungk(Dynamic)
22. 2950 VLANs
23. 2950 DeletingVLANs
24. 2950 VTP
25. 2950 VTPwithClient
26. 2950 Telnet.
2.2.1.3.2ThchnhviScenarioLabs
MtctnhquantrngcamngchuynmchEthernetlmngLANo(VLAN).
VLANlmtnhmlogicccthitbmnghocccuser.ViVLAN,mngckh
nngphttrin,bomtvqunltthnvroutertrongcutrcVLANcthngn
ccgitinbroadcastvqunldng lulngmng.ScenarioLabstrongphnmm
NetSimcara2biLabgiithiuvVLANtrndngswitchCatalyst2950(Lab
22vLab23).
Lab 222950 VLANs, mt yu cu c ara l thit k 1 VLAN dngswitch
2950vi2switch2950v2PC.
Bc1:LoadLab222950VLANstBosonLabNavigator.ChnSW1teSwitch,
tinhnhcuhnhchoSW1.
Switch>enable
Switch#vlandatabase
Switch(vlan)#vlan10
VLAN10added:

32

Name:VLAN0010
Switch(vlan)#vlan100
VLAN10added:
Name:VLAN00100
Switch(vlan)#exit
APPLYcompleted
Exiting
Switch#configurationterminal
Switch(config)#hostnameSwitch1
Switch1(config)#interfacefastethernet0/2
Switch1(configif)#switchportaccessvlan10
Switch1(configif)#exit
Switch1(config)#interfacefastethernet0/3
Switch1(configif)#switchportaccessvlan10
Switch1(config)#exit
Switch1(config)#interfacefastethernet0/4
Switch1(configif)#switchportaccessvlan10
Switch1(configif)#exit

CuhnhchoSW2
Switch>enable
Switch#conft
Switch(config)#hostnameSwitch2.

CuhnhchoPC1
C:>winipcfg
IPaddress:192.168.100.1255.255.255.0

CuhnhchoPC2
C:>winipcfg
IPaddress:192.168.100.255.255.255.0

Kimtraktqu

33

Bc2:XoVLAN
XomtVLANtrnswitchcnggingnhmtdnglnhxotrongcuhnhrouter.
ToVLANbng lnhnothdng dng caculnhxoVLAN.
Switch1(config)#interfacefastethernet0/2
Switch1(configif)#noswitchportaccessvlan10
Switch1(configif)#exit
Switch1(config)#interfacefastethernet0/3
Switch1(configif)#noswitchportaccessvlan10
Switch1(config)#exit
Switch1(config)#interfacefastethernet0/4
Switch1(configif)#noswitchportaccessvlan10
Switch1(configif)#exit

Kimtraktqu:

2.2.PhnmmmphngvthitkmngBosonNetworkDesignerTM
2.2.1GiithiuvphnmmBosonNetworkDesignerTM
PhnmmBosonNetworkDesignerchophpbnthitkcctopo mngringca
mnhsaucuhnhchngbngphnmmBosonNetSim.Topoldngvtlca
mngvkhnglinquantithitbhoccuhnhmngvbnsthchinvic

34

trnNetSim.Cchduynhtthmhocbticcthitbtrongmngmphngl
sdng BosonNetworkDesigner.
Phin bn Boson Network Designer v.6.0 beta cho php m phng 44 loi Router
thuc series 800, 1000, 1600, 1700, 2500, 2600, 3600, 4500 3 loi Switch thuc
series1912,2950,3550ccktnicbn:Ethernet,Serial,ISDNvPC.
KtniFastEthernetkhngctronglistcc ktni,nuccthitbc ktnicho
Fast Ethernet th chng c th t truy cp. Frame Relays l kt ni imim qua
cngSerialnnchng phicchntrongloiktniSerial.
Thngtinvthitbbaogm loithitb(DeviceModel),cccng (AvailablePorts)
vcc khechcnng(SlotOptions)chinthtronghpthoithngtinthitb
(Device Information Box). Cc thng tin ny s xut hin trc khi bn a chng
votopoNetmapcabn.

Cchthcsdng chngtrnhldraganddrop,kovthnnrtngins
dng.trnhslnxntrongkhisdng,bnnnthitkvtomngcamnh
theoccbcsau:
1. LoadBosonNetworkDesignerbng cchclickvoNewmenuFile.
2. Totopomng cabn.
3. Kim traccktnivtl.

35

4. LuNetMapTopology(cdng file.top).
5. Thot khi chng trnh Boson Network Designer v tr li chng trnh
NetSim.
6. TmenuFile,chnLoadNetmap.
7. Loadfiletopofilename.topmbnkhitotrc.
8. Tinhnhcuhnhchoccthit btheolachncabnmphng.

2.2.2

Thc hnh thit k v m phng mt mng bng phn mm Boson


NetworkDesignerTM

2.2.2.1 Yucutralmphngmtmngcskhinhtrnhnh:

Ccsliuchomng trnnhsau:
Tnthitb

Model

Cnggiaotipdng n

achIP

Switch1

1912

Ethernet0/1

192.168.100.0/24

Switch2

1912

Ethernet0/1

192.168.102.0/24

Router1

805

Ethernet0

192.168.100.5/24

36

Serial0

172.16.1.1/24

Ethernet0

192.168.101.1

Serial0

172.16.1.2/24

Serial1

172.16.2.1/24

Bri0

42.34.10.1/24

Ethernet0

192.168.102.0/24

Serial0

172.16.2.2/24

Bri0

42.34.10.121/24

PC1

Ethernet0

192.168.100.2/24

PC2

Ethernet0

192.168.101.1/24

PC3

Ethernet0

192.168.102.1/24

PC4

Ethernet0

192.168.100.4/24

PC5

Ethernet0

192.168.100.3/24

PC6

Ethernet0

192.168.101.2/24

Router2

Router3

2501

2501

2.2.2.2Thchin
a/
Load phn mm Boson Network DesignerTM, sau chn cc thit b Task pane,
sautinhnhtccktnichoccthitbchohplvphhpngviyu
cumng tra.Trongqutrnhidy",cmtsimlusau:
Xcnhng loiktnichothitb,chncccngktnichohpl.
KhitoktniSerialchoccthitbvinhausc2lachnlthchinkt
niPPPhocktniFrameRelay.CnluxcnhrthitbnolDCE
vthitbnosngvaotrlDTEta acuhnhclocking vong
thitb,ng thixcnhr gitrDHCLchotng thitb.
KhitoktniISDNchoccthitb,tacnlachnkiuISDNchohpl.
Saukhihonttvicidy,chng tacmttopomngmphngvmtvt
l.Tinhnhlutrfiletopo lididng filename.top.
b/
Saukhiccmttopo,tastinhnhcuhnhchothitbmphngbng
phn mm Boson NetSimTM. Thc hin Load Net Map t menu File load topo
mng m ta thit lp. Trong qu trnh cu hnh cho mng, ta c th s dng
37

NetMapViewerquansttopo mngthitk,xcnhchnhxccccngni
trntngthitbvccthngtinlinquancngnhviclachncuhnhchobt
kmtthitbno.
Diylqutrnhcuhnhtopomngcxydngtskhitrnbng
phnmmmphng BosonNetSimTM.

Bc1:CuhnhchoSwitch1vccktniviSwitch1:
T NetMap Viewer, click chut phi, chn Configure, chng trnh s cho ta giao
dinNetSim thchincuhnh choSwitch1
>en
#conft
Enterconfigurationcommand,oneperline.EndwithCNL/Z
(config)#hostnameSwitch1
Switch1(config)#interfaceEthernet0/1
Switch1(configif)#ipaddress192.168.100.0255.255.255.0{Diachsdng.}

CuhnhchoccPCktniviSwitch1
PC1
C:>winipcfg
IP:192.168.100.1255.255.255.0172.16.1.1

38

PC5
C:>winipcfg
IP:192.168.100.2 255.255.255.0172.16.1.1
PC4
C:>winipcfg
IP:192.168.100.3 255.255.255.0172.16.1.1
Saukhicuhnhxong,tinhnhkimtraktnittngPCtiSwitch1
PC1C:>ping192.168.100.0
PC4C:>ping192.168.100.0
PC5C:>ping192.168.100.0

Nhvytinhnhcuhnhxong.

Bc2:CuhnhchoRouter1vccktniviRouter1
Router1cktniEthernetviSwitch1vFrameRelayviRouter2.
CuhnhktniviSwitch.

39

CuhnhktniFrameRelaycaRouter1vRouter2.
TiRouter1
Router1#conft
Router1(config)#interfaceserial0
Router1(configif)#ipaddress172.16.1.1255.255.255.0
Router1(configif)#noshut
Router1(configif)#encapsulationframerelay
Router1(configif)#framerelayinterfacedlci102
Router1(configif)#exit
%LINK3UPDOWN:InterfaceSerial0,changedstatetoup
%LINEPROTO5UPDOWN:LineprotocolonInterfaceSerial0,changedstatetoup
21:49:39:%FR5DLCICHANGE:InterfaceSerial0DLCI102statechangedtoACTIVE.

TiRouter2
Router>en
Router#conft
Enterconfigurationcommand,oneperline.EndwithCNL/Z
Router(config)#hostnameRouter2
Router2(config)#interfaceserial0
Router2(configif)#ipaddress172.16.1.2255.255.255.0
Router2(configif)#noshut
Router2(configif)#encapsulationframerelay
Router2(configif)#framerelayinterfacedlci201
Router2(configif)#exit

Kim tra cuhnhFrameRelay

40

Bc3:Tinhnhthchincc ktnicnlicaRouter2
KtniPPPgiaRrouter2vRouter3,tiptctcuhnhtRouter2:
Router2#conft
Router2(config)#interfaceserial1
Router2(configif)#ipaddress172.16.2.1255.255.255.0
Router2(configif)#encapsulationppp
Router2(configif)#noshutdown.

ChncuhnhchoRouter3.
Router>en
Router#conft
Enterconfigurationcommand,oneperline.EndwithCNL/Z
Router(config)#hostnameRouter3

41

Router3#conft
Router3(config)#interfaceserial1
Router3(configif)#ipaddress172.16.2.2255.255.255.0
Router3(configif)#encapsulationppp
Router3(configif)#noshutdown.

Kimtra
Router3#ping172.16.2.1.

CuhnhktniISDNgiaRouter2vRouter3.
Router2#conft
Router2(config)#interfacebri0
Router2(configif)#ipaddress42.34.10.1255.255.255.0
Router2(configif)#noshut
%LINK3UPDOWN:InterfaceBri0,changedstatetoup
Router2(configif)#isdnspid132177820010100
Router2(configif)#isdnswitchtypebasicni
Router2(configif)#exit
Router2(config)#exit
Router2#showisdnstatus
GlobalISDNSwitchtype=basicni
ISDNBRO)interface
Dsl0,interfaceISDNSwitchtype=basicni
Layer1Status:
TESTING
Layer2Status:
TEI=64,Ces=1,SAPI=0,State=MULTI_FRAME_ESTABLISHED
TEI64,ces=1,state=5(init)
Spid1configured,noLDN,spid1sent,spid1valid
Layer3status:
0ActiveLayer3Call(s)
Activedsl0CCBs=0
TheFreeChannelMask:0x80000003
NumberofL2Discards=0,L2SessionID=100
TotalAllocatedISDNCCBs=0
Router2#conft

42

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Router2(config)#interfacebri0
Router2(configif)#dialerstring7782001
Router2(configif)#dialerlist1protocolippermit
Router2(config)#interfacebri0
Router2(configif)#dialergroup1

TiRouter3
Router3#conft
Router3(config)#interfacebri0
Router3(configif)#ipaddress42.34.10.121255.255.255.0
Router3(configif)#noshut
%LINK3UPDOWN:InterfaceBri0,changedstatetoup
Router3(configif)#isdnspid132177820010100
Router3(configif)#isdnswitchtypebasicni
Router3(configif)#exit
Router3(config)#exit
Router3#showisdnstatus
GlobalISDNSwitchtype=basicni
ISDNBRO)interface
Dsl0,interfaceISDNSwitchtype=basicni
Layer1Status:
ACTIVE
Layer2Status:
TEI=64,Ces=1,SAPI=0,State=MULTI_FRAME_ESTABLISHED
TEI64,ces=1,state=5(init),state=8(established)
Spid1configured,noLDN,spid1sent,spid1valid
Layer3status:
0ActiveLayer3Call(s)
Activedsl0CCBs=0
TheFreeChannelMask:0x80000003
NumberofL2Discards=0,L2SessionID=100
TotalAllocatedISDNCCBs=0
Router3#conft
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Router3(config)#interfacebri0
Router3(configif)#dialerstring7782001

43

Router3(configif)#dialerlist1protocolippermit
Router3(config)#interfacebri0
Router3(configif)#dialergroup1
Router3(configif)#end
Kimtraktni.

Bc4:CuhnhccktniviSwitch2
Switch2cccktniEthernetviRouter2,PC2vPC6
>en
#conft
Enterconfigurationcommand,oneperline.EndwithCNL/Z
(config)#hostnameSwitch2
Switch2(config)#interfaceEthernet0/1
Switch2(configif)#ipaddress192.168.101.0255.255.255.0{Diachsdng.}

CuhnhchoccPCktniviSwitch1
PC2
C:>winipcfg
IP:192.168.101.1255.255.255.0172.16.1.1
PC6
C:>winipcfg
IP:192.168.101.2 255.255.255.0172.16.1.1
Saukhicuhnhxong,tinhnhkimtraktnittngPCtiSwitch2
PC2C:>ping192.168.101.0

44

PC6C:>ping192.168.101.0

Bc5:CuhnhchoRouter3
Router3cccktniPPPvISDNviRouter2vktniEthernetviPC3
Router3#conft
Router3(config)#interfaceEthernet0
Router3(configif)#ipaddress192.168.102.0255.255.255.0
Router3(configif)#noshutdown.
PC3
C:>winipcfg
IP:192.168.102.1255.255.255.0172.16.1.1
C:>ping192.168.102.0

45

CHNG3:TNGKTVHNGNGHIN
CUTIPTHEO
3.1 Mngmytnh vshtrcaccphnmmmphng.
Nh trnh by 2 chng k trn, ta c th thy khi qut c phn no khi
nimcbnvtngquanvmngmytnh.Visraicartnhiunhngphn
mmhtrmphngmng gipchonhngngiquntr vthitk mngni
ringvnhngngiquantmtimngmytnhnichungccmtcungch
trhiuquchocngviccngnhhctp,nghincucamnh.Digcca
mt sinh vin, bn cnh vic tm hiu v mt l thuyt, c hi c th c tm
hiu,thchnhvngdngtrnnhngthitbthctlrthnhp.Bngccphn
mm m phng, vn c gii quyt mt cch n gin. Boson NetSimTM l
mttrong nhngphn mm m phngc sdngnhiuhinnay.Vi giaodin
ngin,ihicuhnhcitkhngln,ccbilabtrongphnmmgnlinvi
rtnhiunhngnidungcbntronghotngcamngmytnh.Vi2module
BosonNetSimTM vBosonNetworkDesignerTM,ngidngcthtthit kmt
mng camnh,saucuhnh chochng hotng.
3.2Hngnghincu tiptheo
Vi nhng kin thc c hc trn lp, sau mt thi gian tm hiu nhng kin
thcv mng,bnthnemnhnthy hotngca mt mngmytnh lstng
hpcanhiuqutrnhkhcnhautrong vicnhtuynlmtvnng vaitr
quan trng. Hin nay, c rt nhiu giao thc nh tuyn c s dng nh RIP,
RIPv2, IGRP, EIGRP, OSPF v.v Cc giao thcnh tuyn ny c xy dng da
trncsnhtuyntheovectkhongcch,theotrngthinglinkt.Nmr
ccgiaothcnhtuynsgipngiquntrmngcthqunlchotng
camngvsalikhimnggpsc.

46

47

TILIUTHAMKHO
[1] Tng VnOn,Mngmytnh,Nhxutbnlaong xhi,2005.
[2] NetworkingEssentials,ebook.
[3] Giotrnhmngcnbn,ebook.
[4] UserManualof BosonNetSimTM.

48

You might also like