Beruflich Dokumente
Kultur Dokumente
www.ct-in.com.vn
Step 1: Classification Ingress Policing Marking Step 2: Mapping (Copy 802.1P into MPLS EXP) Egress Queuing
1 2
Step 3: Egress Queuing Step 4: Egress Policing Mapping (Copy MPLS EXP into 802.1P)
DSCP, CoS
PE1
MPLS EXP
P
MPLS EXP
PE2
DSCP, CoS
Minimal and predictable delay/jitter of real time data, such as VoIP (strict-priority queuing) Guaranteed throughput for certain services under link congestion periods (protecting customers and services with contracted SLAs from best effort internet traffic ) Bandwidth isolation between different service classes
www.ct-in.com.vn
April 7, 2014
VNPT QoS
4
SP Class Application EXP BW Congestion Avoidance CONTROL REAL-TIME Control Network Protocol Voice (VoIP) Voice Signalling/Control Voice (SIP,H.248,IGMP IEEE1588v2) VIDEO Video in Demand, Broadcast TV, Network (SNMP,SSH) CRITICAL-DATA Business Mission-Critical Data Business Normal-Business Data 3 2 27% WRED WRED CBWFQ CBWFQ Management 4 23% Tail Drop CBWFQ and 6 5 7% 33% Tail Drop Tail Drop CBWFQ Priority, Policed Queuing
BE
IN-profile 1 Out-of-profile 0
10%
WRED
CBWFQ
WRED
CBWFQ
www.ct-in.com.vn
April 7, 2014
WRED
5
When a packet arrives, WRED applies the following process: - The average queue size is calculated - If the average is less than the minimum queue threshold, the arriving packet is queued - If the average is between the minimum queue threshold for that type of traffic and the maximum threshold for the interface, the packet is either dropped or queued, depending on the packet drop probability for that type of trafic. - If the average queue size is greater than the maximum threshold, the packet is dropped
www.ct-in.com.vn
April 7, 2014
WRED Metric
6
It is recommended that the probability be set to 1 for all practical application. Cisco recommends the queue limit for all traffic classes should be below 100 ms WRED Equation
www.ct-in.com.vn
April 7, 2014
www.ct-in.com.vn
April 7, 2014
BW/Police r
Avg Size
Pkt
RED minTH
RED maxTH
Queuelimit
MPLS EXP/IPP
REALTIME CONTROL
33%
60
30
206250
7%
300
6 7
VIDEO CRITICALDATA
23% 27%
4278
4 3 2 1 0
Classdefault
10%
600 600
www.ct-in.com.vn
April 7, 2014
Congestion Management
9
www.ct-in.com.vn
April 7, 2014
www.ct-in.com.vn
April 7, 2014
class-map match-any REAL-TIME match mpls experimental topmost 5 match ip precedence 5 ! class-map match-any CONTROL match mpls experimental topmost 6 match mpls experimental topmost 7 match ip precedence 6 match ip precedence 7 ! class-map match-any VIDEO match mpls experimental topmost 4 match ip precedence 4 ! class-map match-any CRITICAL-DATA match mpls experimental topmost 2 match mpls experimental topmost 3 match ip precedence 2 match ip precedence 3
www.ct-in.com.vn
April 7, 2014
policy-map 10GE_ES20_OUT class REAL-TIME police cir 3300000000 conform-action transmit exceed-action drop priority queue-limit 206250 class CONTROL bandwidth percent 7 class VIDEO bandwidth percent 23 queue-limit 4278 class CRITICAL-DATA bandwidth percent 27 random-detect aggregate random-detect precedence values 2 minimum-thresh 9375 maximum-thresh 28125 mark 1 random-detect precedence values 3 minimum-thresh 15000 maximum-thresh 45000 mark 1 www.ct-in.com.vn April 7, 2014
QoS (Core)
13
class class-default bandwidth percent 10 random-detect aggregate random-detect precedence values 0 minimum-thresh 4861 maximumthresh 14583 mark 1 random-detect precedence values 1 minimum-thresh 6944 maximumthresh 20833 mark 1 ! interface TenGigabitEthernet <X/Y/Z> description <MPLS link towards U-PE or PE-AGG router>
www.ct-in.com.vn
April 7, 2014
ELINE QoS
15
mls qos mls qos marking ignore port-trust ! policy-map SET_EXP3 class class-default set mpls experimental imposition 3 policy-map policing_GOLD10M_in class class-default police cir 10000000 conform-action transmit excess-action drop service-policy SET_EXP3 ! interface GigabitEthernetX/Y/Z service instance <ID> ethernet service-policy input policing_GOLD10M_in
www.ct-in.com.vn
April 7, 2014
ELAN - QoS
16
www.ct-in.com.vn
April 7, 2014
ELAN-QoS
17
mls qos mls qos marking ignore port-trust ! policy-map SET_EXP3 class class-default set mpls experimental imposition 3 policy-map policing_GOLD10M_in class class-default
www.ct-in.com.vn
April 7, 2014
LAB TOPOLOGY
18
Te1/2
MEN Area 1
R3 L1-2
Te1/2
Te1/0/1
R4 L1
Te1/1
/1 G1/0
Te2/0/0
Te1/0/0
R5 L1
Te1/1
Te1/2
R2 L1-2
Te1/1 Te1/1
R1 L1
www.ct-in.com.vn
April 7, 2014
Yu cu
19
Cu hnh QoS trn cc Core Link Cu hnh QoS cho dch v E-LINE Cu hnh QoS cho dch v E-LAN
www.ct-in.com.vn
April 7, 2014