Top Banner
CHAPTER 8 Quality of Service
32

Voice over IP Fundamentals

Jan 12, 2016

Download

Documents

zody

CHAPTER 8 Quality of Service. Voice over IP Fundamentals. Quality of Service Integrated services ( IntServ ) Ensure that a specific flow of traffic is going to receive the appropriate level of bandwidth across the entire network. Resource ReSerVation Protocol (RSVP) - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Voice over IP Fundamentals

• CHAPTER 8• Quality of Service

Page 2: Voice over IP Fundamentals

Quality of Service

Integrated services (IntServ)• Ensure that a specific flow of traffic is going to receive the appropriate level of bandwidth across the entire network.• Resource ReSerVation Protocol (RSVP)

Differentiated Services (DiffServ)•Used in Large Networks•Classifies Traffic•Type of Service (ToS)•DiffServ Code Point (DSCP)

Page 3: Voice over IP Fundamentals

Delay Budget

Page 4: Voice over IP Fundamentals

Edge Functions

•Classify traffic as close to the edge as possible!

•Provider Edge

•Customer Edge

Page 5: Voice over IP Fundamentals

Header Compression:

cRTP will compress traffic by recording header information and incrementally increasing it per each received packet

Page 6: Voice over IP Fundamentals

cRTP Configuration:

Leased line!Interface serial 0/0/0 ip address 192.168.121.18 255.255.255.252 no ip mroute-cache ip rtp header-compression encapsulation ppp

Page 7: Voice over IP Fundamentals

cRTP Configuration:

Frame Relay!Interface serial 0/0/0 ip address 192.168.120.10 255.255.255.0 encapsulation frame-relay no ip route-cache no ip mroute-cache frame-relay ip rtp header-compression

Page 8: Voice over IP Fundamentals

Queuing:

•Identify Traffic•First in First out (FIFO) (Single Que)•Weighted Fair Queuing•Custom Queuing•Priority Queuing•Class Based Weighted Fair Queuing•Low Latency Queuing

Page 9: Voice over IP Fundamentals

Weighted Fair Queuing (WFQ):

• Identifies Traffic Flows Uses Source and Destination Addresses Protocol Type Port Number Qos/Tos Values

• Shares Traffic in a Fair Manner Low-bandwidth get Priority High-bandwidth shares remaining

bandwidth

•Enabled on an interface by the fair-queue command

Page 10: Voice over IP Fundamentals

Weighted Fair Queuing (WFQ):

• Affected by IP Precedence (0-7) Frame-Relay FECN Frame-Relay BECN Frame-Relay DE bits

• Options to the fair-queue Command congestive-discard-threshold (64) (16-4096) dynamic-queues (256) (16,32,64,128,256,…4096) reservable-queues (0) (0-1000)

• Not meant for use on links with bandwidth greater than 2.048 Mbps

Page 11: Voice over IP Fundamentals

Custom Queuing (CQ):

• Specifies a percentage of available Bandwidth

Max 16 output queues Serviced Sequentially Dynamic allocation of unused bandwidth

interface serial 0/0/0 ip address 20.0.0.1 255.0.0.0 custom-queue-list 1!queue-list 1 protocol ip 1 list 101queue-list 1 default 2queue-list 1 queue 1 byte-count 4000queue-list 1 queue 2 byte-count 2000!access-list 101 permit udp any any range 16380 16480 precedence 5access-list 101 permit tcp any any eq 1720

Page 12: Voice over IP Fundamentals

Priority Queuing:

• Four traffic queues (High, Normal, Medium, Low)• Each queue is serviced till empty• Can starve traffic flows

interface serial 0/0/1 ip address 192.168.121.17 255.255.255.248 encapsulation ppp no ip mroute-cache priority-group 1!access-list 101 permit udp any any range 16384 16484access-list 101 permit tcp any any eq 1720priority-list 1 protocol ip high list 101

Page 13: Voice over IP Fundamentals

Priority Queuing:

Page 14: Voice over IP Fundamentals

CB-WFQ (Class Based Weighted Fair Queuing):

• Can run on links up to T3• Defines what constitutes a class• Specify the exact amount of bandwidth allocated• Specify the minimum amount of bandwidth allocated• 64 different classes• Each class is associated with a separate queue• Can be skewed to simulate PQ

Page 15: Voice over IP Fundamentals

PQ within CB-WFQ (Low Latency Queuing):

• Gives absolute priority to voice traffic

Page 16: Voice over IP Fundamentals

