Está en la página 1de 7

Bi t p th c hnh mn qu n l m ng vi n thng Cc bi th c hnh mn h c: Qu n l m ng vi n thng (DRAFT) Bin son: ThS. Nguyn nh Long, ThS.

Hong Trng Minh Tng quan: Nhm kt hp v b tr ni dung kin thc cho mn hc Qun l mng vin thng. Cc bi thc hnh di y hng Sinh vin tip cn vn qun l mng vin thng di gc phng php lun trn c s ca cc h thng phn mm m phng, cc giao din qun l thng dng v cc thit b chnh yu trn h tng mng vin thng hin nay. H thng bi tp c chia thnh 05 bi vi cc nhim v qun l trc tip thit b, qun l t xa thit b v qua giao thc qun l mng vi cc hnh thc qun l hin i. Nm vng mc tiu qun l mng c th hin qua cc bi sau: Bai 1: Quan ly trc tip Router qua cng Consol Bai 2: Quan ly router qua cng telnet Bai 3: Quan ly router thng qua giao thc tftp Bai 4: Quan ly router thng qua http (web broser) Bai 5: Quan ly router thng qua giao thc quan ly SNMP Nhm bi tp thc hnh trn ng vai tr b tr kin thc v k nng qun l mng, cc Sinh vin c yu cu hon thin kin thc thng qua cc bo co theo tng bi. Cc nhm sinh vin chun b trc v dnh thi gian trong bi 1 tm hiu v cc cng c m phng: Packet tracer, GNS-3 v Oputils 5. Sinh vin lm ti thiu 04 bi thc hnh theo cng di y (file nh km) http://www.mediafire.com/?2e9u1939covp3

Bai th c hnh s 1

Quan ly trc tip Router qua cng Console 1. MC TIU Kin thc: Gip sinh vin nm bt kin thc c s ca vn qun l mng trc tip bng cng console ti b nh tuyn thng qua phn mm, cng c m phng. K nng: Nhn thc r phn b v tr vt l, cch thc nhn din phn t, thnh phn, giao din v tham s cu hnh ca cc cng trong b nh tuyn. 2. YU CU Sinh vin nm bt c giao din vt ly quan ly chuyn bit Nm bt c cach thc kt ni dy cap Consol Lam quen giao tip quan ly Hyper Terminal Lam quan giao din dong lnh CLI 3. C IM CHNH Quan ly trc tip Router qua cng Console la cach thc quan trong nht qun l mt phn t trong mang v coi l bc khi u cho moi cach thc quan ly. Phng phap nay co mt s c im nh sau: Quan ly trc tip qua giao tip vt ly chuyn bit Quan ly trc tip gn lin vi phng php qun l phn tan iu hnh thit b (khi tao nong, cu hnh, khi phc Password,v..v) 4. CHUN B Cai t phn mm m phong Packet Tracer. (PacketTracer_setup.exe) Dy Consol ( quan sat) PC co cng Com (RS232) quan sat 5. CC BC TIN HNH

Bc 1: Lm quen vi chng trnh m phng Packet tracer. - Sinh vin tm hiu cu trc chng trnh m phng, cch thc thc hin xy dng mt bi m phng gm: thit b router, dy ni, my PC, cng console). Bc 2: La chn thit b router v cng console - Sinh vin xy dng bi m phng n gin gm 01 router + 01 PC. Ch quan st phn cng ca b nh tuyn chn. Bc 3: Thc hin kt ni gia b nh tuyn v PC - La chn cp kt ni, xem xt k c tnh ca cc loi cp kt ni c sn trong chng trnh m phng. Bc 4: Ci t cc tham s cho tuyn kt ni - Chn tham s ng truyn qua console ph hp, th hin kt qu qua CLI. 6. KT QU V BO CO - Sinh vin nm r cc c tnh c bn ca chng trnh m phng - Cc c tnh qun l qua console (u, nhc) - ngha cc tham s qun l - Vit bo co nhn xt th hin r mc tiu kin thc v k nng. Nhn xt v nh gi kt qu trong tng bc thc hin.

Bai th c hnh s 2

Quan ly b nh tuyn qua Telnet 1. MC TIU Kin thc: Gip sinh vin tip cn phng php qun l t xa, nm bt c cu qun l v giao din dng lnh s dng cu hnh b nh tuyn. K nng: S dng thnh tho mt s cu lnh cu hnh b nh tuyn, ci t tham s theo yu cu thc t ca kch bn mng. 2. YU CU Hiu va s dung ng dung telnet trong quan ly mang Thit lp cu hinh cho Router m cng telnet Lam quen vi phn mm gia lp GNS-3 Kt ni h thng gia lp va h thng tht S dung cac cng cu co h tr telnet 3. C IM CHNH Quan ly Router bng Telnet co mt s c im sau: Quan ly t xa Quan ly trong bng (D liu ngi dung va d liu mang thng tin quan ly i trn cung mt mang hoc trn cung mt lin kt). Can thip trc tip vao h thng c quan ly thng qua giao din dong lnh CLI tng t nh quan ly qua cng Console. i vi thit bi cua Cisco, phai t password cho Privileged mode (enable password). 4. CHUN B Cai t v kim tra phn mm GNS-3 Dn ng kt ni cho IOS 2691 Tinh toan Idle PC giam tai CPU Tao card mang ao cho PC 5. CC BC TIN HNH Bc 1: Xy dng m hnh gi lp. - Sinh vin tm hiu cu trc chng trnh m phng GNS-3, xy dng mt mng n gin gm mt m my mng kt ni vi router 2691).

