Configuring Quality of Service for MPLS Traffic

Size: px
Start display at page:

Download "Configuring Quality of Service for MPLS Traffic"

Transcription

1 CHAPTER 20 Multiprotocol label switching (MPLS) combines the performance and capabilities of Layer 2 (data link layer) switching with the proven scalability of Layer 3 (network layer) routing. MPLS enables you, as service providers, to meet the challenges of the explosive growth in network utilization while providing the opportunity to differentiate services without sacrificing the existing network infrastructure. You can employ the flexible MPLS architecture in any combination of Layer 2 technologies. The Cisco series router offers MPLS support for all Layer 3 protocols. This chapter describes QoS for MPLS-enabled networks and includes the following topics: MPLS QoS, page 20-1 MPLS CoS Multi-VC Mode, page MPLS Traffic Engineering DiffServ Aware, page Per VRF AAA, page Related Documentation, page MPLS QoS Multiprotocol Label Switching (MPLS) quality of service (QoS) allows you, as the service provider, to provide varying levels of QoS services for different types of traffic in an MPLS network. MPLS allows you to "tunnel" the QoS of a packet. You can classify packets according to their type, input interface, and other factors without changing the IP precedence or DSCP field of the packet. The IP precedence and DSCP fields allow you to specify the QoS for an IP packet. The MPLS experimental (EXP) field, consisting of 3 bits in the IP header, allows you to specify the QoS for an MPLS packet. The EXP field is used to support differentiated services and can carry all of the information encoded in the IP precedence or DSCP field. In some cases, the EXP bits are used exclusively to encode the drop precedence within a traffic class. The router applies QoS services based on the class of service (CoS) set for a packet. If the IP precedence field specifies the CoS, the router treats the packet based on the IP precedence marking. In an MPLS network, the router copies the IP precedence bits into the MPLS EXP field at the edge of the network. However, based on the service offering, you might need to set the MPLS EXP field to a value that is different from the IP precedence value. In this case, MPLS QoS allows the IP precedence or DSCP setting of a packet to remain unmodified as the packet passes through the provider network. During congestion, packets receive the appropriate priority, based on the MPLS EXP setting. 20-1

2 MPLS QoS Chapter 20 You can mark the EXP bits independently of the per-hop behavior (PHB). Instead of overwriting the value in the IP precedence field, you can set the MPLS EXP field, choosing from a variety of criteria (including those based on IP PHB) to classify a packet and set the MPLS EXP field. For example, you can classify packets with or without considering the rate of the packets that the PE1 receives. If the rate is a consideration, you can mark in-rate packets differently from out-of-rate packets. As the packet travels through the MPLS network, the marking value of an IP packet does not change and the IP header remains available for use. In some instances, it is desirable to extend the MPLS PHB to the egress interface between the provider edge (PE) router and customer edge (CE) router. This has the effect of extending the MPLS QoS tunnel, which allows the MPLS network owner to classify scheduling and discarding behavior on that final interface. Feature History for MPLS QoS Cisco IOS Release Description Required PRE Release 12.0(19)SL The MPLS QoS feature was introduced on the PRE1. PRE1 Release 12.0(22)S This feature was enhanced to allow classification and PRE1 marking based on the MPLS experimental (EXP) field. Release 12.2(16)BX This feature was introduced on the PRE2. PRE2 Release 12.2(28)SB This feature was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. PRE2 MPLS QoS Services The MPLS experimental (EXP) field allow you to specify the QoS for an MPLS packet while the IP precedence and DSCP fields allow you to specify the QoS for an IP packet. By setting the MPLS EXP field, the router does not modify the IP precedence or DSCP field of IP packets as they traverse the network. MPLS QoS supports the following QoS services: Policing Classifies packets according to input or output transmission rates. Allows you to set the MPLS EXP, IP precedence, or DSCP bits (whichever is appropriate). For more information about policing, see Chapter 6, Policing Traffic. Weighted Random Early Detection (WRED) Monitors network traffic to prevent congestion by dropping packets based on the IP precedence value, DSCP value, MPLS EXP value, or the discard class value. For more information about WRED, see Chapter 11, Managing Packet Queue Congestion. Class-Based Weighted Fair Queuing (CBWFQ) An automated scheduling system that uses a queuing algorithm to ensure bandwidth allocation to different classes of network traffic. For more information about CBWFQ, see Chapter 12, Sharing Bandwidth Fairly During Congestion. 20-2

3 Chapter 20 MPLS QoS MPLS Tunneling Modes MPLS QoS provides QoS on MPLS packets using the following tunnel modes: Uniform Provides uniformity in per-hop behavior (PHB) throughout the network. In this mode, all customers of your MPLS network use the same precedence settings. Short Pipe (Default) Provides for a distinct MPLS PHB layer (on top of the IP PHB layer) across the entire MPLS network. In this mode, your customers implement their own IP PHB marking scheme. Pipe Similar to short pipe mode, except that at the egress of the provider edge (PE) router the MPLS PHB layer is used to classify the packet for discard and scheduling behavior at the outbound interface. In this mode, you schedule and discard packets without needing to know your customer setting. Figure 20-1 shows a service provider MPLS network that connects two sites of a customer s network. To use these features in a network, set the MPLS experimental field value at PE1 (the ingress label switching router) by using the modular QoS CLI. This sets the QoS value in the MPLS packet. Figure 20-1 MPLS Network Connecting Two Sites of a Customer's IP Network IP network MPLS network MPLS network IP network Host A CE1 PE1 P1 P2 PE2 CE2 Host B Owned by service provider Short pipe tunnel mode discards the MPLS EXP value on label disposition. To enable MPLS EXP-based classification after label disposition, you can map the EXP values to the qos-group values at the inbound interface and use qos-group to classify packets into different classes at the outbound interface. However, Weighted Random Early Detection (WRED) on the outbound interface is still based on the IP type of service (ToS) value rather than the disposed EXP value. The Cisco series router does not support the propagate-cos command to enable uniform mode. The router does not copy the MPLS EXP values on disposition to the packet s IP header, unless you map the EXP value to a qos-group value at the inbound interface and use the qos-group value to set the IP ToS value on the outbound interface. 20-3

4 MPLS QoS Chapter 20 How QoS Works for MPLS Traffic The Cisco series router bypasses the IP header-based classification for MPLS packets you cannot classify MPLS packets into distinct classes using the embedded IP header of the MPLS packet. The router classifies MPLS packets as belonging to the class-default class, except if you specify qos-group or input-interface match statements for traffic classes. Normal QoS processing applies to incoming IP packets that the router later tags. Normal QoS processing resumes for outgoing IP packets that arrived tagged. Precedence-based Weighted Random Early Detection (WRED) uses the MPLS experimental (EXP) value for MPLS packets. Upon MPLS imposition, by default the router sets the EXP values of all pushed labels to the packet s IP precedence value. Upon label swap, the new label carries the EXP value of the swapped label. A set or police command directive might modify the default EXP setting. MPLS QoS and Packet Priority During Congestion The router classifies packets based on the classification and marking criteria you define, such as a source address, destination address, port, protocol identification, or class of service field. The packets classification in turn determines each packet s priority and how the router treats the packet during periods of congestion (for example, forward or drop the packet). For example, service level agreements (SLAs), contracted between providers and their customers, specify how much traffic the service provider agrees to deliver. Packets that comply with the agreed-upon rate are considered in-rate and packets that do not comply are considered out-of-rate. During congestion, the router gives preferential treatment to in-rate packets and might aggressively drop out-of-rate packets. Interfaces Supporting MPLS QoS The following describes interface support for MPLS QoS: The router supports the match mpls experimental topmost command on both input and output interfaces on which MPLS is enabled. The set mpls experimental imposition command and the set mpls experimental command are supported on the provider edge (PE) router input interface connecting to customer edge (CE) router. You can also use these commands on input interfaces on the CE, in pipe mode of MPLS QoS DiffServ tunneling models. Note The set mpls experimental imposition command replaces the set mpls experimental command, which the router supports only for backward compatibility. We recommend that you use the set mpls experimental imposition command. The set-mpls-exp-imposition-transmit action of the police command is only supported on the PE input interface that is connected to the CE. The mpls ip encapsulate explicit-null command is supported on the CE router interface that is connected to the PE. This command is only used in pipe mode of MPLS QoS DiffServ tunneling models. 20-4

