0
MPLS-QoS Jay Kumarasamy [email_address]
Agenda <ul><li>QoS Models </li></ul><ul><li>Differentiated Model Features </li></ul><ul><li>Modular QoS CLI (MQC) </li></u...
QoS Models <ul><li>Integrated Services (IntServ) </li></ul><ul><li>Differentiated Services (Diffserv) </li></ul>
The QoS Pendulum Time
Integrated Model <ul><li>Application requests a specific kind of QoS service, through explicit signaling. </li></ul><ul><l...
Differentiated Model  <ul><li>Qos is provided by differential treatment to  each packet or class of packets. </li></ul><ul...
Differentiated Model  Divide Traffic into Classes Differentiated  IP Services Guaranteed: Latency  and Delivery Best Effor...
Switching Fabric <ul><ul><li>rx queue </li></ul></ul><ul><ul><li>tx queue </li></ul></ul><ul><ul><li>tx hw </li></ul></ul>...
Agenda <ul><li>QoS Models </li></ul><ul><li>Differentiated Model Features </li></ul><ul><li>Modular QoS CLI (MQC) </li></u...
Differential Model Features <ul><li>Classification </li></ul><ul><li>Marking </li></ul><ul><li>Policing and Shaping </li><...
Differentiated Model Features Classification <ul><ul><li>Most fundamental QoS building block </li></ul></ul><ul><ul><li>Th...
Differentiated Model Features Marking Version Length Len Layer 3 IPV4 ID Offset TTL Proto FCS IP-SA IP-DA Data ToS 1 Byte ...
Differentiated Model Features Policing and Shaping <ul><li>Policing is the QoS component that limits  incoming traffic flo...
Differentiated Model Features Congestion Avoidance <ul><li>Drop Policy </li></ul><ul><li>Tail Drop </li></ul><ul><li>Rando...
Differentiated Model Features Congestion  Management <ul><li>Scheduling Policy </li></ul><ul><li>FIFO </li></ul><ul><li>Fa...
Agenda <ul><li>QoS Models </li></ul><ul><li>Differentiated Model Features </li></ul><ul><li>Modular QoS CLI (MQC) </li></u...
Modular QoS CLI <ul><li>Modular QoS CLI (MQC) </li></ul><ul><ul><li>Command syntax introduced in 12.0(5)T </li></ul></ul><...
Basic MQC Commands class-map [match-any | match-all]  class-name   router(config)# <ul><li>1.   Create Class Map  - a traf...
Basic MQC Commands <ul><li>1. Create Class Map </li></ul>Router(config)#  class-map class1 Router(config-cmap)#  match ip ...
Agenda <ul><li>QoS Models </li></ul><ul><li>Differentiated Model Features </li></ul><ul><li>Modular QoS CLI (MQC) </li></u...
MPLS QoS Conventional Router Label Edge Routers ATM-LSR Label Switching Router (LSR) <ul><li>Note: End to end service is I...
MPLS QoS ISP Customer MPLS 3) Invoke QoS Policy Action Based on Edge Classification (based on MPLS EXP),  e.g. LLQ, CBWFQ,...
MPLS QoS <ul><li>‘ Differentiated Model’ approach: Set IP precedence or MPLS Exp bit at the edge of the network </li></ul>...
MPLS QoS <ul><li>Copy of IP Precedence into MPLS EXP </li></ul><ul><li>Mapping of IP Precedence into MPLS EXP </li></ul>Pr...
MPLS QoS Diff-Serv : Jargon <ul><li>PHB = Per Hop Behavior The Diff-Serv treatment (scheduling/dropping) applied by a Rout...
MPLS QoS Diff-Serv : DSCP 1  0  1  1  1  0 DSCP CU EF x  x  x  y  y  0 DSCP CU AFxy Class Drop Precedence AF Class = 1, 2,...
MPLS QoS  Diff-Serv over MPLS <ul><li>Two methods: </li></ul><ul><ul><li>E -LSP </li></ul></ul><ul><ul><li>“ Queue” inferr...
MPLS QoS  E-LSP Example <ul><li>E-LSPs can be established by various label binding protocols (LDP or RSVP) </li></ul><ul><...
MPLS QoS L-LSP Example <ul><li>L-LSPs can be established by various label binding protocols (LDP or RSVP) </li></ul><ul><l...
MPLS QoS Edge DiffServ LSR with  L-LSP IPv4  Packet MPLS Header Non-MPLS  Diff-Serv Domain MPLS  Diff-Serv Domain DSCP Edg...
MPLS QoS Signaling <ul><li>E-LSPs can be set up with existing (non-DS-aware) signalling </li></ul><ul><ul><li>LDP, RSVP et...
MPLS QoS E-LSP & L-LSP Applicability <ul><li>MPLS over PPP and LAN: </li></ul><ul><ul><li>both E-LSPs and L-LSPs are appli...
MPLS QoS <ul><li>On non-ATM LSRs, MPLS-QoS is simple </li></ul><ul><li>Copy or Map IP precedence to MPLS exp field </li></...
MPLS QoS <ul><li>MPLS QoS on ATM-LSRs </li></ul><ul><li>Two Challenges: </li></ul><ul><li>No WRED in switches </li></ul><u...
MPLS QoS  ATM Forum PVC Mode <ul><li>Looks like packet interface to MPLS QoS </li></ul><ul><li>BW and other parameters con...
MPLS QoS  Multi VC Mode ATM-LSR MPLS LVCs <ul><li>MPLS ATM core provides MPLS QoS at each link </li></ul><ul><li>Configure...
MPLS QoS  Multi VC Mode <ul><li>Queuing is done through CBWFQ  (eg. Premium gets 80% of link, standard gets 20%) </li></ul...
Agenda <ul><li>QoS Models </li></ul><ul><li>Differentiated Model Features </li></ul><ul><li>Modular QoS CLI (MQC) </li></u...
Examples PE 2 Pos 1/0 PE 3 MPLS Network PE 1 PE 4 CE 4 CE 2 PE 5 CE 1 CE 3 Pos 1/1 Pos 5/0 Pos 4/0 Pos 2/0 P 3
Examples ! Matching voice traffic from customer 1 Pe1(config)# class-map match-all cus1_voice Pe1(config-cmap)# match inte...
Examples Pe1(config)# class-map isp_voice Pe1(config-cmap)# match mpls experimental 4 Pe1(config-cmap)# end   Pe1(config)#...
Examples ! Input Policy for setting experimental 4, 2, 1 Pe1(config)# policy-map pe1_input Pe1(config-pmap)# class cus1_vo...
Examples ! Output Policy for configuring bandwidth, queue… Pe1(config)# policy-map policy pe1_output Pe1(config-pmap)# cla...
Examples Pe1(config)# interface POS1/0 Pe1(config-if)# service-policy input pe1_input   Pe1(config)# interface POS1/1 Pe1(...
Examples PE 2 Pos 1/0 PE 3 MPLS Network LC-ATM PE 4 CE 4 CE 2 PE 5 CE 1 CE 3 Pos 1/1 Pos 5/0 Pos 4/0 ATM Core PE 1 LSC1
Examples Pe1(config)# ATM1/0 Pe1(config-if)# no ip address Pe1(config-if)# atm clock INTERNAL Pe1(config-if)# no atm ilmi-...
Examples ! Matching voice traffic from customer 1 Pe1(config)# class-map match-all cus1_voice Pe1(config-cmap)# match inte...
Examples P! Input Policy for setting experimental 2, 1, 0 e1(config)# policy-map pe1_input Pe1(config-pmap)# class cus1_vo...
Examples Pe1(config)# class-map isp_erp Pe1(config-cmap)# match mpls experimental 1 Pe1(config-cmap)# end   Pe1(config)# c...
Examples Pe1(config-pmap-c)# exit Pe1(config-pmap)# class isp_erp Pe1(config-pmap-c)# bandwidth 50 Pe1(config-pmap-c)# que...
Examples LSC1   Interface XTagATM11 extended-port ATM3/0 bpx 1.1 tag-switching atm vpi 2-15 tag-switching atm cos availabl...
 