Traffic Classification:

• Three bits in the ToS field of the IP Header• in-band QoS

Page 17: Voice over IP Fundamentals

DSCP, TOS, and COS:

Page 18: Voice over IP Fundamentals

Traffic Classification:

• Three bits in the ToS field of the IP Header• in-band QoS

Page 19: Voice over IP Fundamentals

Traffic Classification:

• Can be set by destination phone number

dial-peer voice 650 voip destination-pattern 650 ip precedence 5 session target RAS

Page 20: Voice over IP Fundamentals

Policy Routing:

• Can reset IP Precedence bits

• Can base policies on IP addresses, Port numbers, Protocols, or Packet size• Uses route-maps to filter• Can use any ACL

interface FastEthernet0/0 ip address 192.168.15.18 255.255.255.0 ip policy route-map RESET-PRECEDENCE!access-list 105 permit ip any anyroute-map RESET-PRECEDENCE permit 10 match ip address 105 set ip precedence routine

Page 21: Voice over IP Fundamentals

RSVP:

• Each interface must be explicitly configured for RSVP• The receiving station is the requester of the service

• interface-kbps: reserved bandwidth per interface (1-10,000,000)• single-flow-kbps: amount of bandwidth allocated to a flow (1-10,000,000)• default: 75% of available bandwidth if not specified• show ip rsvp reservation• Scalability issues

ip rsvp bandwidth [interface-kbps] [single-flow-kbps]

Page 22: Voice over IP Fundamentals

Traffic Policing:

• Define the bandwidth limit for an application• Rate limiting tools• Used at the edge• Traffic dropped based upon the bandwidth limit• Subscriber cannot exceed the bandwidth set by contractrate-limit {input | output} bps burst-normal burst-max conform-action action exceed-action action

Page 23: Voice over IP Fundamentals

Traffic Shaping:

• Control usage of available bandwidth• Establish traffic policies• Regulate traffic flow to avoid congestion

traffic-shape rate bit-rate [burst-size [excess-burst-size]]

Page 24: Voice over IP Fundamentals

Traffic Shaping:

Interface serial0/0/0 encapsulation frame-relay traffic-shape rate 32000 4000 0

Interface serial0/0/0 traffic-shape group 101 64000 8000 0!access-list 101 permit tcp any eq ftp any

Page 25: Voice over IP Fundamentals

Fragmentation:

Packet size in bytes/sec x 8 = Packet size in bits/secPacket size in bits/sec / Circuit size in bits/sec = Time required to transmit

1500 bytes/sec x 8 = 12000 bits/sec12000 bits/sec / 56000 bits/sec = 0.214 sec = 214 msec

Page 26: Voice over IP Fundamentals

Fragmentation MTU:

interface serial 0/0/0 ip mtu 300 no ip address encapsulation frame-relay fair-queue 64 256 1000!interface serial0/0/0.1 point-to-point ip mtu 300 ip address 40.0.0.7 255.0.0.0

interface serial 0/0/0 mtu 300 no ip address encapsulation frame-relay fair-queue 64 256 1000!interface serial0/0/0.1 point-to-point mtu 300 ip address 40.0.0.7 255.0.0.0

Page 27: Voice over IP Fundamentals

Congestion Avoidance:

•WRED Randomly drops packets when queue

gets to a set % of capacity Uses TCP window size to reduce flow

Page 28: Voice over IP Fundamentals
Page 29: Voice over IP Fundamentals
Page 30: Voice over IP Fundamentals

Cisco Auto QoS:

•On the interface to the phone

Switch(config)#interface fa0/1Switch(config-if)#auto qos voip ? cisco-phone Trust the QoS marking of the Cisco IP Phone cisco-softphone Trust the QoS marking of the Cisco IP Softphone trust Trust the DSCP/CoS markingSwitch(config-if)#auto qos voip cisco-phone

Page 31: Voice over IP Fundamentals

Cisco Auto QoS:

•On the interface to the Router

Switch(config)#interface fa0/1Switch(config-if)#auto qos voip ? cisco-phone Trust the QoS marking of the Cisco IP Phone cisco-softphone Trust the QoS marking of the Cisco IP Softphone trust Trust the DSCP/CoS markingSwitch(config-if)#auto qos voip trust

CME(config)#interface fa0/1CME(config-if)#auto ? discovery Configure auto Discovery qos Configure AutoQoSCME(config-if)#auto qos voip trust

Page 32: Voice over IP Fundamentals

End of Chapter 8