5 Chapter 20 MPLS QoS MPLS QoS Implementation When precedence-based weighted random early detection (WRED) is configured on an output policy map and outgoing packets are MPLS packets, the router drops the MPLS packets based on the three EXP bits in the MPLS label, instead of using the three bits of the IP precedence field in the underlying IP packets. When DSCP-based WRED is configured on an output policy map and outgoing packets are MPLS packets, the router drops the MPLS packets based on the three EXP bits in the MPLS label, instead of using the six bits of the DSCP field in the underlying IP packets. The router left shifts the three EXP bits and makes it six bits. For example, if the value of the EXP bits is 5 (binary 101), the router converts them to binary (makes it looks like six DSCP bits), and drops packets based on this value. When configuring the set and police commands in a traffic class, regardless of whether it is an input or output policy map, the police command is processed later than the set command. This means that the values implemented by the police command override the values set by the set command. The value can be IP precedence, DSCP, qos-group, MPLS experimental imposition, discard-class, or ATM CLP bit. Discard-class is a number between 0 and 7; qos-group is a number between 0 and 63. Restrictions and Limitations for MPLS QoS The router does not support the set mpls experimental imposition topmost command. Configuring MPLS QoS on the Ingress Label Switching Router A label switching router (LSR) is an ingress provider edge (PE) router, a provider (P) router, or a penultimate-hop provider router. Setting the MPLS EXP field is only valid for packets that arrive on a non-mpls interface of the LSR and leave on an MPLS interface. Therefore, only input service policies can cause the MPLS EXP bits to be set when the packet goes out an MPLS interface. If the packet arrives on an MPLS interface, setting the MPLS EXP field has no affect. The IP header of an outbound IP packet determines the packet s QoS. For general information, see the Cisco IOS Quality of Service Solutions Configuration Guide. The MPLS EXP field in the topmost label of an outbound MPLS packet determines the packet s QoS. For general information, see the MPLS Class of Service manual. To configure MPLS QoS on the ingress LSR, perform the following configuration tasks to configure the ingress label switching router: Classifying IP Packets Using a Class Map, page 20-6 Setting the MPLS EXP Field Using a Policy Map, page 20-7 Attaching an MPLS QoS Service Policy to an Interface, page

6 MPLS QoS Chapter 20 Classifying IP Packets Using a Class Map To classify IP packets using a class map, enter the following commands on the ingress LSR beginning in global configuration mode: Command Purpose Step 1 Router(config)# class-map class-map-name Creates or modifies a class map. class-map-name is the name of the class map. Step 2 Router(config-cmap)# match mpls experimental topmost value Configuration Example for Classifying IP Packets Using a Class Map The following example creates a class map named exp4 with MPLS EXP 4 defined as the match criterion. The router classifies all packets whose EXP bits are set to 4 as belonging to the exp4 traffic class. Router(config)# class-map match-all exp4 Router(config-cmap)# match mpls experimental topmost 4 Router(config-cmap)# end The following example creates a class map named IP_prec4 with IP precedence 4 defined as the match criterion. The router classifies all packets that contain IP precedence 4 as belonging to the IP_prec4 traffic class. Router(config)# class-map match-all IP_prec4 Router(config-cmap)# match ip precedence 4 Router(config-cmap)# end The following example creates a class map named http with the access control list (ACL) named http defined as the match criterion. The router classifies all packets that match the http ACL as belonging to the http traffic class. Router(config)# class-map match-all http Router(config-cmap)# match access-group name http Router(config-cmap)# end (Optional) Specifies the MPLS EXP bits value used to classify traffic. Note You can configure MPLS EXP-based classification on the ingress provider edge (PE), egress PE, provider (P), or penultimate P router. This command is available only on the PRE2. Step 3 Router(config-cmap)# match criteria Defines criteria by which the router matches packets to this traffic class. criteria is the match type (for example, precedence or DSCP level) For more information about match types, see the Defining Match Criteria Using the match Commands section on page

7 Chapter 20 MPLS QoS The following example creates a class map named af41 with DSCP AF41 defined as the match criterion. The router classifies all packets that contain the IP DSCP binary value as belonging to the af41 traffic class. Router(config)# class-map match-all af41 Router(config-cmap)# match ip dscp af41 Router(config-cmap)# end Setting the MPLS EXP Field Using a Policy Map To set the MPLS EXP field of packets belonging to a specific traffic class, enter the following commands beginning in global configuration mode: Note Even though the commands in Steps 3 through 6 are optional, you must configure one of the commands to set the MPLS EXP field. The router sets the EXP bits when the packet leaves the router using an MPLS interface. If the packet arrives on an MPLS interface, the router does not set the EXP bits. You can only set the EXP bits of packets that arrive on a non-mpls interface and leave on an MPLS interface. Command Purpose Step 1 Router(config)# policy-map policy-map-name Creates or modifies a policy map that specifies the QoS actions to take on specific traffic classes. policy-map-name is the name of the policy map. Step 2 Router(config-pmap)# class class-map-name Assigns a traffic class to a policy map. Enters policy-map class configuration mode. class-map-name is the name of a previously configured class map. Step 3 Step 4 Step 5 Step 6 Router(config-pmap-c)# police [cir] bps [bc] burst-normal [be] burst-excess [conform-action set-mpls-exp-imposition-transmit] [exceed-action action] [violate-action action] Router(config-pmap-c)# police {cir cir} [bc] burst-normal [pir pir] [be] peak-burst [conform-action set-mpls-exp-imposition-transmit] [exceed-action action] [violate-action action] police [cir] percent percent [bc] normal-burst-in-msec [pir pir] [be] excess-burst-in-msec [conform-action set-mpls-exp-imposition-transmit] [exceed-action action] [violate-action action] Router(config-pmap-c)# set mpls experimental imposition mpls-exp-value (Optional) Configures traffic policing based on bits per second and sets the MPLS EXP field for all packets that conform to the rate. For more information, see Chapter 6, Policing Traffic. (Optional) Configures traffic policing using the committed information rate (CIR) and the peak information rate (PIR) and sets the MPLS EXP field for all packets that conform to the rate. For more information, see Chapter 6, Policing Traffic. (Optional) Configures traffic policing on the basis of a percentage of bandwidth available on an interface and sets the MPLS EXP field for all packets that conform to the rate. For more information, see Chapter 6, Policing Traffic. (Optional) Sets the MPLS EXP bits of the packets belonging to this traffic class. mpls-exp-value specifies the value used to set the MPLS EXP bits. Valid values are from 0 to

8 MPLS QoS Chapter 20 For more information about other QoS actions you can define in the policy map, see the Types of QoS Actions section on page 3-4. Configuration Example for Setting the MPLS EXP Field Using a Policy Map The following example shows how to set the MPLS EXP field using the set mpls experimental imposition command. The sample configuration creates a policy map named set_experimental_5 and defines the traffic class named IP_prec4. The router sets the MPLS EXP bits to 5 for all of the packets belonging to the IP_prec4 class. Router(config)# policy-map set_experimental_5 Router(config-pmap)# class IP_prec4 Router(config-pmap-c)# set mpls experimental imposition 5 Router(config-pmap-c)# end Attaching an MPLS QoS Service Policy to an Interface An MPLS QoS service policy is a policy map that sets the MPLS EXP field of packets belonging to a specific traffic class. To attach an MPLS QoS service policy to an interface, enter the following commands beginning in global configuration mode: Command Purpose Step 1 Router(config)# interface type number Creates or modifies an interface. Enters interface configuration mode. type is the type of interface (for example, serial). number is the number of the interface (for example, 1/0/0). Step 2 Router(config-if)# service-policy input policy-map-name Configuration Example for Attaching an MPLS QoS Service Policy to an Interface Attaches the specified policy map to the input interface. policy-map-name is the name of the policy map you want to attach to the interface. The following example applies the MPLS QoS service policy named set_experimental_5 to the Gigabit Ethernet interface 1/0/0 for inbound packets. Router(config)# interface GigabitEthernet1/0/0 Router(config-if)# service-policy input set_experimental_5 Router(config-if)# end Configuration Examples for MPLS QoS This section provides example configurations for the following: Configuration Example for Short Pipe Mode, page 20-9 Configuration Example for Pipe Mode, page

9 Chapter 20 MPLS QoS Configuration Example for Short Pipe Mode The following example shows how to configure short pipe mode on the ingress PE router for the following sample topology. In this topology, esr5 is the CE router, esr6 is the PE router, esr4 is the P router. Customer router/switch---(gig4/0/0) esr5 (gig3/0/0.2)---(gig3/0/0.2) esr6 (pos4/0/0) (pos4/0/0) esr4 (gig5/0/0)---pe router Esr6 (ingress PE router): policy-map set-exp class http police conform-action set-mpls-exp-imposition-transmit 1 exceed-action set-mpls-exp-imposition-transmit 0 violate-action drop class telnet set mpls experimental imposition 5 set ip precedence 2 class rtp set mpls experimental 3 set dscp cs4 class tftp set mpls experimental 2 class dscp32 set mpls experimental imposition 5 class prec6 set mpls experimental imposition 6! policy-map wred class exp0 bandwidth percent 10 bandwidth remaining percent 12 random-detect precedence-based random-detect precedence shape class exp1 bandwidth percent 10 bandwidth remaining percent 12 random-detect precedence-based random-detect precedence random-detect precedence random-detect precedence random-detect precedence shape class exp2 bandwidth percent 10 random-detect dscp-based random-detect dscp shape class exp3 bandwidth remaining percent 12 random-detect precedence-based random-detect precedence random-detect precedence random-detect precedence random-detect precedence shape class exp4 bandwidth remaining percent 12 random-detect precedence-based random-detect precedence random-detect precedence random-detect precedence