Upcoming SlideShare
Loading in...5
×

Mpls Qos Jayk

1,698

Published on

mpls

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,698
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
200
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Mpls Qos Jayk"

  1. 1. MPLS-QoS Jay Kumarasamy [email_address]
  2. 2. Agenda <ul><li>QoS Models </li></ul><ul><li>Differentiated Model Features </li></ul><ul><li>Modular QoS CLI (MQC) </li></ul><ul><li>MPLS QoS </li></ul><ul><li>Sample Examples </li></ul>
  3. 3. QoS Models <ul><li>Integrated Services (IntServ) </li></ul><ul><li>Differentiated Services (Diffserv) </li></ul>
  4. 4. The QoS Pendulum Time
  5. 5. Integrated Model <ul><li>Application requests a specific kind of QoS service, through explicit signaling. </li></ul><ul><li>Resource Reservation Protocol (RSVP) is used by applications to signal their QoS requirements to the router. </li></ul><ul><li>Complex to use. </li></ul><ul><li>Difficult to support with a large number of RSVP connections, due to: </li></ul><ul><li>the amount of state information required for every flow. </li></ul><ul><li>the amount of control traffic </li></ul><ul><li>Fine grain, providing strict QoS. </li></ul>
  6. 6. Differentiated Model <ul><li>Qos is provided by differential treatment to each packet or class of packets. </li></ul><ul><li>No explicit signaling from the application. </li></ul><ul><li>This model is appropriate for aggregate flows. </li></ul><ul><li>Coarse grain, not strict QoS (no guarantees). </li></ul>
  7. 7. Differentiated Model Divide Traffic into Classes Differentiated IP Services Guaranteed: Latency and Delivery Best Effort Delivery Guaranteed Delivery Voice E-mail, Web Browsing E-Commerce Application Traffic Platinum Class Low Latency Silver Bronze Gold Voice Traffic Classification
  8. 8. Switching Fabric <ul><ul><li>rx queue </li></ul></ul><ul><ul><li>tx queue </li></ul></ul><ul><ul><li>tx hw </li></ul></ul><ul><ul><li>recv hw </li></ul></ul>Differentiated Model Classification/ Marking policy Drop policy Scheduling policy
  9. 9. Agenda <ul><li>QoS Models </li></ul><ul><li>Differentiated Model Features </li></ul><ul><li>Modular QoS CLI (MQC) </li></ul><ul><li>MPLS QoS </li></ul><ul><li>Sample Examples </li></ul>
  10. 10. Differential Model Features <ul><li>Classification </li></ul><ul><li>Marking </li></ul><ul><li>Policing and Shaping </li></ul><ul><li>Congestion Avoidance </li></ul><ul><li>Congestion Management </li></ul>
  11. 11. Differentiated Model Features Classification <ul><ul><li>Most fundamental QoS building block </li></ul></ul><ul><ul><li>The component of a QoS feature that recognizes and distinguishes between different traffic streams </li></ul></ul><ul><ul><li>Without classification, all packets are treated the same </li></ul></ul>
  12. 12. Differentiated Model Features Marking Version Length Len Layer 3 IPV4 ID Offset TTL Proto FCS IP-SA IP-DA Data ToS 1 Byte 0 7 1 2 3 4 5 6 IP Precedence DSCP Unused Bits; 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label | EXP | S | TTL |
  13. 13. Differentiated Model Features Policing and Shaping <ul><li>Policing is the QoS component that limits incoming traffic flow to a configured bit rate </li></ul><ul><li>Shaping is the QoS feature component that regulates outgoing traffic flow to a configured bit rate </li></ul>
  14. 14. Differentiated Model Features Congestion Avoidance <ul><li>Drop Policy </li></ul><ul><li>Tail Drop </li></ul><ul><li>Random Early Detection (RED) </li></ul><ul><li>Weighted Random Early Detection (WRED) </li></ul>
  15. 15. Differentiated Model Features Congestion Management <ul><li>Scheduling Policy </li></ul><ul><li>FIFO </li></ul><ul><li>Fair Queuing </li></ul><ul><li>Weighted Fair Queuing (WFQ) </li></ul><ul><li>Class Based Weighted Fair Queuing (CBWFQ) </li></ul><ul><li>Low Latency Queuing (LLQ) </li></ul>
  16. 16. Agenda <ul><li>QoS Models </li></ul><ul><li>Differentiated Model Features </li></ul><ul><li>Modular QoS CLI (MQC) </li></ul><ul><li>MPLS QoS </li></ul><ul><li>Sample Examples </li></ul>
  17. 17. Modular QoS CLI <ul><li>Modular QoS CLI (MQC) </li></ul><ul><ul><li>Command syntax introduced in 12.0(5)T </li></ul></ul><ul><ul><li>Reduces configuration steps and time </li></ul></ul><ul><ul><li>Uniform CLI across all main Cisco IOS-based platforms </li></ul></ul><ul><ul><li>Uniform CLI structure for all QoS features </li></ul></ul>
  18. 18. Basic MQC Commands class-map [match-any | match-all] class-name router(config)# <ul><li>1. Create Class Map - a traffic class ( match access list, input interface, IP Prec, DSCP, protocol (NBAR) src/dst MAC address, mpls exp) . </li></ul>policy-map policy-map-name router(config)# <ul><li>2. Create Policy Map (Service Policy) - Associate a class map with one or more QoS policies (bandwidth, police, queue-limit, random detect, shape, set prec, set DSCP, set mpls exp) . </li></ul>service-policy {input | output} policy-map-name router(config-if)# <ul><li>3. Attach Service Policy - Associate the policy map with an input or output interface. </li></ul>
  19. 19. Basic MQC Commands <ul><li>1. Create Class Map </li></ul>Router(config)# class-map class1 Router(config-cmap)# match ip precedence 5 Router(config-cmap)# exit Router(config)# policy-map policy1 Router(config-pmap)# class class1 Router(config-pmap-c)# set mpls experimental 5 Router(config-pmap-c)# bandwidth 3000 Router(config-pmap-c)# queue-limit 30 Router(config-pmap)# exit Router(config)# interface e1/1 Router(config-if)# service-policy output policy1 Router(config-if)# exit <ul><li>2. Create Policy Map </li></ul><ul><li>3. Attach Service Policy </li></ul>
  20. 20. Agenda <ul><li>QoS Models </li></ul><ul><li>Differentiated Model Features </li></ul><ul><li>Modular QoS CLI (MQC) </li></ul><ul><li>MPLS Quality of Service </li></ul><ul><li>Sample Examples </li></ul>
  21. 21. MPLS QoS Conventional Router Label Edge Routers ATM-LSR Label Switching Router (LSR) <ul><li>Note: End to end service is IP; therefore, IP class of service is what MPLS must support </li></ul>
  22. 22. MPLS QoS ISP Customer MPLS 3) Invoke QoS Policy Action Based on Edge Classification (based on MPLS EXP), e.g. LLQ, CBWFQ, Drop Policy Low Priority via WRED if rate limit exceeded 1) Packet Classification through IP Prec/DSCP 2) Match IP Prec/DSCP; Set MPLS EXP. Rate-limit/Police and apply drop policy Core
  23. 23. MPLS QoS <ul><li>‘ Differentiated Model’ approach: Set IP precedence or MPLS Exp bit at the edge of the network </li></ul><ul><li>WRED by MPLS Exp, and WFQ by class in the core </li></ul><ul><li>Because MPLS is there primarily to transport IP, MPLS’s primary QoS goal is to support existing IP QoS models </li></ul><ul><li>Because MPLS is there to support very large scale operations, MPLS should also be capable of supporting Diff-Serv in the future </li></ul>
  24. 24. MPLS QoS <ul><li>Copy of IP Precedence into MPLS EXP </li></ul><ul><li>Mapping of IP Precedence into MPLS EXP </li></ul>Prec: xyz IPv4 Packet MPLS Hdr Prec: xyz MPLS EXP: xyz Non-MPLS Domain MPLS Domain 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label | EXP | S | TTL |
  25. 25. MPLS QoS Diff-Serv : Jargon <ul><li>PHB = Per Hop Behavior The Diff-Serv treatment (scheduling/dropping) applied by a Router to all the packets which are to experience the same Diff-Serv service </li></ul><ul><li>DSCP = Differentiated Services Code Point The value in the IP Header indicating which PHB is to be applied to the packet </li></ul><ul><li>BA = Behavior Aggregate The set of all the packets which have the same DSCP (and thus that will receive the same PHB) </li></ul><ul><li>OA = Ordered Aggregate The set of BAs which have an ordering constraint (“must go into the same queue”) </li></ul><ul><li>PSC = PHB Scheduling Class The set of PHBs applied to an OA (the set of PHBs using the same queue”) </li></ul>
  26. 26. MPLS QoS Diff-Serv : DSCP 1 0 1 1 1 0 DSCP CU EF x x x y y 0 DSCP CU AFxy Class Drop Precedence AF Class = 1, 2, 3, 4 Drop Precedence = 2, 4, 6
  27. 27. MPLS QoS Diff-Serv over MPLS <ul><li>Two methods: </li></ul><ul><ul><li>E -LSP </li></ul></ul><ul><ul><li>“ Queue” inferred from Label and E XP field </li></ul></ul><ul><ul><li>“ drop priority” inferred from label and EXP field </li></ul></ul><ul><ul><li>L -LSP “Queue” inferred exclusively from L abel </li></ul></ul><ul><ul><li>“ drop priority” inferred from EXP field </li></ul></ul><ul><li><draft-ietf-mpls-diff-ext-03.txt>, by Francious Le Faucheur, et al </li></ul>
  28. 28. MPLS QoS E-LSP Example <ul><li>E-LSPs can be established by various label binding protocols (LDP or RSVP) </li></ul><ul><li>Example above illustrates support of EF and AF1 on single E-LSP </li></ul><ul><ul><li>Note: EF and AF1 packets travel on single LSP (single label) but are enqueued in different queues (different EXP values) </li></ul></ul><ul><li>Queue is selected based on EXP </li></ul>E-LSP LSR LDP/RSVP LDP/RSVP EF AF1
  29. 29. MPLS QoS L-LSP Example <ul><li>L-LSPs can be established by various label binding protocols (LDP or RSVP) </li></ul><ul><li>Example above illustrates support of EF and AF1 on separate L-LSPs </li></ul><ul><ul><li>EF and AF1 packets travel on separate LSPs and are enqueued in different queues (different label values) </li></ul></ul><ul><li>Queue is selected based on label, Discard is based on ESP </li></ul>L-LSPs LSR LDP/RSVP LDP/RSVP
  30. 30. MPLS QoS Edge DiffServ LSR with L-LSP IPv4 Packet MPLS Header Non-MPLS Diff-Serv Domain MPLS Diff-Serv Domain DSCP Edge LSR 1) identify incoming packet’s BA looking at incoming DSCP 2) pick the LSP/label which supports the right FEC and the right BA 3) mark the EXP field to reflect the packet’s BA DSCP 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label | EXP | S | TTL |
  31. 31. MPLS QoS Signaling <ul><li>E-LSPs can be set up with existing (non-DS-aware) signalling </li></ul><ul><ul><li>LDP, RSVP etc. </li></ul></ul><ul><ul><li>EXP -> PHB mapping is configured on every router as per Diffserv </li></ul></ul><ul><li>L-LSPs require signalling extension to bind “queue” to a label </li></ul><ul><ul><li>New DIFFSERV object/TLV added to RSVP/LDP to signal the “queue” in which to enqueue the label </li></ul></ul><ul><ul><li>Meaning of EXP bits is well-known (ie standardised for each PSC) </li></ul></ul>
  32. 32. MPLS QoS E-LSP & L-LSP Applicability <ul><li>MPLS over PPP and LAN: </li></ul><ul><ul><li>both E-LSPs and L-LSPs are applicable </li></ul></ul><ul><li>MPLS over ATM: </li></ul><ul><ul><li>only L-LSPs possible (EXP is not seen by ATM LSR) </li></ul></ul>
  33. 33. MPLS QoS <ul><li>On non-ATM LSRs, MPLS-QoS is simple </li></ul><ul><li>Copy or Map IP precedence to MPLS exp field </li></ul><ul><li>Exact same mechanism as IP-QoS </li></ul><ul><li>Net result is end-to-end QoS indistinguishable from non-MPLS (IP) network </li></ul>
  34. 34. MPLS QoS <ul><li>MPLS QoS on ATM-LSRs </li></ul><ul><li>Two Challenges: </li></ul><ul><li>No WRED in switches </li></ul><ul><li>No EXP field in header </li></ul><ul><li>Solution Modes: </li></ul><ul><li>ATM Forum PVC </li></ul><ul><li>Multi VC (LSP) </li></ul>
  35. 35. MPLS QoS ATM Forum PVC Mode <ul><li>Looks like packet interface to MPLS QoS </li></ul><ul><li>BW and other parameters configured on the PVC </li></ul><ul><li>Requires significant amount of configuration </li></ul>ATM-LSR PVC
  36. 36. MPLS QoS Multi VC Mode ATM-LSR MPLS LVCs <ul><li>MPLS ATM core provides MPLS QoS at each link </li></ul><ul><li>Configure each non-ATM LSR to support a number </li></ul><ul><li>of classes (2-4) </li></ul><ul><li>Parallel LVCs automatically established </li></ul><ul><li>Assign weight to each class </li></ul>
  37. 37. MPLS QoS Multi VC Mode <ul><li>Queuing is done through CBWFQ (eg. Premium gets 80% of link, standard gets 20%) </li></ul><ul><li>Unused bandwidth available to other classes </li></ul><ul><li>No per-router-pair configuration required, as in ATM Forum PVC </li></ul>
  38. 38. Agenda <ul><li>QoS Models </li></ul><ul><li>Differentiated Model Features </li></ul><ul><li>Modular QoS CLI (MQC) </li></ul><ul><li>MPLS Class of Service </li></ul><ul><li>Examples </li></ul>
  39. 39. Examples PE 2 Pos 1/0 PE 3 MPLS Network PE 1 PE 4 CE 4 CE 2 PE 5 CE 1 CE 3 Pos 1/1 Pos 5/0 Pos 4/0 Pos 2/0 P 3
  40. 40. Examples ! Matching voice traffic from customer 1 Pe1(config)# class-map match-all cus1_voice Pe1(config-cmap)# match interface POS1/0 Pe1(config-cmap)# match ip precedence 4 Pe1(config-cmap)# end   ! Matching voice traffic from customer 2 Pe1(config)# class-map match-all cus2_voice Pe1(config-cmap)# match interface POS1/1 Pe1(config-cmap)# match ip precedence 5 Pe1(config-cmap)# end   ! Matching any e2e traffic Pe1(config)# class-map erp Pe1(config-cmap)# match ip precedence 2 Pe1(config-cmap)# end
  41. 41. Examples Pe1(config)# class-map isp_voice Pe1(config-cmap)# match mpls experimental 4 Pe1(config-cmap)# end   Pe1(config)# class-map isp_erp Pe1(config-cmap)# match mpls experimental 2 Pe1(config-cmap)# end   Pe1(config)# class-map isp_routine Pe1(config-cmap)# match mpls experimental 1 Pe1(config-cmap)# end
  42. 42. Examples ! Input Policy for setting experimental 4, 2, 1 Pe1(config)# policy-map pe1_input Pe1(config-pmap)# class cus1_voice Pe1(config-pmap-c)# set mpls experimental 4 Pe1(config-pmap-c)# exit Pe1(config-pmap)# class cus2_voice Pe1(config-pmap-c)# set mpls experimental 4 Pe1(config-pmap-c)# exit Pe1(config-pmap)# class erp Pe1(config-pmap-c)# set mpls experimental 2 Pe1(config-pmap-c)# exit Pe1(config-pmap)# class class-default Pe1(config-pmap-c)# set mpls experimental 1 Pe1(config-pmap)# exit
  43. 43. Examples ! Output Policy for configuring bandwidth, queue… Pe1(config)# policy-map policy pe1_output Pe1(config-pmap)# class isp_voice Pe1(config-pmap-c)# priority 100 Pe1(config-pmap-c)# exit Pe1(config-pmap)# class isp_erp Pe1(config-pmap-c)# bandwidth 50 Pe1(config-pmap-c)# queue-limit 30 Pe1(config-pmap-c)# exit Pe1(config-pmap)# class class-default Pe1(config-pmap-c)# bandwidth 20 Pe1(config-pmap-c)# queue-limit 100 Pe1(config-pmap-c)# exit Pe1(config-pmap)# exit
  44. 44. Examples Pe1(config)# interface POS1/0 Pe1(config-if)# service-policy input pe1_input   Pe1(config)# interface POS1/1 Pe1(config-if)# service-policy input pe1_input   Pe1(config)# interface POS2/0 Pe1(config-if)# service-policy output pe1_output  
  45. 45. Examples PE 2 Pos 1/0 PE 3 MPLS Network LC-ATM PE 4 CE 4 CE 2 PE 5 CE 1 CE 3 Pos 1/1 Pos 5/0 Pos 4/0 ATM Core PE 1 LSC1
  46. 46. Examples Pe1(config)# ATM1/0 Pe1(config-if)# no ip address Pe1(config-if)# atm clock INTERNAL Pe1(config-if)# no atm ilmi-keepalive Pe1(config-if)# exit   Pe1(config)# interface ATM1/0.1 tag-switching Pe1(config-if)# ip unnumbered loopback0 Pe1(config-if)# tag-switching multi-vc Pe1(config-if)# tag-switching atm vpi 2-5 Pe1(config-if)# tag-switching ip   ! Sets up 3 LVCs. Pe1(config)# cos-map 1 ! 3 - standard Pe1(config-mpls-cos-map)# class 3 standard ! 2 - premium Pe1(config-mpls-cos-map)# exit ! 1 - standard ! 0 – available Pe1(config)# mpls prefix-map 1 access-list 1 cos-map 1
  47. 47. Examples ! Matching voice traffic from customer 1 Pe1(config)# class-map match-all cus1_voice Pe1(config-cmap)# match interface POS1/0 Pe1(config-cmap)# match ip precedence 4 Pe1(config-cmap)# end   ! Matching voice traffic from customer 2 Pe1(config)# class-map match-all cus2_voice Pe1(config-cmap)# match interface POS1/1 Pe1(config-cmap)# match ip precedence 5 Pe1(config-cmap)# end   ! Matching any e2e traffic Pe1(config)# class-map erp Pe1(config-cmap)# match ip precedence 2 Pe1(config-cmap)# end
  48. 48. Examples P! Input Policy for setting experimental 2, 1, 0 e1(config)# policy-map pe1_input Pe1(config-pmap)# class cus1_voice Pe1(config-pmap-c)# set mpls experimental 2 ! Voice for customer 1 Pe1(config-pmap-c)# exit Pe1(config-pmap)# class cus2_voice Pe1(config-pmap-c)# set mpls experimental 2 ! Voice for customer 2 Pe1(config-pmap-c)# exit Pe1(config-pmap)# class erp Pe1(config-pmap-c)# set mpls experimental 1 ! ERP data Pe1(config-pmap-c)# exit Pe1(config-pmap)# class class-default Pe1(config-pmap-c)# set mpls experimental 0 ! All other traffic Pe1(config-pmap)# exit   Pe1(config)# class-map isp_voice Pe1(config-cmap)# match mpls experimental 2 Pe1(config-cmap)# end  
  49. 49. Examples Pe1(config)# class-map isp_erp Pe1(config-cmap)# match mpls experimental 1 Pe1(config-cmap)# end   Pe1(config)# class-map isp_available Pe1(config-cmap)# match mpls experimental 0 Pe1(config-cmap)# end   ! Output Policy for configuring bandwidth, queue… Pe1(config)# policy-map policy pe1_output Pe1(config-pmap)# class isp_voice Pe1(config-pmap-c)# priority 100
  50. 50. Examples Pe1(config-pmap-c)# exit Pe1(config-pmap)# class isp_erp Pe1(config-pmap-c)# bandwidth 50 Pe1(config-pmap-c)# queue-limit 30 Pe1(config-pmap-c)# exit Pe1(config-pmap)# class isp_available Pe1(config-pmap-c)# bandwidth 20 Pe1(config-pmap-c)# queue-limit 100 Pe1(config-pmap-c)# exit Pe1(config-pmap)# exit
  51. 51. Examples LSC1   Interface XTagATM11 extended-port ATM3/0 bpx 1.1 tag-switching atm vpi 2-15 tag-switching atm cos available 20 tag-switching atm cos standard 30 tag-switching atm cos premium 50 tag-switching ip   Interface XTagATM12 extended-port ATM3/0 bpx 1.2 tag-switching atm vpi 2-15 tag-switching atm cos available 20 tag-switching atm cos standard 30 tag-switching atm cos premium 50 tag-switching ip
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×