You are on page 1of 2

QoS c xem l nhng k thut dng iu tit lu lng mng nhm m bo cho vic trin khai dch v, QoS

S bao gm nhng nhm chnh: - Congestion Management: c dng khi tt nghn xy ra bao gm 1 s k thut nh FIFO, PQ, CQ, WFQ. - Congestion Avoidance: mang tnh d phng, c dng trc khi congestion xy ra nh RED, WRED. - Policing & Traffic Shaping: khi traffic vt qu ngng s thc hin buffer li truyn tip chu k sau nh Frame-Relay Traffic Shaping, Generic Traffic Shaping. - Classification: s dng cc k thut nh IP precedence (cho fp fn loi traffic x l nhanh hn da vo trng ToS), PBR (Policy Base Routing l qt din ra trc qt routing thng thng, packet s ktra policy ny m b qua bng routing table theo c ch nh ra), CAR (Committed Access Rate thc hin gii hn tc & fn loi packet da trn IP precedence & QoS group setting)... y xin ni v k thut c bn nht ca Congestion Management l iu khin traffic khi tt nghn xy ra bng cch s dng Queuing Policy: -Trn router, qt chuyn mch s thc hin fn fi traffic n cc outgoing interface buffer. Nu congestion xy ra trn interface ny, traffic s lu trn buffer & ch gi i, vn t ra l packet no s c gi trc. Qt xy dng queuing policy nh sau: 1. Xc nh tt nghn. 2. X traffic no c precedence loi no. 3. Thit lp Queuing Policy. 4. X loi traffic. QP s dng 1 trong 4 k thut FIFO, WFW, CQ, PQ. 1. FIFO s dng mc nh trn all interface ca cisco router. 2. WFQ: Weighted Fair Queuing thc hin fn loi traffic(IP, IPX, FR) bng cch gn cc precedence, weight,... xc nh bng thng ccp, th t thc hin trong Queue. VD: int S0 encapsulation frame-relay fair-queue 128 Ngha l s packet ti a gi trong queue l 128 3. PQ(Priority Queuing): thc hin fn loi queue theo 4 cp: high, medium, normal low queue & apply cc priority-list ln cc interface. VD: B1: xc nh queue size priority-list 2 queue-limit 200 300 500 700 //kch thc ca 4 loi queue high, medium, normal, low l 200, 300, 500, 700 packet B2:nh ngha priority-list: priority-list 2 protocol ip high tcp telnet access-list 101 permit ip host 10.10.10.10 any priority-list 2 protocol ip high list 101 priority-list 2 protocol ip medium gt 1000

priority-list 2 interface e0 normal priority-list 2 default low Ngha l all traffic low priority, telnet-high, IP packet>1000bytes - medium, all traffic bt ngun t e0 - normal. B3: thc hin policy ny trn interface s0: int s0 priority-group 2 4. CQ: PQ s lm cc traffic c low priority fi delay rt lu, Custom Queuing cho fp admin ch nh kch c cho mi loi traffic. VD: B1: nh ngha queue-list queue-list 1 protcol ipx 2 queue-list 1 protcol ip 3 tcp telnet queue-list 1 interface serial0 4 queue-list 1 protcol ip 5 queue-list 1 default 1 B2: xc nh queue limit, queue threshold queue-list queue 1 byte-count 3000 queue-list queue 2 byte-count 3000 queue-list queue 3 byte-count 3000 queue-list queue 4 limit 60 queue-list queue 5 limit 60 Ngha l traffic from IPX, telnet, default cho fp cha 20 packet trong queue(default), mi ln c truyn ng thi cc gi c total size <3000 bytes. Traffic from IP, & interface s0 cho fp cha 60 packet trong queue, mi ln c truyn ng thi cc gi c total size <1500 bytes(default). B3: apply to interface e0 int e0 custom-queue-list 1 Khi thi BCRAN cc bn s gp mt s cu hi v phn Queuing Policy ny. Chc cc bn thnh cng,

You might also like