10 MPLS QoS Chapter 20 random-detect precedence shape class exp5 bandwidth percent 10 bandwidth remaining percent 12 random-detect precedence-based random-detect precedence shape class exp6 bandwidth percent 10 bandwidth remaining percent 12 random-detect precedence-based random-detect precedence shape class exp7 bandwidth percent 10vbandwidth remaining percent 12 random-detect precedence-based random-detect precedence shape class class-default! interface GigabitEthernet3/0/0.2 encapsulation dot1q 2 ip vrf on forwarding vrf_2 ip address service-policy input set-exp!! interface POS4/0/0 ip address load-interval 30 tag-switching ip crc 32 clock source internal service-policy output wred Configuration Example for Pipe Mode The following example shows how to configure pipe mode on the CE and PE routers in the following sample topology. In this topology, esr5 is the CE router, esr6 is the PE router, esr4 is the P router. Customer router/switch---(gig4/0/0) esr5 (gig3/0/0.2)---(gig3/0/0.2) esr6 (pos4/0/0) (pos4/0/0) esr4 (gig5/0/0)---pe router Configuration for esr5 (CE router): class-map match-all prec0 match ip precedence 0 class-map match-all prec1 match ip precedence 1 class-map match-all prec2 match ip precedence 2 class-map match-all prec3 match ip precedence 3 class-map match-all prec4 match ip precedence 4 class-map match-all prec5 match ip precedence 5 class-map match-all prec6 match ip precedence 6 class-map match-all prec7 match ip precedence 7! 20-10

11 Chapter 20 MPLS QoS policy-map prec2exp class prec0 set mpls experimental imposition 1 class prec1 set mpls experimental imposition 2 class prec2 set mpls experimental imposition 3 class prec3 set mpls experimental imposition 4 class prec4 set mpls experimental imposition 5 class prec5 set mpls experimental imposition 6 class prec6 set mpls experimental imposition 7 class prec7 set mpls experimental imposition 0!! interface GigabitEthernet4/0/0 ip address service-policy input prec2exp load-interval 30 no negotiation auto no keepalive! interface GigabitEthernet3/0/0.2 encapsulation dot1q 2 ip address mpls ip encapsulate explicit-null Configuration for esr6 (ingress PE router): class-map match-all exp4 match mpls experimental topmost 4 class-map match-all exp5 match mpls experimental topmost 5 class-map match-all exp7 match mpls experimental topmost 7 class-map match-all exp6 match mpls experimental topmost 6 class-map match-all exp1 match mpls experimental topmost 1 class-map match-all exp0 match mpls experimental topmost 0 class-map match-all exp3 match mpls experimental topmost 3 class-map match-all exp2 match mpls experimental topmost 2! policy-map exp2exp class exp0 set mpls experimental imposition 1 class exp1 set mpls experimental imposition 2 class exp2 set mpls experimental imposition 3 class exp3 set mpls experimental imposition 4 class exp4 set mpls experimental imposition 5 class exp5 set mpls experimental imposition 6 class exp

12 MPLS CoS Multi-VC Mode Chapter 20 set mpls experimental imposition 7 class exp7 set mpls experimental imposition 0! interface GigabitEthernet3/0/0.2 encapsulation dot1q 2 ip vrf forwarding vrf_2 ip address service-policy input exp2exp tag-switching ip MPLS CoS Multi-VC Mode The Multiprotocol Label Switching Class of Service (MPLS CoS) Multi-Virtual Circuit (VC) Mode feature on the Cisco router provides multi-vc support on the performance routing engine (part number PRE1) and extends QoS functionality to Label-Controlled Asynchronous Transfer Mode (LC-ATM) and multi-vc subinterfaces in a service provider MPLS-enabled network. Such a network incorporates ATM interfaces on the edge of the network, as well as ATM interfaces within the core of the network. The MPLS CoS Multi-VC Mode feature enables you to map the experimental (EXP) field values of an MPLS label to an ATM VC to create sets of labeled virtual circuits (LVCs). Each set, called an LVC Service Group, consists of multiple LVCs and each LVC is treated as a member of the set. All members of a set are associated with a label-switched path (LSP) that is set up between a pair of ATM-connected routers in the user s networking environment. Each member of the set may have a different quality of service from other members of the set. By using multi-vc sets, you can provide differentiated services to users of MPLS-enabled service provider networks. To provide this service differentiation, the provider edge (PE) router in the service provider network sets an appropriate value in the EXP field in the header of each incoming packet as it is received. A standard IP access list (ACL) together with a class of service (CoS) map and a prefix map are used to specify the number of classes (and LVCs) per IP destination. For information on a CoS map, see the Class of Service Map section on page Each MPLS-enabled ATM interface in the service provider network, including each ATM edge interface and each ATM router or switch interface within the core of the network, provides QoS support in a manner similar to that provided for IP packet interfaces. IP packets transiting the service provider s MPLS-enabled network are treated with the same priorities as afforded ATM traffic. Accordingly, MPLS CoS multi-vc functionality is virtually indistinguishable from the QoS support provided for IP packet interfaces. For more information, see the MPLS QoS Multi-VC Mode for PA-A3, Release 12.2(2)T feature module. Feature History for MPLS CoS Multi-VC Mode Cisco IOS Release Description Required PRE Release 12.0(27)S This feature was introduced on the router. PRE1 Release 12.2(16)BX This feature was introduced on the PRE2. PRE2 Release 12.2(28)SB This feature was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. PRE

13 Chapter 20 MPLS CoS Multi-VC Mode Label Switched Paths IP packets travel through the core of an MPLS-enabled service provider network by means of multiple, label-switched paths (LSPs). In ATM networks, label virtual circuits (LVCs) are automatically established for each IP destination prefix. A standard IP access list (ACL) together with a class of service (CoS) map and a prefix map are used to specify the number of classes (and LVCs) per IP destination. For information on a CoS map, see the Class of Service Map section on page If there are multiple equal-cost paths through an ATM network from a P router within the core of the network to a destination, it is possible that each LVC relating to the same destination could take a different path through the network, since each LVC could be set up along an alternate equal-cost path. For example, if four equal-cost paths exist through the network, the first LVC would be set up along the first path, the second LVC would be set up along the second path, and so on. There is no guarantee, however, that each LVC would be set up along a parallel path in the network, nor is there any requirement that each LVC be set up in such a manner. If there are multiple equal-cost paths through an ATM network from a PE router on the edge of the network to a destination, LVCs are established for all configured classes of service for each of the equal-cost paths. The configured load-balancing mechanism determines path selection for data forwarding. Class of Service Map A class of service (CoS) map is a template that maps EXP values to a VC number within an LVC service group. The Cisco IOS software uses the CoS map to create a binding table that maps EXP values to the actual VCs. Each LVC has a CoS map and a separate binding table. You can specify a maximum of four LVCs for each service group. Table 1 shows the default CoS map. Based on this map, the binding table will have four VCs named available, standard, premium, and control. The two least significant bits of the EXP field determine the LVC to which the IP packets will be directed. Table 1 Default CoS Map EXP Values VC Number VC Name 0, 4 0 Available 1, 5 1 Standard 2, 6 2 Premium 3, 7 3 Control You can configure a CoS map to limit the number of LVCs created and to redefine the mapping of the EXP bits. Table 2 shows a configured CoS map. Based on this map, the binding table will have two VCs named available and premium

14 MPLS CoS Multi-VC Mode Chapter 20 Table 2 Configured CoS Map EXP Values VC Number VC Name 0, 4 0 Available 1, 5 0 Available 2, 6 2 Premium 3, 7 2 Premium QoS for Label-Controlled ATM VCs Default Bandwidth for LVCs The router dynamically creates label-controlled ATM virtual circuits (LC-ATM VCs), also referred to as LVCs. In Cisco IOS Release 12.0(28)S and later releases, the implementation of LC-ATM interfaces is expanded to provide QoS capability for LVCs. The router treats LVCs like unspecified bit rate (UBR) permanent virtual circuits (PVCs). By default, the LVCs share the bandwidth on an ATM interface with UBR PVCs. You can configure the bandwidth on the LC-ATM subinterface using a nested policy map. For more information, see the Allocating LVC Bandwidth Using Policy Maps section on page The default bandwidth is the bandwidth an LC-ATM interface will have when it first becomes active. LVCs and UBR PVCs share all available bandwidth. Allocating LVC Bandwidth Using Policy Maps The router allows you to configure bandwidth for an LC-ATM subinterface. Because the router does not support a default bandwidth for LVCs, you must use a nested policy map to configure the bandwidth. The router does not allow non-nested policy maps to be attached to an LC-ATM subinterface. The nested policy map provides the bandwidth. The router treats the configured bandwidth like the SCR of the VBR PVCs, in that all LVCs on a specific LC-ATM subinterface use the aggregate bandwidth specified in the nested policy map. The available bandwidth for UBR PVCs is then reduced by the configured bandwidth amount. MPLS QoS Support in an MPLS Network MPLS QoS provides IOS IP QoS (Layer 3) functionality for MPLS devices, including label edge routers (LERs), label switching routers (LSRs), and Asynchronous Transfer Mode LSRs (ATM-LSRs). You can use MPLS QoS in an MPLS-enabled networking environment in several different ways. The method you choose depends on whether the core of the network contains LSRs or ATM label switching routers (ATM-LSRs). In either case, the same QoS services are provided, such as CAR, weighted random early detection (WRED), class-based weighted fair queueing (CBWFQ). For information about how you can deploy LSRs and ATM-LSRs to take advantage of QoS functions in an MPLS network, refer to the MPLS QoS Multi-VC Mode for PA-A3, Release 12.2(2)T feature module

