Académique Documents
Professionnel Documents
Culture Documents
Prerequisites
Basic understanding of MPLS (L3VPN, L2VPN, TE) Basic understanding of QoS (DiffServ)
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Agenda
Technology Overview Backbone Infrastructure IP Services Layer-2 Services Management
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
TCA PHB
PHB
TCA PHB
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
PHB definitions
Expedited Forwarding (EF): low delay/jitter/loss Assured Forwarding (AF): low loss Default (DF): No guarantees (best effort)
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Label Label
TTL TTL
Packet Class and drop precedence inferred from EXP (3-bit) field RFC3270 does not recommend specific EXP values for DiffServ PHB (EF/AF/DF) Used for frame-based MPLS
RST-1607 Networkers 2004
2003 Cisco Systems, Inc. All rights reserved.
Label
EXP S S
TTL TTL
Class
Drop Precedence
Cell Encapsulation
GFC GFC VPI VPI VPI VPI VCI VCI
Label CLP
Label VCI
Class
Drop Precedence
Packet Class inferred from label Drop precedence inferred from EXP or ATM CLP Can be used for frame-based and cell-based MPLS
RST-1607 Networkers 2004
2003 Cisco Systems, Inc. All rights reserved.
10
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
11
MPLS Support of DiffServ All done with Modular QoS CLI (MQC)
class-map [match-any | match-all] class-name Enters configuration sub-mode for class definition class-map match-all REAL-TIME match mpls experimental topmost 5 class-map match-all PREMIUM match mpls experimental topmost 1 2 ! ! policy-map OUT-POLICY class REAL-TIME priority percent 25 class PREMIUM bandwidth remaining percent 50 random-detect class class-default random-detect ! interface POS1/0 ip address 10.150.1.1 255.255.255.0 service-policy output OUT-POLICY !
policy-map policy-name
Enters configuration sub-mode for policy definition (marking, policing, shaping, queuing, etc.)
service-policy {input | output} policy-name
Command in interface configuration sub-mode to apply QoS policy for input or output traffic
Template-based command syntax for QoS Separates classification engine from QoS functionality Platform-independent CLI for QoS features
RST-1607 Networkers 2004
2003 Cisco Systems, Inc. All rights reserved.
12
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
2003, Cisco Systems, Inc. All rights reserved. Cisco Systems, Inc. All rights reserved. 2003
13
QoS in my Backbone?
Do you think my core looks like this? Of course not (or does it?)
14
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Backbone Requirements
Growing trend: MPLS as selected choice for next gen multiservice network
IP VPN
IPv6 ATM
PPP
IP/MPLS
Internet VoIP
Ethernet
PSTN
15
Delay/Loss
16
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Delay/Loss
x%
100%
Link utilization*
17
MPLS DiffServ
Adjust class capacity to expected class load
18
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
TCA PHB
19
MPLS TE Overview
Introduces explicit routing Supports constrained-based routing Supports admission control Protection capabilities RSVP-TE to establish LSPs ISIS and OSPF extensions to advertise link attributes Lots more in session RST-2603
TE LSP
IP/MPLS
20
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Path Calculation (CSPF) Path Setup (RSVP-TE) Forwarding Traffic down Tunnel
Auto-route Static
Mid-point Head end Tail end
21
IP/MPLS
22
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
DS-TE BW Allocation
Up to 8 BW pools Different BW pool models Unreserved BW per TE class computed using BW pools and existing reservations
Forwarding Plane
DiffServ BW Allocation
23
BC1
Class2
BC2
Class3
BC0: 20% Best Effort BC1: 50% Premium BC2: 30% Voice
24
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Class2 + Class3
BC2
Class3
BC0: MRB Best Effort + Premium + Voice BC1: 50% Premium + Voice BC2: 30% Voice
25
BC1
Class1 + Class2
BC2
Class2
26
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
T3 T4 T5 T6 T7
EXP-based selection between multiple tunnels to same destination Local mechanism to head-end Tunnels configured with EXP values to carry Tunnels may be configured as default
Dst2
Dst3
FIB
Dst1, exp 4 Dst1, * Dst2, exp 4 Dst2, exp 2 Dst2, * Dst3, exp 4 Dst3, * Tunnel1 Tunnel2 Tunnel3 Tunnel4 Tunnel5 Tunnel6 Tunnel7
No IGP extensions VRF aware Simplifies use of DS-TE tunnels Similar operation to ATM/FR VC Bundles
2003 Cisco Systems, Inc. All rights reserved.
27
During a failure:
Are you missing your SLA? For how long?
Load
Capacity
Link failure may have 2x impact on load Node / SRLG failure may have a 4x impact on load
Load vs Capacity during failure
28
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
PE
IP/MPLS
29
PE
IP/MPLS
Point of Local Repair (PLR) swaps label and pushes backup label Local repair in msecs Failure detection critical for total repair time
30
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
31
A solution when:
No differentiation required No optimization required
Nothing
Load
Capacity
32
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
A solution when:
No differentiation required Optimization required
Load
Capacity
33
A solution when:
Differentiation required Optimization required
Class2
Load Load Capacity Capacity
Class3 Load
RST-1607 Networkers 2004
Capacity
34
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
A solution when:
Differentiation required
DiffServ + TE
Optimization required
Adjust class capacity to expected class load Adjust class load to actual class capacity for one class
Resource Optimization
Class2 Class1
Load Capacity Load Capacity
Class3 Load
RST-1607 Networkers 2004
Capacity
35
A solution when:
Strong differentiation required Fine optimization required
Adjust class capacity to expected class load Adjust class load to actual class capacity
Resource Optimization Class2 Class1
Load Capacity Load Capacity
Class3 Load
RST-1607 Networkers 2004
Capacity
36
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Stronger SLAs during single failure conditions (link, node, SLRG) Optimization of backup resources
FRR Nothing
FRR TE
Resource Optimization
37
IPv6 ATM DiffServ + DS-TE DiffServ + TE FRR DiffServ FRR Nothing FRR TE Internet VoIP FRR
IP VPN
PPP
IP/MPLS
Frame Relay
Ethernet
Resource Optimization
RST-1607 Networkers 2004
2003 Cisco Systems, Inc. All rights reserved.
PSTN
38
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
2003, Cisco Systems, Inc. All rights reserved. Cisco Systems, Inc. All rights reserved. 2003
39
CE
PE IP/MPLS PE
PE
Applies to both IPv4 and IPv6 Backbone must be able to support customer SLA Per-customer QoS policies only at the edge
CE
PE
CE
CE
40
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Site IP SLA
Typically between 3 and 5 classes (real time, video, interactive, business, BE) Delay, jitter and loss guarantees for conforming real-time traffic Combination of delay and loss guarantees for data traffic Sum of committed bandwidth (per-class CIR) not to exceed link/shaper rate Additional classes not visible to customer may exist (e.g. management, control traffic)
Jitter Low NA NA NA
41
CE
PE
PE
IP/MPLS
PE PE
42
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
IP SLA Enforcement
Managed vs. unmanaged IP service Trust boundary on PE for unmanaged service Trust boundary on CE for managed service Trust boundary defines SLA enforcement point Different QoS design options
Site 1 Site 2
Unmanaged CE
IP/MPLS
PE PE
Managed CE
43
PE
44
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
PE
PE Input Policy Classification / Marking Policing PE Output Policy LLQ WRED [Shaping] [LFI / cRTP]
CE policies require coordination with PE policies (e.g. LFI, cRTP, end-to-end latency)
45
Excess real time (voice) usually dropped Excess data marked down
Video
Interactive
Dropping excess data at policer would affect many TCP sessions Limited bandwidth sharing between classes with aggregate sub-rate Voice and video will benefit from admission control
Policing
Business
Best Effort
Classifier
46
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
TD
Classifier
Shaping
LFI used in slow links to reduce delay and jitter for real-time traffic WRED used for TCP-friendly packet dropping
2003 Cisco Systems, Inc. All rights reserved.
47
PE
MPLS IP
Several models (modes) of interaction between these markings RFC2983 defines models (uniform/pipe) for DiffServ with IP tunnels RFC3270 defines models (uniform/pipe/short-pipe) for MPLS
EXP
POP PUSH
DSCP
Only relevant where pop or push operations take place (both on IP or MPLS packets) Explicit NULL label may be used for managed services
48
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
IP
IP/MPLS
CE1 PE1 PE2 CE2
IP
49
Uniform Mode
LSP DiffServ Marking
IP
IP/MPLS
CE1 PE1 PE2 CE2
IP
Push
Packet remarked
Label Label
Label Label
IP or MPLS packet
50
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Pipe Mode
LSP DiffServ Marking Tunneled DiffServ Marking
IP
IP/MPLS
CE1 PE1 PE2 CE2
IP
Push
Packet remarked
Label Label
Label Label
IP or MPLS packet
51
IP
IP/MPLS
CE1 PE1 PE2 CE2
IP
Push
Packet remarked
Label Label
Label Label
IP or MPLS packet
52
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
PE
MPLS IP
QoS Group Id and Discard class for local packet marking Always an input feature (before label POP) Used to implement uniform and pipe mode Recommended semantics
QoS Group Id
EXP
Input Policy
POP
Discard Class
Discard class can drive WRED Not all classes will have a drop precedence (e.g. EF, best effort)
53
PE
MPLS IP
When input policy defines EXP to be imposed, value applies to all imposed labels If no imposition EXP defined, IP precedence copied to all imposed labels EXP maintained during label swaps
EXP
POP PUSH
DSCP
EXP not propagated down by default during disposition Pipe mode precludes PHP
54
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
PE
CE
IP/MPLS
CE
PE
PE PE
CE RR Mark EF if: community 65172:1 or AS65000 CE
AS Path IP Prefix
eBGP iBGP
Packet marking happens before input QoS policy Supports IPv4 and VPNv4 addresses Could add intelligence to IP SLA between sites
RST-1607 Networkers 2004
Tx Packet
55
IP/MPLS
End user may receive least common denominator MPLS DiffServ tunnel modes supports CsC hierarchies Tunnel modes my differ at different levels in a hierarchy
IP VPN Customer
Carrier A
Carrier B
IP VPN Customer
Inter-AS
56
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Presentation_ID
57
IP/MPLS
Frame Relay
Ethernet
HDLC
58
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
IP/MPLS
PE PE
Network interface
59
Lets See how SLA enforcement is done Layer-2 QoS User Interface
PE input and PE output policies enforce SLA Drop precedence may be marked for FR / ATM / Ethernet Output drop precedence (e.g. ATM CLP, FR DE) marking when input marking not possible Ethernet may support multiple classes (802.1p bits)
User Interface
CE
PE
PE Input Policy Policing [Marking] PE Output Policy Queuing (LLQ) WRED [Marking] [shaping]
60
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
SP enforces SLA on access network PE may only need simple aggregate policies
CE
PE
Access Network Input Policy Policing [Marking] Access Network Output Policy Queuing (LLQ) Dropping (WRED) [Shaping]
RST-1607 Networkers 2004
61
EXP
PUSH
Input Policy
FR DE
PE
MPLS Frame Relay
Incoming traffic classified by DE or DLCI for DLCI-to-DLCI mode Input policer may exclude DEmarked frames from CIR metering Several classes of service may be implemented
CIR (EIR=0) CIR+EIR CIR=EIR=0
QoS Group Id
EXP
Input Policy
POP
Discard Class
Output Policy
FR DE
Output DE marking when input marking not possible FECN/BECN marking supported on egress PE only Control word carries original DE/FECN/BECN values
62
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
EXP
PUSH
Input Policy
CLP
PE
MPLS ATM
Output queuing handled by ATM hardware Cell-relay transport for delay sensitive traffic Control word carries original CLP and EFCI values
RST-1607 Networkers 2004
EXP
Input Policy
POP
Discard Class
Output Policy
CLP
63
EXP
PUSH
Input Policy
Incoming traffic classified by CoS (802.1p) or VLAN Id for 802.1Q encapsulation Service characteristics being proposed at the Metro Ethernet Forum (BW Profile: CIR, CBS, EIR, EBS, CF, CM) Site-to-network (point-tocloud) SLA for VPLS Control word does not carry any CoS (802.1p) info
CoS
PE
MPLS Ethernet
QoS Group Id
EXP
Input Policy
POP
Discard Class
Output Policy
CoS
64
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Output Policy
EXP
PUSH
Input Policy
PE
MPLS PPP/HDLC
QoS Group Id
EXP
Input Policy
POP
Discard Class
Output Policy
65
CE
PE
IP/MPLS
PE
CE
PE
CE
66
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
67
Presentation_ID
68
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
PE
P POP
P POP
PE
Server Farm
Server Farm
69
Management Station
QoS policy must be applied to interface/PVC for accounting to happen Read access to configuration and statistical information for MQC
RST-1607 Networkers 2004
2003 Cisco Systems, Inc. All rights reserved.
70
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
IP/MPLS
PE
PE
71
PE
CE
IP/MPLS
CE
PE
PE PE
AS65001 eBGP iBGP RR Count packets if: community 65172:1 or AS65000 CE
Up to 64 counters (traffic-index) Supports IPv4 and VPNv4 addresses Similar in concept/operation to QPPB, but accounting instead of marking
Tx Packet
72
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Measurement Metrics
Round Trip Time Packet Loss Network Jitter Uni-directional Measurements Connectivity
Operations
Jitter FTP Path Jitter DNS DHCP DLSW ICMP UDP TCP HTTP VoIP LSP
Soon
H323 RTP
Defined Packet Size, Spacing COS and Protocol Source MIB Data Source MIB Data SAA
2003 Cisco Systems, Inc. All rights reserved.
IP Server
SAA
Source SAA
Responder
4. Compute: Per-direction OWD (one-way delay) Per-direction inter-packet delay (Jitter) Per-direction packet loss
74
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
SAA event triggers Connection loss / timeout Latency (one way, round trip) Jitter (one way, round trip) Loss (one way, round trip) MOS
75
NMS
MPLS L3 VPN MPLS L2 VPN
Echo and Path Tracing RTT, Packet Loss, Jitter Statistics
Traps Syslog
VCCV
76
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Flow-Tools
77
IP Solution Overview
Unified mgmt for MPLS VPN, L2VPN, Security and MPLS TE
78
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
PE
PE
IP/MPLS
PE PE
classification marking policing shaping congestion management congestion avoidance LFI cRTP
CE
79
Summary
Technology Overview
MPLS support of DiffServ MQC
Backbone Infrastructure
DiffServ TE/FRR DS-TE IPv6 ATM IP VPN
IP Services
SLAs DiffServ Tunneling Modes PPP
IP/MPLS
Frame Relay
Layer-2 Services
Frame Relay ATM Ethernet PPP/HDLC Internet VoIP Ethernet
Management
MIBs Netflow BGP Policy Accounting SAA
RST-1607 Networkers 2004
2003 Cisco Systems, Inc. All rights reserved.
PSTN
80
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Q and A
Presentation_ID
81
Reference Materials
MPLS QoS Q&A
http://www.cisco.com/warp/public/cc/pd/iosw/tech/mpotc_qp.htm
82
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Associated Sessions
RST-1601 - Introduction to Multiprotocol Label Switching (MPLS) RST-3606 - Troubleshooting MPLS VPNs RST-2602 - Deploying MPLS VPNs RST-2603 - Deploying MPLS Traffic Engineering RST-2606 - Understanding Convergence in MPLS VPN Networks RST-2T09 - Advanced Concepts and Developments in MPLS RST-3605 - Troubleshooting MPLS Networks RST-4607 - Advanced Topics and Future Directions in MPLS NMS-4012 - MPLS Embedded Management Tools NMS-2032 - Netflow for Accounting, Analysis and Attack
83
Recommended Reading
IP Quality of Service
ISBN 1578701163
84
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr
Presentation_ID
85
Copyright 2003, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr