Está en la página 1de 6

ThS.

Phan Thanh Toan 2013


THC HNH CHUYN MCH NHN A GIAO THC MPLS 1. M HNH THC HIN:

Hnh 1: Min MPLS chy giao thc nh tuyn IGP - My tnh ci t phn mm gi lp GNS3, c cc IOS ca router - Cu hnh routing OSPF trn cc thit b 2. NI DUNG: Cc bc thc hin 1. Cu hnh a ch IP, cu hnh giao thc nh tuyn OSPF hon chnh. 2. Thc hin enable chc nng chuyn mch nhn trn cc router tham gia RouterX(config)#ip cef 2. Chn LDP/TDP l giao thc gn v phn phi nhn trong min MPLS RouterX(config)#mpls label protocol ldp 3. Enable chc nng MPLS trn nhng interface tng ng trong min
1

ThS. Phan Thanh Toan 2013


RouterX(config)#interface fastethernet x/x RouterX(config-if)# mpls ip 4. Kim tra thng tin cu hnh RouterX#show mpls interfaces (detail) RouterX#show mpls ldp neighbor (detail) RouterX#show mpls ldp bindings (detail) RouterX#show mpls forwarding-table (detail) Ghi nhn phn tch kt qu

Kt qu mong mun Cc router c th trao i bn tin LDP cho nhau, thit lp neighbor . Mi router xy dng c bng Label forwarding ti cc a ch ch tng ng. Kt qu thc hin S dng lnh show mpls interfaces xem cc interface no ca router c cu hnh MPLS. Kim tra qu trnh trao i nhn gia cc router S dng lnh show mpls ldp neighbor kim tra v xem thng tin cc im mpls ln cn

Kt qu kim tra bng qu trnh bt gi tin

ThS. Phan Thanh Toan 2013


S dng wireshark bt bn tin trao i gia hai router, kim tra cc bn tin ca giao thc LDP

Thng tin n nh nhn trn mi router S dng lnh show mpls forwarding-table hin th thng tin v nhn tng ng vi cc prefix a ch ch trn cc giao din ca router

Kim tra qu trnh trao i nhn ca gi tin S dng ln show mpls ip binding kim tra bng trao i nhn tng ng vi cc prefix ch trn router
3

ThS. Phan Thanh Toan 2013

Cc nhn c thay i trong qu trnh chuyn tip qua cc node Dng wireshark bt gi tin trn ng kt ni gia R6 v R4, sau s dng lnh traceroute 10.1.15.5 trn R6 kim tra ng i t R6 n R5. Theo di kt qu hin th trn ca s cu hnh v bn tin ICMP bt c qua wireshark thy s tng quan gia cc nhn trao i

ThS. Phan Thanh Toan 2013

Gi tin ICMP hin th trn wireshark

CU HI TRC NGHIM:

1. a) b) c) d) e) 2. a) b) c) d) 3. a) b) c) d) 4.

LDP dng giao thc no v port no cho vic trao i nhn ? UDP TCP 1024 646 239 u l 1 trong 4 loi thng ip LDP ? Discovery Open Hello Confirm Nhn (Label) c gn vo gi tin thuc lp no ? Layer 2 Layer 3 Gia Layer2 v Layer3 Layer 4 Nhn c gn vo gi tin khi bt u i vo min MPLS gm nhn no ?
5

ThS. Phan Thanh Toan 2013


a) b) c) d) 5. a) b) c) d) In Label , Out Label In Label Out Label Out Label, In Label Khi gi tin ra khi router cui cng trong min MPLS , nhn no cn li ? In Label , Out Label In Label Khng cn nhn Out Label