15 Chapter 20 MPLS CoS Multi-VC Mode Benefits of MPLS CoS Multi-VC Mode The MPLS CoS Multi-VC Mode feature has the following benefits: Ensures effective deployment of differentiated service classes in an MPLS-enabled ATM network Leverages the use of existing ATM infrastructures Restrictions for MPLS CoS Multi-VC Mode The MPLS CoS Multi-VC Mode feature has the following restrictions: A multi-vc service group can have up to four LVCs. The Cisco series router supports a maximum of 500 LVC service groups. The Cisco series router does not support available bit rate (ABR) for ATM VCs. Therefore, the router also does not support ABR LVCs. All LVCs and the control-vc share the same QoS policy. Any QoS policy changes are applied to the subinterface. All LVCs will then automatically share the new policy. Prerequisites for MPLS CoS Multi-VC Mode The MPLS CoS Multi-VC Mode feature has the following requirements: The Cisco series router must be running Cisco IOS Release 12.0(27)S or later releases. The performance routing engine (PRE), part number PRE1 must be installed in the router s chassis. To use MPLS QoS to full advantage in your network, the following functionality must be supported: Multiprotocol Label Switching (MPLS) The standardized label switching protocol defined by the Internet Engineering Task Force (IETF). Cisco Express Forwarding (CEF) An advanced Layer 3 IP switching technology that optimizes performance and scalability in networks that handle large volumes of traffic and exhibit dynamic traffic patterns. Asynchronous Transfer Mode (ATM) International standard for cell relay in which multiple service types (such as voice, video, or data) are conveyed in fixed-length cells. ATM signaling is required if you use ATM interfaces in your network. The following QoS features are required: MPLS CoS Multi-VC Mode to provide QoS functionality on ATM interfaces in a service provider MPLS-enabled network. Class-based weighted fair queueing (CBWFQ) to allocate bandwidth fairly to all network traffic. Weighted random early detection (WRED) to configure different discard priorities or classes of service using the MPLS experimental field in the MPLS packet header

16 MPLS CoS Multi-VC Mode Chapter 20 Configuring MPLS CoS Multi-VC Mode To configure the MPLS CoS Multi-VC Mode feature on the Cisco router, perform the following required configuration tasks: Configuring Multi-VC Mode in the Core of an ATM Network, page Configuring Queueing Functions on Router Output Interfaces, page Configuring Multi-VC Mode in the Core of an ATM Network To configure multi-vc mode in the core of an ATM network, perform the following required configuration tasks: Configuring Multi-VC Mode Using the Default CoS Map, page Configuring Multi-VCs Using a Specific CoS Map, page Configuring Multi-VC Mode Using the Default CoS Map To configure multi-vc mode in an MPLS-enabled network using the default CoS map, enter the following commands beginning in global configuration mode: Step 1 Step 2 Command Router(config)# interface atm number [slot/module/port.subinterface-number] mpls Router(config-if)# ip unnumbered type number Purpose Configures an ATM MPLS interface or subinterface and enters interface or subinterface configuration mode. Enables IP processing on the interface without assigning an explicit IP address to the interface. Step 3 Router(config-if)# mpls atm multi-vc Enables ATM multi-vc mode on the interface. Configures the ATM interface to create one or more label virtual circuits (VCs) over which packets of different classes are sent. Note This command results in the creation of the default CoS map shown in Table 1 on page Step 4 Router(config-if)# mpls ip Enables MPLS forwarding of IP version 4 (IPv4) packets along normally routed paths. Step 5 Router(config-if)# mpls label protocol {ldp tdp both} Specifies the label distribution protocol to be used on the interface

17 Chapter 20 MPLS CoS Multi-VC Mode Configuring Multi-VCs Using a Specific CoS Map To configure multi-vcs using a CoS map that you specify, enter the following commands beginning in global configuration mode: Step 1 Command Router(config)# mpls cos-map cos-map number Configuring Queueing Functions on Router Output Interfaces Purpose Creates a class of service (CoS) map that specifies how classes map to label virtual circuits (LVCs) when they are combined with a prefix map. Enters cos-map configuration submode. Step 2 Router(config-tag-cos-map)# class class [available standard premium control] Maps traffic classes to LVCs. class is the precedence of identified traffic to classify traffic. The default values for assigning traffic classes to the CoS map range from 0 to 3: Class 0 Available Class 1 Standard Class 2 Premium Class 3 Control The two least significant bits of the EXP field in the packet header determine the class of a packet. Step 3 Router(config-tag-cos-map)# exit Exits the cos-map configuration submode. Step 4 Step 5 Router(config)# access-list access-list-number permit destination Router(config)# mpls prefix-map prefix-map access-list access-list cos-map cos-map Creates an access list to control traffic going to the specified destination address. Configures the router to use a specified QoS map when an MPLS destination prefix matches the specified access list. To configure queuing functions on the router s output interfaces, see Chapter 3, Configuring QoS Policy Actions and Rules

18 MPLS Traffic Engineering DiffServ Aware Chapter 20 Monitoring and Maintaining MPLS CoS Multi-VC Mode Configuration To monitor and maintain the configuration of MPLS CoS Multi-VC Mode on ATM interfaces, enter any of the following commands in privileged EXEC mode: Command Router# show mpls interfaces [interface] [detail] Router# show mpls cos-map [cos-map] Router# show mpls prefix-map [prefix-map] Router# debug mpls atm-cos [bind request] Purpose Displays information about one or more interfaces that have been configured for label switching. If you do not specify an interface, information about all interfaces that have been configured for label switching displays. detail displays detailed label switching information for the specified interface or for all interfaces if you do not specify an interface. Displays the quality of service (QoS) map used to assign a quantity of label virtual circuits and the associated class of service (CoS) for those virtual circuits. cos-map is an optional number that specifies the QoS map to be displayed. Displays the prefix map used to assign a QoS map to network prefixes that match a standard IP access list. prefix-map is an optional number that specifies the prefix map to be displayed. Displays ATM label VC bind or request activity that is based on the configuration of a QoS map. Configuration Examples for MPLS CoS Multi-VC Mode For an example of how to configure MPLS CoS multi-vc mode functionality, see the Configuration Examples section in the MPLS QoS Multi-VC Mode for PA-A3, Release 12.2(4)T3 feature module. MPLS Traffic Engineering DiffServ Aware The MPLS Traffic Engineering DiffServ Aware (DS-TE) feature extends MPLS traffic engineering capabilities to provide stricter quality of service (QoS) guarantees. TE tunnels provide differentiated services (DiffServ) to satisfy bandwidth requirements of regular traffic. However, the bandwidth currently advertised for TE tunnels and the tunnel traffic does not correspond to any queue. Instead, the MPLS class of service (CoS) provides DiffServ service, which is adequate for most customer services. Special services such as voice, however, require stricter QoS guarantees. The DS-TE feature addresses this need, providing strict bandwidth guarantees for TE tunnels. The DS-TE feature introduces awareness of a particular class of traffic referred to as the guaranteed bandwidth traffic. DS-TE enables you, as service providers, to perform separate admission control and separate route computation of the guaranteed bandwidth traffic. Therefore, you can develop QoS services for end customers that rely on signaled QoS rather than provisioned QoS, which enables you to build QoS services with hard commitments and without overprovisioning

19 Chapter 20 MPLS Traffic Engineering DiffServ Aware MPLS traffic engineering allows constraint-based routing of IP traffic. One of the constraints satisfied by constraint-based routing is the availability of required bandwidth over a selected path. DS-TE extends MPLS TE so that constraint-based routing and admission control of special TE tunnels (referred to as guaranteed bandwidth TE tunnels) are performed over a more restrictive bandwidth constraint than regular TE tunnels. A more restrictive bandwidth constraint enables you to achieve higher QoS performance (in terms of delay, jitter, or loss) for the guaranteed traffic. The more restrictive bandwidth is referred to as a sub-pool, while the regular TE tunnel bandwidth is called the global pool. The sub-pool is a portion of the global pool and applies to tunnels that carry traffic requiring strict bandwidth guarantees or delay guarantees. The global pool applies to tunnels that carry traffic requiring only differentiated service. Having a separate pool for traffic requiring strict guarantees allows you to limit the amount of such traffic admitted on any given link. Often, it is possible to achieve strict QoS guarantees only if the amount of guaranteed traffic is limited to a portion of the total link bandwidth. Having a separate pool for other traffic (best-effort or DiffServ traffic) allows you to have a separate limit for the amount of such traffic admitted on any given link. This is useful because it allows you to fill up links with best-effort and DiffServ traffic, thereby achieving a greater utilization of those links. The DS-TE feature also extends the Open Shortest Path First (OSPF) routing protocol so that the available sub-pool bandwidth at each preemption level is advertised in addition to the available global pool bandwidth at each preemption level. The DS-TE feature also modifies constraint-based routing to take this more complex advertised information into account during path computation. For more information, see the MPLS Traffic Engineering DiffServ Aware, Release 12.2(14)S feature module. Feature History for MPLS TE DS Cisco IOS Release Description Required PRE Release 12.3(7)XI The MPLS Traffic Engineering DiffServ Aware (DS-TE) PRE2 feature was introduced on the PRE2. Release 12.2(28)SB This feature was integrated in Cisco IOS Release 12.2(28)SB for the PRE2. PRE2 Sub-pool Tunnels A sub-pool tunnel carries traffic that requires strict bandwidth guarantees or delay guarantees, such as real-time voice, virtual IP leased line, and bandwidth trading traffic. As traffic enters the sub-pool tunnel, DS-TE marks the traffic with a unique value in the MPLS EXP field. The router places traffic with this unique value in the guaranteed bandwidth queue at the outbound interface of every tunnel hop. The strict guaranteed traffic has exclusive use of the guaranteed bandwidth queue; no other traffic can use this queue. DS-TE ensures that the guaranteed bandwidth queue is never oversubscribed and limits the amount of traffic that enters the queue to a percentage of the total bandwidth of the corresponding outbound link. Therefore, the amount of traffic sent into the sub-pool is never more than the amount the guaranteed bandwidth queue can handle

