chapter : 18 diffserv quality of service (qos)

Download Chapter  : 18 DiffServ  Quality of Service (QoS)

If you can't read please download the document

Upload: nguyet

Post on 22-Feb-2016

53 views

Category:

Documents


5 download

DESCRIPTION

Chapter : 18 DiffServ Quality of Service (QoS). Introducing QoS. Quality of Service คืออะไร ?. - PowerPoint PPT Presentation

TRANSCRIPT

1

Chapter : 18

DiffServ Quality of Service (QoS)11Introducing QoS22Quality of Service ?Quality of Service (QoS) packet network Bandwidth Packet loss Delay33Other describe Network Based Application Recognition (NBAR) Class of Service (CoS) IP Precedence Differentiated Service Code Point (DSCP) Modular QoS CLI (MQC) Queuing Traffic Conditioning Congestion Avoidance

44The Problems You Face55Bandwidth Increased bandwidth Prioritized traffic Weighted fair queuing (WFQ) Class-based weighted fair queuing (CBWFQ) Low latency queuing (LLQ) Weighted round robin (WRR) Compression66DelayPath of solve a problem Processing delay Queuing delay Serialization delay Propagation delay

Increase Bandwidth Priority Forwarding Compression77Packet loss Increased bandwidth Priority Forwarding Configure Congestion Avoidance88Preparing to Implement QoS99Preparing to Implement QoS QoS 3 QoS QoS 1010Preparing to Implement QoSIdentifying TrafficClassifying Traffic

1111Identifying TrafficConcept: NBAR

1212Classifying TrafficIncoming interfaceIP precedenceDifferentiated Services Code Point (DSCP)Source or destination addressApplication

1313Classifying Traffic

1414Models for Implementing QoSThe best effort modelIntegrated Services model (IntServ)Differentiated Services model (DiffServ)

15 3 QoS 15QoS Mechanisms1616QoS features Traffic marking Queuing Traffic conditioning Congestion avoidance1717Traffic MarkingData Link Layer CoSNetwork Layer IP Precedence Differentiated Service Code Point (DSCP)

18 18Class of Service (CoS)

1919IP Precedence && Differentiated Services Code Point (DSCP)

2020Concept: The DiffServ Field

2121Concept: PHB Notation

2222DSCP with Drop Probability

2323Tell Yourself, Six Bits, Only Six Bits!

2424Queuing First- In-First-Out (FIFO) Priority Queuing (PQ) Weighted round robin (WRR) Weighted fair queuing (WFQ) Class-based weighted fair queuing (CBWFQ) Low latency queuing (LLQ)25Traffic Conditioning Policing Shaping26Congestion AvoidanceRandom early detection (RED)Weighted random early detection (WRED)27Configuring QoS28Configuring QoSLegacy Command-Line Interface (CLI) Modular QoS CLI (MQC) Auto QoS SDM QoS Wizard29Legacy Command-Line Interface (CLI)30In the past, the only way to implement a QoS policy in the network was by using the Command-Line Interface (CLI) to individually configure QoS policies at each interface.

Modular QoS CLI (MQC)31Cisco introduced the Modular QoS CLI (MQC) to simplify QoS configuration. With MQC, QoS can be configured in a building-block approach, using a single module repeatedly to apply policy to multiple interfaces.Auto QoS Cisco AutoQoS represents innovative technology that simplifies the challenges of network administration by reducing QoS complexity, cost, and deployment time. 32SDM QoS WizardYou can easily configure, manage, and troubleshoot QoS deployments using the Cisco Security Device Manager (SDM) QoS Wizard. 33 Small Office/ Home Office (SOHO)

34

Concept: MQC

Class-map (for traffic classification)Policy-map (QoS component assignment) Service-policy (for applying to an interface)35

Incoming Class-Map Configuration

class-map state AND OR

36DalRtr1(config)#class-map voice_markDalRtr1(config-cmap)#

37 class-map QoS SOHO DalRtr1 class-map voice_mark video_mark class-map class-map

DalRtr1(config-cmap)# match ?access-group accessany class-map Class mapcos IEEE 802.1Q/ISL destination-address discard-class dscp DSCP IP (v4) IPv6

38DalRtr1(config)#class-map voice_markDalRtr1(config-cmap)#match protocol rtp audioDalRtr1(config)#class-map http_markDalRtr1(config-cmap)#match protocol httpDalRtr1(config-cmap)#exitDalRtr1(config)#class-map ftp_markDalRtr1(config-cmap)#match protocol ftpDalRtr1(config-cmap)#exitDalRtr1(config)#class-map business_app_markDalRtr1(config-cmap)#match acccess-group 101DalRtr1(config)#access-list 101 permit tcp any any eq 16384

39

Incoming Policy-Map Configuration

class-map QoS policy-map class-map policy-map class-map minemark_traffic class40DalRtr1(config ) #policy-map mark-trafficDalRtr1(config-pmap)#?

QoS policy-map class description Policy-Map exit QoS policymap no rename policy-map

41DalRtr1(config-pmap)#class voice_markDalRtr1(config-pmap-c)#

42 class class-map class-map policy-map class class-map Output DalRtr1(config-pmap-c)#? QoS policy-map class bandwidth compression drop estimate exit QoS

43 class-map class policy-map-c class netflow-sampler NetFlow no police Policepriority class queue-limit random-detectservice-policy Flow Nextset QoSshape

44DalRtr1(config-pmap-c)#set ?atm-clp ATM CLP bit 1cos IEEE 802.1Q/ISL class service/user prioritydiscard-class dscp DSCP IP(v4) IPv6fr-de FR DE bit 1ip IP mpls MPLS precedence IP (v4) IPv6 qos-group QoS

45

Incoming Service-Policy Configuration

DalRtr1(config-pmap-c)#exitDalRtr1(config)#int fa0/0DalRtr1(config-if)#service-policy input mark_traffic

46

Outgoing Policy-Map Configuration

DalRtr1(config)#class-map queue_voiceDalRtr1(config-cmap)#match dscp efDalRtr1(config-cmap)#exitDalRtr1(config)#class-map queue_business_appDalRtr1(config-cmap)#match dscp af31DalRtr1(config-cmap)#exitDalRtr1(config)#class-map queue_http_ftpDalRtr1(config-cmap)#match dscp af21

47 class-map class-map Outgoing Service-Policy ConfigurationDalRtr1(config)#policy-map queue_trafficDalRtr1(config-pmap)#class queue_voiceDalRtr1(config-pmap-c)#priority ? Kilo Bits per secondpercent % of total bandwidthDalRtr1(config-pmap-c)#priority percent 35

48 class-map LLQ class LLQ bandwidth

DalRtr1(config-pmap)#class queue_business_appDalRtr1(config-pmap-c)#bandwidth ? Kilo Bits per second BandwidthDalRtr1(config-pmap-c)#bandwidth percent 25

49 class CBWFQ CBWFQ CBWFQ

class CBWFQ queuing

DalRtr1(config-pmap)#class queue_http_ftpDalRtr1(config-pmap-c)#bandwidth ? Kilo Bits per second BandwidthDalRtr1(config-pmap-c)#bandwidth percent 15

50Outgoing Class-Map Configuration51 interface service-policy output

DalRtr1(config-pmap-c)#exitDalRtr1(config)#int fa0/1DalRtr1(config-if)#service-policy output mark_traffic

SDM QoS Wizard

52QoS SOHO SDM SDM Wizard start

53

5455

56

57

58

59

60

61

62

63Summary64