Bc 2: To v cu hnh tham s cho card mng o - Sinh vin thc hin thit lp card mng o trn my tnh PC. - Ci t a ch IP: 192.168.50.100 255.255.255.0, gateway 192.168.50.1 Bc 3: Cu hnh cc tham s cho mng gi lp - Cu hnh tham s cho mng o - Kt ni mng o vi card mng o trn my PC - Kt ni am my mang vi giao din FastEthernet 0/0 bng lin kt FastEthernet - Bt router, kim tra kt ni Bc 4: Cu hnh tham s cho router 2691 - Vo giao din console ca dynamips - S dng CLI cu hnh cho router 2691 - Thit lp tn cho router: Router (config)#hostname Router-1 - Thit lp ia chi IP cho giao din F 0/0 cua Router :Router-1(config-if)#ip address 192.168.50.1 255.255.255.0 - Thit lp password Privileged mode : Router (config)#enable password long1 - M cng Telnet cho router - Router (config)#line vty 0 4 - Router (config-line)#pass long2 - Router (config-line)#login Bc 5: Kim tra kt ni t PC ti router 2691 - Kim tra kt ni ti F0/0 (ping) - Kim tra kt ni ti b nh tuyn Bc 6: S dng telnet qun l router - S dng telnet t CMD - S dng telnet thng qua Hyper terminal 6. KT QU V BO CO - Sinh vin nm r cc c tnh c bn ca chng trnh m phng - ngha cc tham s ci t - Vit bo co nhn xt th hin r mc tiu kin thc v k nng. Nhn xt v nh gi kt qu trong tng bc thc hin. Cac phan mem su dung cho chuong trinh thuc hanh: IOS 2691 http://www.mediafire.com/?kzvaxlooksxf6s4 CISCO TFTP http://www.mediafire.com/?zzqqez54dwrj2ei Etherreal http://www.mediafire.com/?r9rq7efs37n6g1d GNS-3 http://www.mediafire.com/?6euq7mq31985mki Manager ENGINE OPUTILS http://www.mediafire.com/?n6j2ngbgl41su2o Packet tracer http://www.mediafire.com/?uk531apirepeugh Hng dn to card o loop back; http://support.microsoft.com/kb/839013 Manual installation To manually install the Microsoft Loopback adapter in Windows XP, follow these steps:

1. Click Start, and then click Control Panel. 2. If you are in Classic view, click Switch to Category View under Control Panel in the left pane. 3. Double-click Printers and Other Hardware, and then click Next. 4. Under See Also in the left pane, click Add Hardware,and then click Next. 5. Click Yes, I have already connected the hardware, and then click Next. 6. At the bottom of the list, click Add a new hardware device, and then click Next. 7. Click Install the hardware that I manually select from a list, and then click Next. 8. Click Network adapters, and then click Next. 9. In the Manufacturer box, click Microsoft. 10. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next. 11. Click Finish. After the adapter is installed successfully, you can manually configure its options, as with any other adapter. If the TCP/IP properties are configured to use DHCP, the adapter will eventually use an autonet address (169.254.x.x/16) because the adapter is not actually connected to any physical media. H ng d n t o card o loop back; http://support.microsoft.com/kb/839013 Manual installation To manually install the Microsoft Loopback adapter in Windows XP, follow these steps: 1. Click Start, and then click Control Panel. 2. If you are in Classic view, click Switch to Category View under Control Panel in the left pane. 3. Double-click Printers and Other Hardware, and then click Next. 4. Under See Also in the left pane, click Add Hardware,and then click Next. 5. Click Yes, I have already connected the hardware, and then click Next. 6. At the bottom of the list, click Add a new hardware device, and then click Next. 7. Click Install the hardware that I manually select from a list, and then click Next. 8. Click Network adapters, and then click Next. 9. In the Manufacturer box, click Microsoft. 10. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next. 11. Click Finish. After the adapter is installed successfully, you can manually configure its options, as with any other adapter. If the TCP/IP properties are configured to use DHCP, the adapter will eventually use an autonet address (169.254.x.x/16) because the adapter is not actually connected to any physical media. Video h ng d n t o card loopback o c a Ph m nh Ch ng l p D07Vt1! Thanks! http://www.mediafire.com/?un7xdtlr9ye077e

Bai th c hnh s 3

Qun l Router bng giao thc tftp server