20 MPLS Traffic Engineering DiffServ Aware Chapter 20 Global Pool Tunnels A tunnel that uses global pool bandwidth carries the best-effort class of traffic as well as other classes of traffic. To ensure that traffic from each class receives differentiated services (DiffServ), each traffic class has a distinct DiffServ queue and the router marks each class of traffic with a unique value in the MPLS EXP field. The router places traffic in the appropriate queue based on this unique value. The router sets tunnel bandwidth based on the expected aggregate traffic across all classes of service. Prerequisites for DS-TE To run DS-TE your network must support the following Cisco IOS features: Multiprotocol Label Switching (MPLS) IP Cisco Express Forwarding (CEF) Open Shortest Path First (OSPF) or Intermediate System to Intermediate System (IS-IS) routing protocols Resource Reservation Protocol-Traffic Engineering (RSVP-TE) QoS Note IP CEF is enabled by default on the Cisco series router and it cannot be turned off. If you attempt to disable IP CEF, an error appears. Restrictions and Limitations for DS-TE The total number of TE tunnels (regular TE tunnels and DS-TE tunnels) that can originate on a device is limited to 1013 tunnels. Configuring DS-TE To configure DS-TE, perform the following required configuration tasks: Activating Traffic Engineering on the Router, page Activating Traffic Engineering on the Interface, page Configuring the Tunnel Interface, page Configuring Guaranteed Bandwidth Service, page

21 Chapter 20 MPLS Traffic Engineering DiffServ Aware Activating Traffic Engineering on the Router To globally activate traffic engineering on the router, enter the following commands beginning in global configuration mode: Command Purpose Step 1 Router(config)# mpls traffic-eng tunnels Enables MPLS traffic engineering tunnel signaling on the router. Step 2 Router(config)# router ospf Invokes the OSPF routing process for IP and enters router configuration mode. Continue with Step 9. Step 3 or Router(config)# router isis Router(config-router)# network network-entity-title Step 4 Router(config-router)# metric-style wide [transition] [{level-1 level-2 level-1-2}] Step 5 Router(config-router)# is-type {level-1 level-1-2 level-2-only} Step 6 Router(config-router)# mpls traffic-eng {level-1 level-2} Invokes the IS-IS routing process and enters router configuration mode. Continue with Step 3. Specifies the IS-IS network entity title (NET) for the routing process. network-entity-title specifies the area address and the system ID for an IS-IS routing process. You can specify an address or a name for network-entity-title. Enables the router to generate and accept IS-IS only new-style type, length, and value (TLV) objects. Configures the IS-IS level at which the Cisco IOS software operates. When you specify level-1, the router acts as a station router and learns about destinations inside its area. For interarea routing information, the router depends on the closest level-1-2 (L1L2) router. When you specify level-1-2, the router acts as both a station router and an area router. The router has one link state database (LSDB) for destinations inside the area (L1 routing) and runs a shortest path first (SPF) calculation to discover the area topology. The router also has another LSDB with link state protocol (LSP) packets of all other backbone (L2) routers and runs another SPF calculation to discover the topology of the backbone, and the existence of all other areas. When you specify level-2-only, the router acts an area router only. This router is part of the backbone and does not talk to L1-only routers in its own area. Configures the router to flood MPLS traffic engineering link information into the IS-IS level you specify. The IS-IS level you specify must be the same level you specified in the preceding step

22 MPLS Traffic Engineering DiffServ Aware Chapter 20 Step 7 Step 8 Step 9 Command Router(config-router)# passive-interface type number Router(config-router)# mpls traffic-eng router-id interface-name Router(config-router)# mpls traffic-eng area num Purpose Disables the IS-IS routing protocol from sending routing updates on the interface you specify. IS-IS advertises the IP address of the interface without actually running IS-IS on that interface. For type number, specify the loopback0 interface. Note When you enable passive-interface on an interface, IS-IS continues to advertise the subnet to other interfaces and continues to receive and process updates on the interface from other routers. Specifies that the traffic engineering router identifier for the node is the IP address associated with a specific interface. interface-name specifies the IP address associated with the loopback0 interface. Note For IS-IS configurations, this completes the activation of TE on the router. Do not continue to Step 9. Turns on MPLS traffic engineering for a particular OSPF area. Note Enter this command for OSPF configurations only. Do not enter this command for IS-IS configurations. Configuration Example for Activating Traffic Engineering on the Router Example 20-1 configures the router for TE using the OSPF routing protocol. Example 20-1 Activating Traffic Engineering on the Router Router(config)# mpls traffic-eng tunnels Router(config)# router ospf 100 Router(config-router)# network area 0 Router(config-router)# network area 0 Router(config-router)# mpls traffic-eng area 0 Router(config-router)# mpls traffic-eng router-id loopback0 Router(config-router)# exit 20-22

23 Chapter 20 MPLS Traffic Engineering DiffServ Aware Activating Traffic Engineering on the Interface To activate traffic engineering on the physical interface, enter the following commands beginning in global configuration mode: Command Purpose Step 1 Router(config)# interface type number Configures an interface and enters interface configuration mode. type is the type of interface (for example, serial). number is the number of the interface (for example, 1/0/0). Step 2 Step 3 Router(config-if)# ip rsvp bandwidth interface-kbps [sub-pool kbps] Router(config-if)# mpls traffic-eng tunnels Configuration Example for Activating Traffic Engineering on the Interface Enables Resource Reservation Protocol (RSVP) for IP on an interface. interface-kbps specifies the amount of bandwidth (in kbps) on an interface to be reserved. Valid values are from 1 to 10,000,000. (Optional) sub-pool kbps is the amount of bandwidth (in kbps) on an interface to be reserved to a portion of the total. Valid values are from 1 to the value of interface-kbps. Note The sum of bandwidth used by all tunnels on this interface cannot exceed interface-kbps and the sum of bandwidth used by all sub-pool tunnels cannot exceed sub-pool kbps. Enables MPLS traffic engineering tunnel signaling on the interface. Step 4 Router(config-if)# ip router isis Enables the IS-IS routing protocol on the interface. Note Do not enter this command if you are configuring an OSPF configuration. Example 20-2 configures TE on a physical interface using the IS-IS routing protocol. Example 20-2 Activating Traffic Engineering on a Physical Interface with IS-IS Router(config-if)# ip address Router(config-if)# ip rsvp bandwidth sub-pool Router(config-if)# mpls traffic-eng tunnels Router(config-if)# ip router isis 20-23

Marking Traffic CHAPTER

Marking Traffic CHAPTER CHAPTER 7 To service the growing numbers of customers and their needs, service provider networks have become more complex and often include both Layer 2 and Layer 3 network devices. With this continued

More information

Defining QoS for Multiple Policy Levels

Defining QoS for Multiple Policy Levels CHAPTER 13 In releases prior to Cisco IOS Release 12.0(22)S, you can specify QoS behavior at only one level. For example, to shape two outbound queues of an interface, you must configure each queue separately,

More information

Sharing Bandwidth Fairly During Congestion

Sharing Bandwidth Fairly During Congestion CHAPTER 12 When no QoS policies exist, the router serves traffic with best effort service. The router makes no distinction between high and low priority traffic and makes no allowances for the needs of

More information

Applying QoS Features Using the MQC

Applying QoS Features Using the MQC QoS: Modular QoS Command-Line Interface Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 900 Series) First Published: November 30, 2012 Last Modified: March 31, 2014 This chapter discusses the Modular

More information

EVC Quality of Service

EVC Quality of Service This document contains information about how to enable quality of service (QoS) features (such as traffic classification and traffic policing) for use on an Ethernet virtual circuit (EVC). An EVC as defined

More information

Classifying and Marking MPLS EXP

Classifying and Marking MPLS EXP The QoS EXP Matching feature allows you to classify and mark network traffic by modifying the Multiprotocol Label Switching (MPLS) experimental bits (EXP) field in IP packets. This module contains conceptual

More information

Configuring QoS Policy Actions and Rules

Configuring QoS Policy Actions and Rules CHAPTER 3 The second step in creating a QoS service policy is to define how you want the router to handle the packets that match the classification rules you defined in Chapter 2, Classifying Traffic.

