SlideShare a Scribd company logo
Top-Down Network Design
Chapter Thirteen
Optimizing Your Network Design
Copyright 2010 Cisco Press & Priscilla Oppenheimer
Reasons to Optimize
• Meet key business and technical goals
• Use bandwidth efficiently
• Control delay and jitter
• Reduce serialization delay
• Support preferential service for essential
applications
• Meet Quality of Service (QoS) requirements
IP Multicast Helps Optimize
Bandwidth Usage
• With IP multicast, you can send a high-
volume multimedia stream just once instead
of once for each user
• Requires support for
– Multicast addressing
– Multicast registration (IGMP)
– Multicast routing protocols
IP Multicast Addressing
• Uses Class D multicast destination address
– 224.0.0.0 to 239.255.255.255
• Converted to a MAC-layer multicast
destination address
– The low-order 23 bits of the Class D address
become the low-order 23 bits of the MAC-layer
address
– The top 9 bits of the Class D address are not
used
– The top 25 bits of the MAC-layer address are
0x01:00:5E followed by a binary 0
Internet Group Management
Protocol (IGMP)
• Allows a host to join a multicast group
• Host transmits a membership-report
message to inform routers on the segment
that traffic for a group should be multicast
to the host’s segment
• IGMPv2 has support for a router more
quickly learning that the last host on a
segment has left a group
Multicast Routing Protocols
• Becoming obsolete
– Multicast OSPF (MOSPF)
– Distance Vector Multicast Routing Protocol
(DVMRP)
• Still used
– Protocol Independent Multicast (PIM)
• Dense-Mode PIM
• Sparse-Mode PIM
Reducing Serialization Delay
• Link-layer fragmentation and interleaving
– Breaks up and reassembles frames
– Multilink PPP
– Frame Relay FRF.12
• Compressed Real Time Protocol
– RTP is used for voice and video
– Compressed RTP compresses the RTP, UDP,
and IP header from 40 bytes to 2 to 4 bytes
A Few Technologies for Meeting
QoS Requirements
• IETF controlled load service
• IETF guaranteed service
• IP precedence
• IP differentiated services
IP Type of Service Field
• The type of service field in the IP header is
divided into two subfields
– The 3-bit precedence subfield supports eight
levels of priority
– The 4-bit type of service subfield supports four
types of service
• Although IP precedence is still used, the
type of service subfield was hardly ever
used
IP Type of Service Field
Version Header
Length
Type of
Service
Total Length
Identification Flags Fragment Offset
Time to Live Protocol Header
Checksum
Source IP Address
Destination IP Address
Options Padding
0Bit 8 15 24 31
Precedence D T R C 0
Bit 0 3 4 5 6 7
Type of Service Subfield
D = Delay
T = Throughput
R = Reliability
C = Cost
IP Differentiated Services (DS)
Field
• RFC 2474 redefines the type of service field
as the Differentiated Services (DS) field
– Bits 0 through 5 are the Differentiated Services
Codepoint (DSCP) subfield
• Has essentially the same goal as the precedence
subfield
• Influences queuing and packet dropping decisions for
IP packets at a router output interface
– Bits 6 and 7 are the Explicit Congestion
Notification (ECN) subfield
IP Differentiated Services (DS)
Field
Version Header
Length
Differentiated Services Total Length
0 8 15 24 31
Differentiated Services Codepoint
0 6
Explicit Congestion Notification
Classifying LAN Traffic
• IEEE 802.1p
• Classifies traffic at the data-link layer
• Supports eight classes of service
• A switch can have a separate queue for each
class and service the highest-priority queues
first
Cisco Switching Techniques
• Process switching
• Fast switching
• NetFlow switching
• Cisco Express Forwarding (CEF)
Cisco Queuing Services
• First in, first out (FIFO) queuing
• Priority queuing
• Custom queuing
• Weighted fair queuing (WFQ)
• Class-based WFQ (CBWFQ)
• Low latency queuing (LLQ)
Priority Queuing
Packet in high
queue?
NO
Dispatch Packet Continue
YES
Packet in medium
queue?
NO
YES
Packet in normal
queue?
NO
YES
Packet in low
queue?
NO
YES
START
Custom Queuing
Reached
transmission
window size?
NO
Dispatch PacketNext Queue
YES
START
(with Queue 1)
Packet in
Queue?
NO
YES
Low-Latency Queuing
• One queue always gets the green light
– Use this for voice
• Combine this with class-based
weighted fair queuing
– Define traffic classes based on protocols,
access control lists, and input interfaces
– Assign characteristics to classes such as
bandwidth required and the maximum
number of packets that can be queued for
the class
Random Early Detection (RED)
• Congestion avoidance rather than
congestion management
• Monitors traffic loads and randomly
discards packets if congestion increases
• Source nodes detect dropped packets and
slow down
– Works best with TCP
• Weighted Random Early Detection
• Cisco’s implementation uses IP precedence or the
DS field instead of just randomly dropping packets
Traffic Shaping
• Manage and control network traffic to avoid
bottlenecks
• Avoid overwhelming a downstream router
or link
• Reduce outbound traffic for a flow to a
configured bit rate
– Queue bursts of traffic for that flow
Committed Access Rate (CAR)
• Cisco feature for classifying and policing
traffic on an incoming interface
• Supports policies regarding how traffic that
exceeds a certain bandwidth allocation
should be handled
• Can drop a packet or change the IP
precedence or DSCP bits
Summary
• Optimization provides the high bandwidth, low
delay, and controlled jitter required by many
critical business applications
• To minimize bandwidth utilization by
multimedia applications, use IP multicast
• To reduce serialization delay, use link
fragmentation and compressed RTP
• To support QoS and optimize performance, use
IP precedence, DSCP, 802.1p. advanced
switching and queuing methods, RED, CAR,
etc.
Review Questions
• Why is it important to optimize your
network?
• What has become of the IP type of service
field?
• What are some methods for marking
packets to identify the need for priority
handling?
• Compare and contrast Cisco queuing
services.

