Académique Documents
Professionnel Documents
Culture Documents
Quality of Service
Presentation_ID
Benefits of QoS
ISP 1
Multihomed WAN
or Redundant Core Layer
S i
HSRP
S i
STP
10
0-63 value
Catalyst
3550
Description
access-group
Access group
ip dscp
A specific DSCP
value or a list of
values
ip precedence
A specific IP
precedence value or
a list of values
any
Any packet
class-map
A nested class-map
destinationaddress
A destination MAC
address
Select an input
interface to match on
mpls
Multiprotocol Label
Switching values
protocol
Match on protocol
type
A source MAC
address
VLAN ID
Match on
input-interface
Example:
Switch(config)# class-map match-any critical
Switch(config-cmap)# match interface fastethernet 0/1
Any traffic coming in on fa0/1 will be classed as critical.
In the next slide we define what to do with critical traffic.
source-address
vlan
15
A bandwidth total of 3000 kbps will be given to the traffic classified as critical by the
class-map in the previous slide.
16
17
At the edge of the network (Access layer, and links to other autonomous
systems) it is common to not trust CoS/ToS values. Rather you would use
ACLs to define the QoS requirements and write an appropriate CoS/Tos Value
In the core of your network it is likely that you will trust the CoS/ToS that you
assigned at the edge.
18
In order to give priority QoS to one class of traffic, another (lower) class of traffic must suffer.
Policing Involves either marking down the DSCP value for packets that are exceeding the bandwidth allocation
(non conforming) or dropping the packet.
Policing uses a
Token Bucket to
determine non
conformance.
Rate and burst-size
are configurable
CAR Committed Access
Rate Similar to Frame
Relays CIR
19
Scheduling
20
Traffic Destined
for Interface
Transmit Queue
Output Line
Classify
Interface Buffer
Resources
21
Traffic is
grouped into
user-defined
classes.
BW=64
Weight=32
Class 2
BW=128
3
4
Interface
Weight=16
1
2
WFQ
Dispatch
Class 3
BW=32
Weight=64
BCRAN v1.113-16 22
V V
1 1
Class 1
2 2
Class 2
3 3
Class 3
4 4
6 5
Class-Default
Interface
PQ
V V
1 1
WFQ
BCRAN v1.113-27 23
Congestion Avoidance
24
Congestion Avoidance
Weighted Random Early Detection - WRED
RED drops packets randomly when a routers buffer fills beyond a
certain threshold. This random dropping prevents the problems
associated with tail-drop. No actual data loss occurs because TCP
retransmits.
WRED takes this one step further and facters in QoS parameters when
it randomly drops a packet.
WRED drops packets according to the following criteria:
RSVP flows are given precedence over non-RSVP flows, to ensure that time-critical
packets are transmitted as required.
The IP precedence or DSCP value of the packets. Packets with higher precedence are less
likely to be dropped. You can control how WRED determines when and how often to drop
packets based on precedence value if you are not satisfied with the default settings.
The amount of bandwidth used by the traffic flow. Flows that use the most bandwidth are
more likely to have packets dropped.
The weight factor you have defined for the interface determines how frequently packets are
dropped.
25
Traffic Shaping
Designed
26
27
28
29
31
Questions
?
32