Documente Academic
Documente Profesional
Documente Cultură
ODP500021 IP QoS
Technology Principle
OK ! OK !
OK ! OK !
Protocol Type
Bandwidth Assure
TCP/UDP Port (in/out)
Normal Delay and
MAC Address AF Jitter
Interface Index
Marking
IP Precedence Voice No Bandwidth
Assure
DSCP Data Service BE Higher Delay and
Jitter
EXP (MPLS) VOD Service
802.1p (LAN Switch) VPN Service
Frame Relay VOIP signal
DLCI(PIPQ)
ATM
UBR, CBR, VBR-rt, VBR-nrt
RFC1122 unused
0 1 RFC1349
2 3 Purpo Define Define the PHB
4 5 6 7 se Service (Per Hop
Class Behavior) a
•remark dscp
0 1 2 3 4 5 6 7 packet
dscp-value experiences at
each node
DSCP currently Comp IPv4 only IPv4/IPv6
RFC2474 unused atibilit
y
MPLS EXP 0 1 2
TPID
Priority CFI VLAN ID
(tag protocol ID)
802.1P 2
0 1
EXP Service Color EXP Servic Color 802.1P Service Color 802.1 Service Color
e P
Flow Classification
Output queue
Forwarding packet
Flow
classification
High
Medium
drop Normal
Low
PQ (Priority Queuing) guarantees that the data packet with higher pri
ority can be sent first
PQ is divided into 4 queue : High , Medium , Normal , Lo
w
Packets in high priority queues will be first transfered
Flow
classification
…
Queue 0
Queue 1
Queue 2
drop
…
Queue 16
CQ (Custom queuing), that the user can configure the proportion of the
bandwidth for the different queue
CQ is divided into 17queues: Queue 0 is the system queue; queue 1 to
queue 16 is the user queue.
Each queue satisfies bandwidth the user configured on statistic
Flow
classification
…
Queue 1
Queue 1
Queue 2
drop
…
Queue N
N=16,32…2048,4096
WFQ (Weighted fair queuing), assures justice to services with identical priority.
Maximum number of queues can be configured (16-4096)
Use HASH algorithm to dispatches the data flow into different queues
The weight is based on the priority
Bandwidth
utilization
time
Flow
classification
…
Queue 1
Queue 1
Queue 2
Min-threshold
…
drop
Max-threshold Queue N
N=16,32…2048,4096
SA
DA
SP RED
CAR
ACL
DP CAR WRED
protocol type
TOS
……
Packet sending
Receiving packets Flow VOQ Priority schedule
policing Fabric Flow schedule
schedule schedule Port schedule
One line card has maximal 512M byes space to cache packets coming into
system.
Totally, system can provide 200ms packets caching in 10G wire-speed.
This huge buffer reduce the chance of discarding low precedence flows in the
case of system congestion.
Flow Classification
drop
Support
Supportthe
thefollowing
followingcar
cartheory:
theory:
•Both ingress and egress Single rate single token bucket
Single rate single token bucket
color-blind
color-blindCAR.
CAR.
directions of Network Processor Single rate single token bucket
Single rate single token bucket
support CAR. color-aware
color-awareCAR.
CAR.
Single rate two token bucket
• Support 16K CAR Processing Single rate two token bucket
color-blind
color-blindCAR.
CAR.
simultaneously per line card. Single rate two token bucket
Single rate two token bucket
color-aware
color-awareCAR.
CAR.
• Scope of CAR rate can be
Two rate two token bucket color-
Two rate two token bucket color-
configured from 64K bps to 10G blind
blindCAR.
CAR.
bps Two rate two token bucket color-
Two rate two token bucket color-
aware
awareCAR.
CAR.
•Action of CAR can be discarding,
remarking and shaping.
Queue
bucket
128Kbps
FR
Left
right
Forbidden to pass
straight
High priority
packet pass
High
middl
e
Low
Impact : Improvement :
•Random packet lost •Increase switching efficiency
•Not guarantee the High priority •Uniformity on delay and jetta
•More burst , worse of QOS •Less impact on QOS with though output
Back pressure mechanism of distributed switching equipment is like the traffic proble
m
NE core routers has the back pressure mechanism
HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 26
Core router VOQ implementation
VOQ Application VOQ
Slot Q
Traffic Class 0
Slot Q
Switching
Slot Q Fabric
Scheduler
MC SFU
SFU
Interface
Slot Q
Slot Q
Traffic Class 1
Slot Q
Scheduler
MC
Line card
Interface 3+1
3+1redundant
redundant
Slot Q
Slot Q
Traffic Class 3
Slot Q Scheduler
MC
QPPB: Qos Policy Propagation Through the Border Gateway Protocol Take QoS Tag
by BGP Community
Basic Idea :
Requirement :
Set community
30
200:1
AS 100
AS
Core Core
router router
MPLS/IP QOS
•Classification,
Marking & Traffic
L3 netwo limit MAN
rk
• Small conver
PE BRAS
BRAS gence ratio PE
• CAR Based o
n user L2 RPR
L2 netwo DSLAM • IEEE802.1P
Ethernet /MSTP/SDH
rk Broadband
Access Network
NGN Video OPEN Enterprise private
Internet access BTV VOD
voice phone EYE leased line