More Related Content

PPT
Chapter12
PPT
Chapter09
PPT
Chapter11
PPT
Chapter05
PPT
Chapter01
PPT
Ip address and subnetting
PDF
Transport layer services
PPT
Chapter14
Chapter12
Chapter09
Chapter11
Chapter05
Chapter01
Ip address and subnetting
Transport layer services
Chapter14

What's hot (20)

PPTX
Network Layer
PPTX
04. availability-concepts
PPTX
Geographic Routing in WSN
PPT
Ports & sockets
PPTX
Transport Layer.pptx
PPSX
Mac protocols of adhoc network
PPT
Routing
PPT
Chapter07
PPTX
IPv4 Addressing
PPTX
05. performance-concepts
PPT
Chapter03
PDF
UDP - User Datagram Protocol
PPT
Address resolution protocol
PDF
Software Define Networking (SDN)
PPTX
Routing Protocols.pptx
PPTX
Link state routing protocol
PPT
Chapter02
PDF
Pipelining and ILP (Instruction Level Parallelism)
PPT
Ch:2 The Physical Layer
Network Layer
04. availability-concepts
Geographic Routing in WSN
Ports & sockets
Transport Layer.pptx
Mac protocols of adhoc network
Routing
Chapter07
IPv4 Addressing
05. performance-concepts
Chapter03
UDP - User Datagram Protocol
Address resolution protocol
Software Define Networking (SDN)
Routing Protocols.pptx
Link state routing protocol
Chapter02
Pipelining and ILP (Instruction Level Parallelism)
Ch:2 The Physical Layer
Ad

Viewers also liked (16)

PPT
Chapter06
PPTX
08. networking-part-2
PPTX
10. compute-part-2
PPTX
11. operating-systems-part-2
PPTX
01. 03.-introduction-to-infrastructure
PPTX
06. security concept
PPTX
03. non-functional-attributes-introduction-4-slides
PPTX
10. compute-part-1
PPTX
09. storage-part-1
PPTX
01. 02. introduction (13 slides)
PPTX
11. operating-systems-part-1
PPTX
Chapter04
PPTX
05. performance-concepts-26-slides
PPTX
08. networking
PPTX
07. datacenters
PPT
Artificial Intelligence
Chapter06
08. networking-part-2
10. compute-part-2
11. operating-systems-part-2
01. 03.-introduction-to-infrastructure
06. security concept
03. non-functional-attributes-introduction-4-slides
10. compute-part-1
09. storage-part-1
01. 02. introduction (13 slides)
11. operating-systems-part-1
Chapter04
05. performance-concepts-26-slides
08. networking
07. datacenters
Artificial Intelligence
Ad

