36-3
Cisco IE 3000 Switch Software Configuration Guide
OL-13018-03
Chapter 36 Configuring QoS
Understanding QoS
Figure 36-1
QoS Classification Layers in Frames and Packets
All switches and routers that access the Internet rely on the class information to provide the same
forwarding treatment to packets with the same class information and different treatment to packets with
different class information. The class information in the packet can be assigned by end hosts or by
switches or routers along the way, based on a configured policy, detailed examination of the packet, or
both. Detailed examination of the packet is expected to happen closer to the edge of the network so that
the core switches and routers are not overloaded with this task.
Switches and routers along the path can use the class information to limit the amount of resources
allocated per traffic class. The behavior of an individual device when handling traffic in the DiffServ
architecture is called per-hop behavior. If all devices along a path provide a consistent per-hop behavior,
you can construct an end-to-end QoS solution.
Implementing QoS in your network can be a simple or complex task and depends on the QoS features
offered by your internetworking devices, the traffic types and patterns in your network, and the
granularity of control that you need over incoming and outgoing traffic.
Basic QoS Model
To implement QoS, the switch must distinguish packets or flow from one another (classify), assign a
label to indicate the given quality of service as the packets move through the switch, make the packets
comply with the configured resource usage limits (police and mark), and provide different treatment
(queue and schedule) in all situations where resource contention exists. The switch also needs to ensure
that traffic sent from it meets a specific traffic profile (shape).
46974
Enc
a
p
s
ul
a
ted P
a
cket
L
a
yer 2
he
a
der
IP he
a
der
3
bit
s
u
s
ed for Co
S
D
a
t
a
L
a
yer 2 I
S
L Fr
a
me
I
S
L he
a
der
(26 byte
s
)
Enc
a
p
s
ul
a
ted fr
a
me 1...
(24.5 KB)
FC
S
(4 byte
s
)
L
a
yer 2 802.1Q
a
nd 802.1p Fr
a
me
Pre
a
mble
S
t
a
rt fr
a
me
delimiter
DA
Len
S
A
T
a
g
PT
D
a
t
a
FC
S
L
a
yer
3
IPv4 P
a
cket
Ver
s
ion
length
To
S
(1 byte)
ID
Off
s
et TTL
Proto FC
S
IP-
S
A IP-DA D
a
t
a
3
bit
s
u
s
ed for Co
S
(u
s
er priority)
IP precedence or D
S
CP