More information

Prioritizing Services

Prioritizing Services CHAPTER 8 Voice, video, and data applications have differing quality of service needs. Voice applications, for example, require a small but guaranteed amount of bandwidth, are less tolerant of packet delay

More information

EVC Quality of Service

EVC Quality of Service First Published: March 28, 2011 Last Updated: March 28, 2011 This document contains information about how to enable quality of service (QoS) features (such as traffic classification and traffic policing)

More information

Multiprotocol Label Switching Overview

Multiprotocol Label Switching Overview This chapter describes the Multiprotocol Label Switching (MPLS) distribution protocol. MPLS is a high-performance packet forwarding technology that integrates the performance and traffic management capabilities

More information

Configuring Quality of Service

Configuring Quality of Service CHAPTER 25 QoS refers to the ability of a network to provide improved service to selected network traffic over various underlying technologies including Frame Relay, ATM, Ethernet and 802.1 networks, SONET,

More information

Classifying Network Traffic

Classifying Network Traffic Classifying Network Traffic Last Updated: December 2, 2011 Classifying network traffic allows you to organize traffic (that is, packets) into traffic classes or categories on the basis of whether the traffic

More information

EVC Quality of Service

EVC Quality of Service EVC Quality of Service Finding Feature Information EVC Quality of Service Last Updated: June 07, 2011 This document contains information about how to enable quality of service (QoS) features (such as traffic

More information

Configuring Quality of Service

Configuring Quality of Service This chapter describes the Quality of Service and procedures to configure Quality of Service. Introduction to Quality of Service, page 1 CPT System QoS, page 4 Ingress QoS Functions, page 7 Egress QoS

More information

Marking Network Traffic

Marking Network Traffic Marking network traffic allows you to set or modify the attributes for traffic (that is, packets) belonging to a specific class or category. When used in conjunction with network traffic classification,

More information

Configuring Modular QoS Congestion Management on Cisco IOS XR Software

Configuring Modular QoS Congestion Management on Cisco IOS XR Software Configuring Modular QoS Congestion Management on Cisco IOS XR Software Congestion management controls congestion after it has occurred on a network. Congestion can be managed on Cisco IOS XR software by

More information

Marking Network Traffic

Marking Network Traffic Marking network traffic allows you to set or modify the attributes for traffic (that is, packets) belonging to a specific class or category. When used in conjunction with network traffic classification,

More information

ip rsvp reservation-host

ip rsvp reservation-host Quality of Service Commands ip rsvp reservation-host ip rsvp reservation-host To enable a router to simulate a host generating Resource Reservation Protocol (RSVP) RESV messages, use the ip rsvp reservation-host

More information

Configuring Modular Quality of Service Congestion Management on Cisco IOS XR Software

Configuring Modular Quality of Service Congestion Management on Cisco IOS XR Software Configuring Modular Quality of Service Congestion Management on Cisco IOS XR Software Congestion management controls congestion after it has occurred on a network. Congestion can be managed on Cisco IOS

More information

Distributing Bandwidth Between Queues

Distributing Bandwidth Between Queues CHAPTER 5 Developing a queuing strategy is an important step in optimizing network functionality and services. Equally important is ensuring that bandwidth is shared fairly among the competing traffic

More information

QoS: Per-Session Shaping and Queuing on LNS

QoS: Per-Session Shaping and Queuing on LNS QoS: Per-Session Shaping and Queuing on LNS First Published: February 28, 2006 The QoS: Per-Session Shaping and Queuing on LNS feature provides the ability to shape (for example, transmit or drop) or queue

More information

Multiprotocol Label Switching

Multiprotocol Label Switching This module describes and how to configure it on Cisco switches. Restrictions for, page 1 Information about, page 1 How to Configure, page 3 Verifying Configuration, page 6 Restrictions for (MPLS) fragmentation

More information

Ahmed Benallegue RMDCN workshop on the migration to IP/VPN 1/54

Ahmed Benallegue RMDCN workshop on the migration to IP/VPN 1/54 MPLS Technology Overview Ahmed Benallegue A.Benallegue@ecmwf.int RMDCN workshop on the migration to IP/VPN 1/54 Plan 1. MPLS basics 2. The MPLS approach 3. Label distribution RSVP-TE 4. Traffic Engineering

More information

Classifying Network Traffic

Classifying Network Traffic Classifying Network Traffic Last Updated: December 8, 2011 Classifying network traffic allows you to organize traffic (that is, packets) into traffic classes or categories on the basis of whether the traffic

More information

Multiprotocol Label Switching (MPLS) on Cisco Routers

Multiprotocol Label Switching (MPLS) on Cisco Routers Multiprotocol Label Switching (MPLS) on Cisco Routers This document describes commands for configuring and monitoring Multiprotocol Label Switching (MPLS) functionality on Cisco routers and switches. This

More information

QoS Tunnel Marking for GRE Tunnels

QoS Tunnel Marking for GRE Tunnels The feature introduces the capability to define and control the quality of service (QoS) for both incoming and outgoing customer traffic on the provider edge (PE) router in a service provider network.

More information

Configuring Multiprotocol Label Switching (MPLS)

Configuring Multiprotocol Label Switching (MPLS) Configuring Multiprotocol Label Switching (MPLS) Multiprotocol Label Switching, page 1 Finding Feature Information, page 1 Information about Multiprotocol Label Switching, page 1 How to Configure Multiprotocol

More information

QoS: Time-Based Thresholds for WRED and Queue Limit

QoS: Time-Based Thresholds for WRED and Queue Limit QoS: Time-Based Thresholds for WRED and Queue Limit The QoS: Time-Based Thresholds for WRED and Queue Limit feature allows you to specify the Weighted Random Early Detection (WRED) minimum and maximum

More information

Multiprotocol Label Switching (MPLS) on Cisco Routers

Multiprotocol Label Switching (MPLS) on Cisco Routers Multiprotocol Label Switching (MPLS) on Cisco Routers Feature History Release 11.1CT 12.1(3)T 12.1(5)T 12.0(14)ST 12.0(21)ST 12.0(22)S Modification The document introduced MPLS and was titled Tag Switching

More information

Configuring MPLS and EoMPLS

Configuring MPLS and EoMPLS 37 CHAPTER This chapter describes how to configure multiprotocol label switching (MPLS) and Ethernet over MPLS (EoMPLS) on the Catalyst 3750 Metro switch. MPLS is a packet-switching technology that integrates

More information

Quality of Service Configuration Guidelines for RSP3 Module

Quality of Service Configuration Guidelines for RSP3 Module Quality of Service Configuration Guidelines for RSP3 Module Quality of Service This document outlines Quality of Service features and limitations available on the Cisco RSP3 module and contains the following

More information

QoS: Match on ATM CLP

QoS: Match on ATM CLP QoS: Match on ATM CLP First Published: May 7, 2004 Last Updated: February 28, 2006 The QoS: Match on ATM CLP feature allows you to match and classify packets arriving at an interface on the basis of the

More information

To send a text message to all Quality Device Manager (QDM) clients, use the send qdm message command in EXEC mode.

To send a text message to all Quality Device Manager (QDM) clients, use the send qdm message command in EXEC mode. send qdm message send qdm message To send a text message to all Quality Device Manager (QDM) clients, use the send qdm message command in EXEC mode. send qdm [client client-id] message message-text Syntax

More information

Multiprotocol Label Switching (MPLS) on Cisco Routers

Multiprotocol Label Switching (MPLS) on Cisco Routers Multiprotocol Label Switching (MPLS) on Cisco Routers This document describes commands for configuring and monitoring Multiprotocol Label Switching (MPLS) functionality on Cisco routers and switches. This

More information

Quality of Service Commands match ip precedence. match ip precedence ip-precedence-value [ip-precedence-value ip-precedence-value

Quality of Service Commands match ip precedence. match ip precedence ip-precedence-value [ip-precedence-value ip-precedence-value match ip precedence match ip precedence To identify IP precedence values as match criteria, use the match ip precedence command in class-map configuration mode. To remove IP precedence values from a class

More information

Quality of Service. Understanding Quality of Service

Quality of Service. Understanding Quality of Service The following sections describe support for features on the Cisco ASR 920 Series Router. Understanding, page 1 Configuring, page 2 Global QoS Limitations, page 2 Classification, page 3 Marking, page 6

More information

RSVP Scalability Enhancements

RSVP Scalability Enhancements This document describes the Cisco Resource Reservation Protocol (RSVP) scalability enhancements. It identifies the supported platforms, provides configuration examples, and lists related IOS command line

More information

Quality of Service Commands

Quality of Service Commands Quality of Service Commands This module lists quality of service (QoS) commands in alphabetical order. To use commands of this module, you must be in a user group associated with a task group that includes

More information

Configuring QoS CHAPTER

Configuring QoS CHAPTER CHAPTER 34 This chapter describes how to use different methods to configure quality of service (QoS) on the Catalyst 3750 Metro switch. With QoS, you can provide preferential treatment to certain types

More information

Configuring Quality of Service

Configuring Quality of Service CHAPTER 14 This chapter describes the Quality of Service (QoS) features built into your ML-Series card and how to map QoS scheduling at both the system and interface levels. This chapter contains the following

More information

MPLS AToM Overview. Documentation Specifics. Feature Overview

MPLS AToM Overview. Documentation Specifics. Feature Overview MPLS AToM Overview This document provides an introduction to MPLS AToM and includes the following sections: Documentation Specifics, page 14 Feature Overview, page 14 Benefits, page 26 What To Do Next,

More information

MPLS Traffic Engineering DiffServ Aware (DS-TE)

MPLS Traffic Engineering DiffServ Aware (DS-TE) MPLS Traffic Engineering DiffServ Aware (DS-TE) This guide presents extensions made to Multiprotocol Label Switching Traffic Engineering (MPLS TE) that make it DiffServ aware. Specifically, the bandwidth

More information

Byte-Based Weighted Random Early Detection

Byte-Based Weighted Random Early Detection Byte-Based Weighted Random Early Detection First Published: August 26, 2003 Last Updated: February 28, 2006 This feature module explains how to enable byte-based Weighted Random Early Detection (WRED).

More information

Configuring Quality of Service

Configuring Quality of Service CHAPTER 13 This chapter describes the Quality of Service (QoS) features built into your ML-Series card and how to map QoS scheduling at both the system and interface levels. This chapter contains the following

More information

Configuring Quality of Service

Configuring Quality of Service CHAPTER 21 This chapter applies only to the ML-Series (ML100T-2, ML100X-8, and ML1000-2) cards. This chapter describes the quality of service (QoS) features built into your ML-Series card and how to map

More information

qos police order parent-first

qos police order parent-first qos police order parent-first qos police order parent-first To change the Quality of Service (QoS) policing action from child first, then parent (the default) to parent first, then child, use the qos police

More information

Multiprotocol Label Switching (MPLS)

Multiprotocol Label Switching (MPLS) 36 CHAPTER Prerequisites for MPLS, page 36-1 Restrictions for MPLS, page 36-1 Information About MPLS, page 36-2 Default Settings for MPLS, page 36-7 How to Configure MPLS Features, page 36-7 Configuration

More information

MPLS VPN--Inter-AS Option AB

MPLS VPN--Inter-AS Option AB The feature combines the best functionality of an Inter-AS Option (10) A and Inter-AS Option (10) B network to allow a Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) service provider

More information

Configuring CRS-1 Series Virtual Interfaces

Configuring CRS-1 Series Virtual Interfaces Configuring CRS-1 Series Virtual Interfaces A virtual interface is defined as representing a logical packet switching entity within the Cisco CRS-1 Series router. Virtual Interfaces have a global scope

More information

Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS

Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS CHAPTER 43 Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS This chapter describes how to configure multiprotocol label switching (MPLS) and Ethernet over MPLS (EoMPLS) on the Cisco ME 3800X and ME 3600X

More information

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model

Principles. IP QoS DiffServ. Agenda. Principles. L74 - IP QoS Differentiated Services Model. L74 - IP QoS Differentiated Services Model Principles IP QoS DiffServ Differentiated Services Architecture DSCP, CAR Integrated Services Model does not scale well flow based traffic overhead (RSVP messages) routers must maintain state information

More information

QoS: Color-Aware Policer

QoS: Color-Aware Policer QoS: Color-Aware Policer The QoS: Color-Aware Policer enables a color-aware method of traffic policing. This feature allows you to police traffic according to the color classification of a packet. The

More information

Packet Classification Using the Frame Relay DLCI Number

Packet Classification Using the Frame Relay DLCI Number Packet Classification Using the Frame Relay DLCI Number The Packet Classification Using the Frame Relay DLCI Number feature allows customers to match and classify traffic on the basis of one or more Frame

More information

mls qos (global configuration mode)

mls qos (global configuration mode) mls qos (global configuration mode) mls qos (global configuration mode) To enable the quality of service (QoS) functionality globally, use the mls qos command in global configuration mode. To disable the

More information

Set Inner CoS Bits for QinQ

Set Inner CoS Bits for QinQ Set Inner CoS Bits for QinQ First Published: September 2007 Revised: August 2008 This document describes the Set Inner CoS Bits for QinQ feature that allows you to mark both inner and outer VLAN tags of

More information

MPLS VPN Inter-AS Option AB

MPLS VPN Inter-AS Option AB First Published: December 17, 2007 Last Updated: September 21, 2011 The feature combines the best functionality of an Inter-AS Option (10) A and Inter-AS Option (10) B network to allow a Multiprotocol

More information

QoS Configuration. Overview. Introduction to QoS. QoS Policy. Class. Traffic behavior

QoS Configuration. Overview. Introduction to QoS. QoS Policy. Class. Traffic behavior Table of Contents QoS Configuration 1 Overview 1 Introduction to QoS 1 QoS Policy 1 Traffic Policing 2 Congestion Management 3 Line Rate 9 Configuring a QoS Policy 9 Configuration Task List 9 Configuring

More information

CBQ configuration example 7

CBQ configuration example 7 Contents QoS overview 1 Introduction to QoS 1 Networks without QoS guarantee 1 QoS requirements of new applications 1 Congestion: causes, impacts, and countermeasures 2 Causes 2 Impacts 2 Countermeasures

More information

IPv6 Switching: Provider Edge Router over MPLS

IPv6 Switching: Provider Edge Router over MPLS Multiprotocol Label Switching (MPLS) is deployed by many service providers in their IPv4 networks. Service providers want to introduce IPv6 services to their customers, but changes to their existing IPv4

More information

Per-Session QoS. Finding Feature Information

Per-Session QoS. Finding Feature Information The feature is one of two features bundled with the QoS: Broadband Aggregation Enhancements--Phase 1 feature. The feature provides the ability to apply quality of service (QoS) features (such as traffic

More information

Configuring priority marking 63 Priority marking overview 63 Configuring priority marking 63 Priority marking configuration example 64

Configuring priority marking 63 Priority marking overview 63 Configuring priority marking 63 Priority marking configuration example 64 Contents QoS overview 1 Introduction to QoS 1 QoS service models 1 Best-effort service model 1 IntServ model 1 DiffServ model 2 QoS techniques overview 2 Deploying QoS in a network 2 QoS processing flow

More information

Understanding How Routing Updates and Layer 2 Control Packets Are Queued on an Interface with a QoS Service Policy

Understanding How Routing Updates and Layer 2 Control Packets Are Queued on an Interface with a QoS Service Policy Understanding How Routing Updates and Layer 2 Control Packets Are Queued on an Interface with a QoS Service Policy Document ID: 18664 Contents Introduction Prerequisites Requirements Components Used Conventions

More information

Quality of Service Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9300 Switches)

Quality of Service Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9300 Switches) Quality of Service Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9300 Switches) First Published: 2017-07-31 Last Modified: 2017-11-03 Americas Headquarters Cisco Systems, Inc. 170 West Tasman