Similar to Chapter13 (20)

PDF
enterprise_campus_qos_0 (1234567890).pdf
PPT
Quality of Servise
PPT
IP QoS Principles and Quality of Service (QoS) classifies network traffic
PDF
PLNOG16: Usługi w sieciach operatorskich, Marcin Aronowski
PPT
ETE405-lec9.ppt
PDF
ETE405-lec9.pdf
PPTX
CCNA (R & S) Module 02 - Connecting Networks - Chapter 6
PPTX
Quality of service
PPTX
CCNA4 Verson6 Chapter6
PPT
cis187-8-QoS CISCO CCNP PRESENTATIONS.ppt
PPTX
400-101 CCIE Routing and Switching IT Certification
PPT
PPTX
QoS In The Enterprise
PPT
Fundamental of Quality of Service(QoS)
PPTX
Presentacion QoS.pptx
PDF
Engineering Internet QoS 1st Edition Sanjay Jha
PDF
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
PPT
AETA_2004_VOIP.ppt
PPTX
Presentacion qos-
PPTX
Presentacion qos-
enterprise_campus_qos_0 (1234567890).pdf
Quality of Servise
IP QoS Principles and Quality of Service (QoS) classifies network traffic
PLNOG16: Usługi w sieciach operatorskich, Marcin Aronowski
ETE405-lec9.ppt
ETE405-lec9.pdf
CCNA (R & S) Module 02 - Connecting Networks - Chapter 6
Quality of service
CCNA4 Verson6 Chapter6
cis187-8-QoS CISCO CCNP PRESENTATIONS.ppt
400-101 CCIE Routing and Switching IT Certification
QoS In The Enterprise
Fundamental of Quality of Service(QoS)
Presentacion QoS.pptx
Engineering Internet QoS 1st Edition Sanjay Jha
PLNOG 7: Klaudiusz Staniek - MPLS a QoS - praktycznie
AETA_2004_VOIP.ppt
Presentacion qos-
Presentacion qos-

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Modernizing your data center with Dell and AMD
PPTX
MYSQL Presentation for SQL database connectivity
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Spectral efficient network and resource selection model in 5G networks
Digital-Transformation-Roadmap-for-Companies.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Encapsulation_ Review paper, used for researhc scholars
Reach Out and Touch Someone: Haptics and Empathic Computing
Modernizing your data center with Dell and AMD
MYSQL Presentation for SQL database connectivity
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Diabetes mellitus diagnosis method based random forest with bat algorithm
Chapter 3 Spatial Domain Image Processing.pdf
Understanding_Digital_Forensics_Presentation.pptx
Network Security Unit 5.pdf for BCA BBA.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
20250228 LYD VKU AI Blended-Learning.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
cuic standard and advanced reporting.pdf
Review of recent advances in non-invasive hemoglobin estimation