1. MC TIU Kin thc: Gip sinh vin Quan ly Router bng giao thc tftp cho phep ngi quan ly mang lam vic vi cac file cua Router.. K nng: Nhn bit c cch ci t giao din o ca PC, cch s dng card o thng qua phn mm m phng GNS3. 2. YU CU - Lam quen vi phn mm thc hin chc nng tftp-server - Thc hin copy file cu hinh ang chay running-config sang tftp-server va ngc lai - Thc hin copy file cu hinh khi ng startup-config sang tftp-server va ngc lai - Thc hin copy file image IOS sang tftp-server - Sa i file running-config va startup-config 3. C IM CHNH Quan ly trc tip Router qua giao thc tftp server la cach thc quan trong nht qun l mt phn t trong mang. Phng phap nay co mt s c im nh sau: Quan ly trc tip qua giao tip vt ly chuyn bit Quan ly trc tip gn lin vi phng php qun l phn tan iu hnh thit b (khi tao nong, cu hnh, khi phc Password,v..v) 4. CHUN B -Cai t phn mm GNS-3 - Dn ng cho IOS 2691 -Tinh toan Idle PC giam tai CPU -Tao card mang ao cho PC -Cai t va lam quen vi phn mm tftp-server (ciscotftp11.exe) 5. CC BC TIN HNH Bc 1 - Khi ng chng trnh Cisco Tftp server - Xc nh ng dn cho file Tftp server n th mc Cisco TFTP Server ( C) Bc 2: Xy dng cu hnh gi lp thng qua phn mm GNS3 - Chn 1 Router + 1 Cloud. - Kt ni Router v Cloud thng qua card mng o ca PC, bng lin kt FastEthernet. Bc 3: Khi ng Router v chn Idle PC. Cu hnh - La chn cp kt ni, xem xt k c tnh ca cc loi cp kt ni c sn trong chng trnh m phng. Bc 4: Ci t cc tham s cho tuyn kt ni - Chn tham s ng truyn qua console ph hp, th hin kt qu qua CLI. 6. KT QU V BO CO - Sinh vin nm r cc c tnh c bn ca chng trnh m phng - Cc c tnh qun l qua console (u, nhc) - ngha cc tham s qun l

Bai th c hnh s 4

Quan ly Router thng qua HTTP (Web Broser) 1. MC TIU Quan ly Router thng qua HTTP (Web Broser) cho phep quan ly 1 Router t xa. No co mt s c im sau: Quan ly trong bng Quan ly t xa

Giao din Web GIU Phu hp vi ngi s dung (khng phai la ky thut vin) K nng: Nhn bit c cch ci t giao din o ca PC, cch s dng card o thng qua phn mm m phng GNS3. 2. YU CU Hoc vin lam quen vi quan ly Router qua HTTP (Web Broser). Giam sat Router Cisco thng qua HTTP (Web Broser). Thit lp cu hinh Router Cisco thng qua HTTP (Web Broser). 3. C IM CHNH Quan ly trc tip Router qua giao thc HTTP(Web Broser) la cach thc kh ph bin qun l mt phn t trong mang. Phng phap nay co mt s c im nh sau: HTTP la mt ng dung client/server, dung giao thc vn chuyn TCP. Client chay trinh duyt Web nh Netscape Navigator hay Internet Explorer. PC chay trinh duyt Web, kt ni Ethernet vi router home la Web server. Bi thc hnh nay m ta cach cu hinh router co th truy cp va quan ly router bng chng trinh duyt Web chay trn PC ia chi ca card mng o. 4. CHUN B (ging vi bi 2) Cai t phn mm GNS-3 Dn ng cho IOS 2691 Tinh toan Idle PC giam tai CPU Tao card mang ao cho PC 5. CC BC TIN HNH Bc 1: xy dng cu hinh gia lp Chon Router 2691 Chon am my mang Chon configure cua am my Chon kt ni am my vi card mang ao a tao ra Bc 2: Bt Router Kich chut phai vao Router - Chon Start. Bc 3: Vao giao din CLI cua Router Dynagen/Dynamips Kich chut phai vao Router Chon Console c man hinh CLI Bc 4: Thit lp tn cho router V d: Router (config)#hostname Router-1 Bc 5: Thit lp ia chi IP cho giao din F 0/0 cua Router V d: Router-1(config-if)#ip address 192.168.50.1 255.255.255.0 (c th chn a ch khc) Bc 6: t ia chi ip cho card mang ao t a ch cho card mng ph hp di mng gn cho Router Bc 7: Quan ly Router thng qua Internet Explorer vo trnh duyt web (IE) nhp vo thanh Address: a ch gn cho router 6. KT QU V BO CO - Sinh vin nm r cc c tnh c bn ca chng trnh m phng - Cc c tnh qun l qua HTTP(Web Broser) - ngha cc tham s qun l - Vit bo co nhn xt th hin r mc tiu kin thc v k nng. Nhn xt v nh gi kt qu trong tng bc thc hin.