More information

WAN Edge MPLSoL2 Service

WAN Edge MPLSoL2 Service 4 CHAPTER While Layer 3 VPN services are becoming increasing popular as a primary connection for the WAN, there are a much larger percentage of customers still using Layer 2 services such Frame-Relay (FR).

More information

ATM PVC Bundle Enhancement MPLS EXP-Based PVC Selection

ATM PVC Bundle Enhancement MPLS EXP-Based PVC Selection ATM PVC Bundle Enhancement MPLS EXP-Based PVC Selection This document describes enhancements to the ATM virtual circuit (VC) bundle management feature, which allows you to configure multiple VCs that have

More information

IPv6 Switching: Provider Edge Router over MPLS

IPv6 Switching: Provider Edge Router over MPLS Multiprotocol Label Switching (MPLS) is deployed by many service providers in their IPv4 networks. Service providers want to introduce IPv6 services to their customers, but changes to their existing IPv4

More information

Configuring QoS CHAPTER

Configuring QoS CHAPTER CHAPTER 37 This chapter describes how to configure quality of service (QoS) by using automatic QoS (auto-qos) commands or by using standard QoS commands on the Catalyst 3750-E or 3560-E switch. With QoS,

More information

QoS Packet Marking. About. Marking Definition

QoS Packet Marking. About. Marking Definition refers to changing a field within a packet either at Layer 2 (802.1Q/p CoS, MPLS EXP) or Layer 3 (IP Precedence, DSCP and/or IP ECN). It also refers to preserving any classification decision that was reached

More information

Configuring Modular QoS Service Packet Classification

Configuring Modular QoS Service Packet Classification Configuring Modular QoS Service Packet Classification This chapter covers these topics: Packet Classification Overview, page 1 Traffic Class Elements, page 2 Traffic Policy Elements, page 5 Traffic Policy

More information

QoS: Policing and Shaping Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 920 Series)

QoS: Policing and Shaping Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 920 Series) QoS: Policing and Shaping Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 920 Series) First Published: 2014-07-29 Last Modified: 2014-11-22 Americas Headquarters Cisco Systems, Inc. 170 West Tasman

More information

Quality of Service Commands policy-map. This command has no default behavior or values.

Quality of Service Commands policy-map. This command has no default behavior or values. Quality of Service Commands policy-map policy-map To create or modify a policy map that can be attached to one or more interfaces to specify a service policy, use the policy-map global configuration command.

More information