Chapter13

  • 1. Top-Down Network Design Chapter Thirteen Optimizing Your Network Design Copyright 2010 Cisco Press & Priscilla Oppenheimer
  • 2. Reasons to Optimize • Meet key business and technical goals • Use bandwidth efficiently • Control delay and jitter • Reduce serialization delay • Support preferential service for essential applications • Meet Quality of Service (QoS) requirements
  • 3. IP Multicast Helps Optimize Bandwidth Usage • With IP multicast, you can send a high- volume multimedia stream just once instead of once for each user • Requires support for – Multicast addressing – Multicast registration (IGMP) – Multicast routing protocols
  • 4. IP Multicast Addressing • Uses Class D multicast destination address – 224.0.0.0 to 239.255.255.255 • Converted to a MAC-layer multicast destination address – The low-order 23 bits of the Class D address become the low-order 23 bits of the MAC-layer address – The top 9 bits of the Class D address are not used – The top 25 bits of the MAC-layer address are 0x01:00:5E followed by a binary 0
  • 5. Internet Group Management Protocol (IGMP) • Allows a host to join a multicast group • Host transmits a membership-report message to inform routers on the segment that traffic for a group should be multicast to the host’s segment • IGMPv2 has support for a router more quickly learning that the last host on a segment has left a group
  • 6. Multicast Routing Protocols • Becoming obsolete – Multicast OSPF (MOSPF) – Distance Vector Multicast Routing Protocol (DVMRP) • Still used – Protocol Independent Multicast (PIM) • Dense-Mode PIM • Sparse-Mode PIM
  • 7. Reducing Serialization Delay • Link-layer fragmentation and interleaving – Breaks up and reassembles frames – Multilink PPP – Frame Relay FRF.12 • Compressed Real Time Protocol – RTP is used for voice and video – Compressed RTP compresses the RTP, UDP, and IP header from 40 bytes to 2 to 4 bytes
  • 8. A Few Technologies for Meeting QoS Requirements • IETF controlled load service • IETF guaranteed service • IP precedence • IP differentiated services
  • 9. IP Type of Service Field • The type of service field in the IP header is divided into two subfields – The 3-bit precedence subfield supports eight levels of priority – The 4-bit type of service subfield supports four types of service • Although IP precedence is still used, the type of service subfield was hardly ever used
  • 10. IP Type of Service Field Version Header Length Type of Service Total Length Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source IP Address Destination IP Address Options Padding 0Bit 8 15 24 31 Precedence D T R C 0 Bit 0 3 4 5 6 7 Type of Service Subfield D = Delay T = Throughput R = Reliability C = Cost
  • 11. IP Differentiated Services (DS) Field • RFC 2474 redefines the type of service field as the Differentiated Services (DS) field – Bits 0 through 5 are the Differentiated Services Codepoint (DSCP) subfield • Has essentially the same goal as the precedence subfield • Influences queuing and packet dropping decisions for IP packets at a router output interface – Bits 6 and 7 are the Explicit Congestion Notification (ECN) subfield
  • 12. IP Differentiated Services (DS) Field Version Header Length Differentiated Services Total Length 0 8 15 24 31 Differentiated Services Codepoint 0 6 Explicit Congestion Notification
  • 13. Classifying LAN Traffic • IEEE 802.1p • Classifies traffic at the data-link layer • Supports eight classes of service • A switch can have a separate queue for each class and service the highest-priority queues first
  • 14. Cisco Switching Techniques • Process switching • Fast switching • NetFlow switching • Cisco Express Forwarding (CEF)
  • 15. Cisco Queuing Services • First in, first out (FIFO) queuing • Priority queuing • Custom queuing • Weighted fair queuing (WFQ) • Class-based WFQ (CBWFQ) • Low latency queuing (LLQ)
  • 16. Priority Queuing Packet in high queue? NO Dispatch Packet Continue YES Packet in medium queue? NO YES Packet in normal queue? NO YES Packet in low queue? NO YES START
  • 17. Custom Queuing Reached transmission window size? NO Dispatch PacketNext Queue YES START (with Queue 1) Packet in Queue? NO YES
  • 18. Low-Latency Queuing • One queue always gets the green light – Use this for voice • Combine this with class-based weighted fair queuing – Define traffic classes based on protocols, access control lists, and input interfaces – Assign characteristics to classes such as bandwidth required and the maximum number of packets that can be queued for the class
  • 19. Random Early Detection (RED) • Congestion avoidance rather than congestion management • Monitors traffic loads and randomly discards packets if congestion increases • Source nodes detect dropped packets and slow down – Works best with TCP • Weighted Random Early Detection • Cisco’s implementation uses IP precedence or the DS field instead of just randomly dropping packets
  • 20. Traffic Shaping • Manage and control network traffic to avoid bottlenecks • Avoid overwhelming a downstream router or link • Reduce outbound traffic for a flow to a configured bit rate – Queue bursts of traffic for that flow
  • 21. Committed Access Rate (CAR) • Cisco feature for classifying and policing traffic on an incoming interface • Supports policies regarding how traffic that exceeds a certain bandwidth allocation should be handled • Can drop a packet or change the IP precedence or DSCP bits
  • 22. Summary • Optimization provides the high bandwidth, low delay, and controlled jitter required by many critical business applications • To minimize bandwidth utilization by multimedia applications, use IP multicast • To reduce serialization delay, use link fragmentation and compressed RTP • To support QoS and optimize performance, use IP precedence, DSCP, 802.1p. advanced switching and queuing methods, RED, CAR, etc.
  • 23. Review Questions • Why is it important to optimize your network? • What has become of the IP type of service field? • What are some methods for marking packets to identify the need for priority handling? • Compare and contrast Cisco queuing services.

Editor's Notes

  • #15: These are technologies for “switching” (forwarding) packets through a router.