DEPLOYING QoS IN SERVICE PROVIDER NETWORK

DEPLOYING QoS IN SERVICE PROVIDER NETWORK DEPLOYING QoS IN SERVICE PROVIDER NETWORK EDGE QoS FOR LAYER3 VPN Andy Chien Consulting System Engineer Cisco Systems hchien@cisco.com 1 Service Provider Edge Traffic Classes 2005 2004 Cisco Systems, Inc.

More information

QoS: Child Service Policy for Priority Class

QoS: Child Service Policy for Priority Class QoS: Child Service Policy for Priority Class First Published: November, 2006 The QoS: Child Service Policy for Priority Class feature allows you to configure a child service policy with nonqueuing-based

More information

QoS v6.0. QoS v6.0 VGN

QoS v6.0. QoS v6.0 VGN QoS v6.0 Number: 642-642 Passing Score: 832 Time Limit: 90 min File Version: v1.0 http://www.gratisexam.com/ QoS 642-642 v6.0 by VGN Sections 1. Single Select 2. Multiple Select 3. Drag & Drop 4. Lab Exam

More information

Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images

Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images First Published: March 20, 2006 Last Updated: March 22, 2011 The feature is one of two features bundled with the QoS: Broadband Aggregation Enhancements Phase 1 feature. The feature provides the ability

More information

Modular Quality of Service Overview on Cisco IOS XR Software

Modular Quality of Service Overview on Cisco IOS XR Software Modular Quality of Service Overview on Cisco IOS XR Software Quality of Service (QoS) is the technique of prioritizing traffic flows and providing preferential forwarding for higher-priority packets. The

More information

Before configuring standard QoS, you must have a thorough understanding of these items: Standard QoS concepts.

Before configuring standard QoS, you must have a thorough understanding of these items: Standard QoS concepts. Prerequisites for Quality of Service, on page 1 QoS Components, on page 2 QoS Terminology, on page 2 Information About QoS, on page 3 QoS Implementation, on page 4 QoS Wired Model, on page 8 Classification,

More information

Configuring PFC QoS CHAPTER

Configuring PFC QoS CHAPTER 38 CHAPTER This chapter describes how to configure quality of service (QoS) as implemented on the Policy Feature Card 3B (PFC3B) on the Supervisor Engine 32 PISA. Note For complete syntax and usage information

More information

Configuring global CAR 73 Overview 73 Configuring aggregate CAR 73 Configuration procedure 73 Configuration example 73

Configuring global CAR 73 Overview 73 Configuring aggregate CAR 73 Configuration procedure 73 Configuration example 73 Contents QoS overview 1 Introduction to QoS 1 QoS service models 1 Best-effort service model 1 IntServ model 1 DiffServ model 2 QoS techniques overview 2 Deploying QoS in a network 2 QoS processing flow

More information

Table of Contents 1 QoS Overview QoS Policy Configuration Priority Mapping Configuration 3-1

Table of Contents 1 QoS Overview QoS Policy Configuration Priority Mapping Configuration 3-1 Table of Contents 1 QoS Overview 1-1 Introduction to QoS 1-1 Introduction to QoS Service Models 1-1 Best-Effort Service Model 1-1 IntServ Service Model 1-2 DiffServ Service Model 1-2 QoS Techniques Overview

More information

Trafffic Engineering 2015/16 1

Trafffic Engineering 2015/16 1 Traffic Engineering 2015/2016 Traffic Engineering: from ATM to MPLS fernando.silva@tecnico.ulisboa.pt Instituto Superior Técnico Trafffic Engineering 2015/16 1 Outline Traffic Engineering revisited Traffic

More information

Pagina 1 di 6 MPLS, Part II Peter J. Welcher Introduction Last month we started looking at MPLS, Multiprotocol Label Switching. This technology is very hot among large Enterprises and Service Providers.

More information

mpls traffic-eng lsp attributes

mpls traffic-eng lsp attributes mpls traffic-eng lsp attributes mpls traffic-eng lsp attributes To create or modify a label switched path (LSP) attribute list, use the mpls traffic-eng lsp attributes command in global configuration mode.

More information

Configuring Weighted Fair Queueing

Configuring Weighted Fair Queueing Configuring Weighted Fair Queueing This chapter describes the tasks for configuring weighted fair queueing (WFQ), class-based WFQ (CBWFQ), and low latency queueing (LLQ). For complete conceptual information,

More information

Quality of Service Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9300 Switches)

Quality of Service Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9300 Switches) Quality of Service Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9300 Switches) First Published: 2017-07-31 Last Modified: 2017-11-03 Americas Headquarters Cisco Systems, Inc. 170 West Tasman

More information

MQC Hierarchical Queuing with 3 Level Scheduler

MQC Hierarchical Queuing with 3 Level Scheduler MQC Hierarchical Queuing with 3 Level Scheduler The MQC Hierarchical Queuing with 3 Level Scheduler feature provides a flexible packet scheduling and queuing system in which you can specify how excess

More information

Configuring Modular QoS Congestion Avoidance

Configuring Modular QoS Congestion Avoidance Congestion avoidance techniques monitor traffic flow in an effort to anticipate and avoid congestion at common network bottlenecks. Avoidance techniques are implemented before congestion occurs as compared

More information

Configuring QoS. Finding Feature Information. Prerequisites for QoS

Configuring QoS. Finding Feature Information. Prerequisites for QoS Finding Feature Information, page 1 Prerequisites for QoS, page 1 Restrictions for QoS, page 3 Information About QoS, page 4 How to Configure QoS, page 28 Monitoring Standard QoS, page 80 Configuration

More information

QoS: Classification, Policing, and Marking on LAC Configuration Guide, Cisco IOS Release 12.4T

QoS: Classification, Policing, and Marking on LAC Configuration Guide, Cisco IOS Release 12.4T QoS: Classification, Policing, and Marking on LAC Configuration Guide, Cisco IOS Release 12.4T Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com

More information

Configuring 4-Port Gigabit Ethernet WAN Optical Services Modules

Configuring 4-Port Gigabit Ethernet WAN Optical Services Modules CHAPTER 4 Configuring 4-Port Gigabit Ethernet WAN Optical Services Modules This chapter provides an overview of the features supported on the 4-port Gigabit Ethernet WAN Optical Services Modules (OSM-2+4GE-WAN+

More information

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP MPLS VPN Carrier Supporting Carrier Using LDP and an IGP Multiprotocol Label Switching (MPLS) Virtual Private Network (VPN) Carrier Supporting Carrier (CSC) enables one MPLS VPN-based service provider

More information

Configuring QoS. Understanding QoS CHAPTER

Configuring QoS. Understanding QoS CHAPTER 29 CHAPTER This chapter describes how to configure quality of service (QoS) by using automatic QoS (auto-qos) commands or by using standard QoS commands on the Catalyst 3750 switch. With QoS, you can provide

More information

MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses

MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses The Multiprotocol Label Switching (MPLS) VPN Inter-AS with Autonomous System Boundary Routers (ASBRs) Exchanging VPN-IPv4 Addresses feature allows

More information

Configuring MLPPP. Finding Feature Information

Configuring MLPPP. Finding Feature Information The Multilink Point-to-Point (MLPPP) feature provides load balancing functionality over multiple WAN links, while providing multivendor interoperability, packet fragmentation and proper sequencing, and

More information

AToM (Any Transport over MPLS)

AToM (Any Transport over MPLS) I N D E X A AAL5 over MPLS operation, 459 460 configuration, 462 463 flowchart configuration, 461 PE router, 461 provider router, 461 verification, 463 465 AAL5 to VLAN Interworking, 515 517 AC (Attachment

More information

Before configuring standard QoS, you must have a thorough understanding of these items:

Before configuring standard QoS, you must have a thorough understanding of these items: Finding Feature Information, page 1 Prerequisites for QoS, page 1 QoS Components, page 2 QoS Terminology, page 3 Information About QoS, page 3 Restrictions for QoS on Wired Targets, page 41 Restrictions

More information

Cisco ASR 1000 Series Aggregation Services Routers: QoS Architecture and Solutions

Cisco ASR 1000 Series Aggregation Services Routers: QoS Architecture and Solutions Cisco ASR 1000 Series Aggregation Services Routers: QoS Architecture and Solutions Introduction Much more bandwidth is available now than during the times of 300-bps modems, but the same business principles

More information

Contents. QoS overview 1

Contents. QoS overview 1 Contents QoS overview 1 QoS service models 1 Best-effort service model 1 IntServ model 1 DiffServ model 1 QoS techniques overview 1 Deploying QoS in a network 2 QoS processing flow in a device 2 Configuring

More information

Multi-Protocol Label Switching

Multi-Protocol Label Switching Rheinisch-Westfälische Technische Hochschule Aachen Lehrstuhl für Informatik IV Prof. Dr. rer. nat. Otto Spaniol Multi-Protocol Label Switching Seminar: Datenkommunikation und Verteilte Systeme SS 2003

More information

Configuring QoS CHAPTER

Configuring QoS CHAPTER CHAPTER 36 This chapter describes how to configure quality of service (QoS) by using automatic QoS (auto-qos) commands or by using standard QoS commands on the Catalyst 3750 switch. With QoS, you can provide

More information