Table Of Contents
RSVP Support for Low Latency Queueing
Related Features and Technologies
Supported Standards, MIBs, and RFCs
Configuring Flow Classification
Verifying RSVP Support for LLQ Configuration
Monitoring and Maintaining RSVP Support for LLQ
RSVP Support for Low Latency Queueing
This document describes the Cisco Resource Reservation Protocol (RSVP) support for the low latency queueing (LLQ) feature. It identifies the supported platforms, provides configuration examples, and lists related IOS command line interface (CLI) commands.
This document includes the following major sections:
•Supported Standards, MIBs, and RFCs
•Monitoring and Maintaining RSVP Support for LLQ
Feature Overview
RSVP is a network-control protocol that provides a means for reserving network resources—primarily bandwidth—to guarantee that applications transmitting end-to-end across networks achieve the desired quality of service (QoS).
RSVP enables real-time traffic (which includes voice flows) to reserve resources necessary for low latency and bandwidth guarantees.
Voice traffic has stringent delay and jitter requirements. It must have very low delay and minimal jitter per hop to avoid degradation of end-to-end QoS. This calls for an efficient queueing implementation, such as LLQ, that can service voice traffic at almost strict priority in order to minimize delay and jitter.
RSVP uses weighted fair queueing (WFQ) to provide fairness among flows and to assign a low weight to a packet to attain priority. However, the preferential treatment provided by RSVP is insufficient to minimize the jitter because of the nature of the queueing algorithm itself. As a result, the low latency and jitter requirements of voice flows might not be met in the prior implementation of RSVP and WFQ.
RSVP provides admission control. However, to provide the bandwidth and delay guarantees for voice traffic and get admission control, RSVP must work with LLQ. The RSVP support for LLQ feature allows RSVP to classify voice flows and queue them into the priority queue (PQ) within the LLQ system while simultaneously providing reservations for nonvoice flows by getting a reserved queue.
Figure 1 shows how RSVP operates with other VoIP features, such as ip rtp priority, using the same queueing mechanism, LLQ.
Figure 1 RSVP Support for LLQ
Benefits
Admission Control Combined with Low Latency Queueing
RSVP is the only protocol that provides admission control based on the availability of network resources such as bandwidth. LLQ provides a means to forward voice traffic with strict priority ahead of other data traffic. When combined, RSVP support for LLQ provides admission control and forwards voice flows with the lowest possible latency and jitter.
Independent Transmission of Voice and Nonvoice Traffic
High priority nonvoice traffic from mission critical applications can continue to be transmitted without being adversely affected by voice traffic.
Strict Policing Capability
Nonconformant traffic receives best-effort treatment, thereby avoiding any degradation that might otherwise occur for all traffic.
Restrictions
•The LLQ is not supported on any tunnels.
•RSVP support for LLQ is dependent on the PQ. If LLQ is not available on any interface or platform, then RSVP support for LLQ is not available.
•RSVP support for LLQ on Frame Relay permanent virtual circuits (PVCs) and Asynchronous Transfer Mode (ATM) PVCs is currently not available. Support is planned for future releases.
Related Features and Technologies
The RSVP support for LLQ feature is related to QoS features, such as low latency queueing and policing. (See the section on "Related Documents.")
Related Documents
The following documents provide additional information:
•Cisco IOS Quality of Service Solutions Guide
•Cisco IOS Quality of Service Solutions Command Reference
Supported Platforms
The RSVP support for the LLQ feature runs on the following platforms:
•Cisco 2600 series routers
•Cisco 3600 series routers (Cisco 3620, 3640, and 3660)
•Cisco 3810 multiservice access concentrator
•Cisco 7200 series routers
•Cisco 7500 series routers
Supported Standards, MIBs, and RFCs
Standards
The RSVP support for LLQ feature supports no new or modified standards.
MIBs
RFC 2206 (RSVP Management Information Base using SMIv2)
For descriptions of supported MIBs and how to use MIBs, see the Cisco MIB web site on CCO at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.
RFCs
•RFC 2205 (Resource Reservation Protocol)
•RFC 2210 (RSVP with IETF Integrated Services)
•RFC 2211 (Controlled-Load Network Element Service)
•RFC 2212 (Specification of Guaranteed Quality of Service)
•RFC 2215 (General Characterization Parameters for Integrated Service Network Elements)
Prerequisites
The network must support the following Cisco IOS features before RSVP support for LLQ is enabled:
•Resource Reservation Protocol (RSVP)
•Weighted fair queueing (WFQ) or LLQ (WFQ with PQ support)
Configuration Tasks
Figure 2 shows a sample network topology with LLQ running on each interface. This configuration guarantees QoS for voice traffic.
Figure 2 Topology Showing LLQ on Each Interface
The configuration tasks for the RSVP support for LLQ feature are as follows:
•Configuring flow classification (required)
•Enabling RSVP and WFQ on all appropriate interfaces (required)
•Configuring a burst factor (optional)
•Configuring a path (optional)
•Configuring a reservation (optional)
Note If the source is incapable of supporting RSVP, then the router can proxy on behalf of the source.
Configuring Flow Classification
Command PurposeRouter#(config)# ip rsvp pq-profile...
Specifies the criteria for determining which flows go into the PQ.
Enabling RSVP and WFQ
Configuring a Burst Factor
Command PurposeRouter(config-if)# ip rsvp burst policing...
Specifies a burst factor on a per interface basis.
Configuring a Path
Configuring a Reservation
Verifying RSVP Support for LLQ Configuration
To verify RSVP support for LLQ configuration, use this procedure:
Step 1 Enter the show ip rsvp installed command to display information about interfaces and their admitted reservations. This output shows that the Ethernet2/1 interface has four reservations and the Serial3/0 interface has none.
Router# show ip rsvp installedRSVP:Ethernet2/1BPS To From Protoc DPort Sport Weight Conversation44K 145.20.0.202 145.10.0.201 UDP 1000 1000 0 26444K 145.20.0.202 145.10.0.201 UDP 1001 1001 13 26698K 145.20.0.202 145.10.0.201 UDP 1002 1002 6 2651K 145.20.0.202 145.10.0.201 UDP 10 10 0 264RSVP:Serial3/0 has no installed reservationsRouter#
Note Weight 0 is assigned to voice-like flows, which proceed to the PQ.
Step 2 Enter the show ip rsvp installed detail command to display additional information about interfaces and their current reservations.
Note In the following output, the first flow gets the PQ (weight = 0) while the second flow does not.
Router# show ip rsvp installed detailRSVP:Ethernet2/1 has the following installed reservationsRSVP Reservation. Destination is 145.20.0.202, Source is 145.10.0.201,Protocol is UDP, Destination port is 1000, Source port is 1000Reserved bandwidth:44K bits/sec, Maximum burst:1K bytes, Peak rate:44K bits/secResource provider for this flow:WFQ on hw idb Se3/0: PRIORITY queue 264. Weight:0, BW 44 kbpsConversation supports 1 reservationsData given reserved service:316 packets (15800 bytes)Data given best-effort service:0 packets (0 bytes)Reserved traffic classified for 104 secondsLong-term average bitrate (bits/sec):1212 reserved, 0M best-effortRSVP Reservation. Destination is 145.20.0.202, Source is 145.10.0.201,Protocol is UDP, Destination port is 1001, Source port is 1001Reserved bandwidth:44K bits/sec, Maximum burst:3K bytes, Peak rate:44K bits/secResource provider for this flow:WFQ on hw idb Se3/0: RESERVED queue 266. Weight:13, BW 44 kbpsConversation supports 1 reservationsData given reserved service:9 packets (450 bytes)Data given best-effort service:0 packets (0 bytes)Reserved traffic classified for 107 secondsLong-term average bitrate (bits/sec):33 reserved, 0M best-effortRSVP Reservation. Destination is 145.20.0.202, Source is 145.10.0.201,Protocol is UDP, Destination port is 1002, Source port is 1002Router#
Monitoring and Maintaining RSVP Support for LLQ
Configuration Examples
This section provides a configuration example for the RSVP support for LLQ feature.
In the following example, PQ parameters, including flow rate and burst factor, are defined:
Router(config)# ip rsvp pq-profile ?<1-1048576> Max Flow Rate (bytes/second)voice-like Voice-like flows<cr>Router(config)# ip rsvp pq-profile 11000 1500 ?<100-4000> Max Peak to Average Ratio (in %)ignore-peak-value Ignore the flow's p/r ratio<cr>Router(config)# ip rsvp pq-profile 11000 1500 ignore-peak-valueRouter(config)# endRouter# sh run | include pq-profileip rsvp pq-profile 11000 1500 ignore-peak-valueIn the following example, RSVP is enabled:
Router# conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)# int loopback 40Router(config-if)# ip rsvp bandwidth ?<1-10000000> Reservable Bandwidth(KBPS)<cr>Router(config-if)# ip rsvp bandwidth 300 ?<1-10000000> Largest Reservable Flow(KBPS)<cr>Router(config-if)# ip rsvp bandwidth 300 30 ?<cr>Router(config-if)# ip rsvp bandwidth 300 30Router(config-if)# endIn the following example, WFQ is enabled:
Router# conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)# int e0/1Router(config-if)# fair-queueRouter(config-if)# fair-queue 64In the following example, a burst factor is configured:
Router(config)# int e3/0Router(config-if)# ip rsvp burst policing 200In the following example, a path is defined:
Router(config)# ip rsvp sender 145.20.20.202 145.10.10.201 udp 10 20145.10.10.201 loopback 10 80 10Router(config)#In the following example, a reservation is defined:
Router(config)# ip rsvp reservation 145.20.20.202 145.10.10.201 udp10 20 145.20.20.202 lo20 ff load 80 10Router(config)#Command Reference
This section describes the CLI commands that you can use with the RSVP support for LLQ feature:
ip rsvp burst policing
To configure a burst factor within the RSVP token bucket policer on a per interface basis, use the ip rsvp burst policing configuration command. To return to the default value, enter the no form of this command.
ip rsvp burst policing [ factor ]
no ip rsvp burst policing
Syntax Description
Defaults
The default value is 200; the minimum value is 100, and the maximum value is 700.
Command Modes
Configuration
Command History
Usage Guidelines
You configure the burst police factor per interface, not per flow. The burst factor controls how strictly or loosely the sender's traffic is policed with respect to burst.
The burst factor applies to all RSVP flows installed on a specific interface. You can configure each interface independently for burst policing.
Examples
Here is an example of the ip rsvp burst policing command with a burst factor of 200:
Router(config-if)# ip rsvp burst policing 200ip rsvp pq-profile
To specify the criteria for RSVP to use to determine which flows to direct into the PQ within WFQ, use the ip rsvp pq-profile configuration command. To disable the ip rsvp pq-profile configuration command, use the no form of this command.
ip rsvp pq-profile [voice-like | r' [ b' [ p_to_r' | ignore-peak-value] ]
no ip rsvp pq-profile
Syntax Description
RSVP recognizes voice flows based upon the r, b, and p values within a receiver's flowspec. A reserved flow is granted the PQ as long as the receiver's flowspec parameters meet the following default criteria:
(r <= r') AND (b <= b') AND (p/r <= p_to_r')
Defaults
Default values for r', b', and p_to_r' are shown in the preceding table in the "Syntax Description" section.
Command Modes
Configuration
Command History
Usage Guidelines
Use this command to define the profile of RSVP flows to be placed in the PQ within the WFQ system. You can have only one profile in effect at a time. Changes to this configuration affect only new flows, not existing flows.
This command applies only on interfaces that are running RSVP and WFQ.
Examples
In the following example, voice-like flows (with the default criteria for voice) are put into the PQ:
Router(config)# ip rsvp pq-profileRouter(config)# ip rsvp pq-profile voice-likeRouter(config)# ip rsvp pq-profile 12288 592 110Router(config)# default ip rsvp pq-profileRouter# show run | include pq-profileIn the following example, all flows matching the voice criteria are put into the PQ:
Router(config)# ip rsvp pq-profile 10240 512 100Router# show run | include pq-profileip rsvp pq-profile 10240 512 100In the following example, no flows are put into the PQ:
Router(config)# no ip rsvp pq-profileRouter# show run | include pq-profileno ip rsvp pq-profileIn the following example, flows with the criteria given for r' and b' and the default value for p_to_r' are put into the PQ:
Router(config)# ip rsvp pq-profile 9000 300Router# show run | include pq-profileip rsvp pq-profile 9000 300 110In the following example, flows with the criteria given for r' and b' and ignoring the flow's peak value are put into the PQ:
Router(config)# ip rsvp pq-profile 9000 300 ignore-peak-valueRouter# show run | include pq-profileip rsvp pq-profile 9000 300 ignore-peak-valueIn the following example, Microsoft NetMeeting voice flows with G.711 or adaptive differential pulse code modulation (ADPCM) codecs are put into the PQ:
Router(config)# ip rsvp pq-profile 10200 1200show ip rsvp installed
To display information about interfaces and their admitted reservations, use the show ip rsvp installed EXEC command.
show ip rsvp installed [detail]
Syntax Description
Defaults
No default behavior or values.
Command Modes
EXEC
Command History
Usage Guidelines
The show ip rsvp installed command displays information about interfaces and their reservations. Enter the optional keyword, detail, for additional information, including the reservation's traffic parameters, downstream hop, and resources used by RSVP to ensure QoS for this reservation.
Examples
Here is sample output from the show ip rsvp installed command:
Router# show ip rsvp installedRSVP:Ethernet2/1BPS To From Protoc Dport Sport Weight Conversation44K 145.20.0.202 145.10.0.201 UDP 1000 1000 0 26444K 145.20.0.202 145.10.0.201 UDP 1001 1001 13 26698K 145.20.0.202 145.10.0.201 UDP 1002 1002 6 2651K 145.20.0.202 145.10.0.201 UDP 10 10 0 264RSVP:Serial3/0 has no installed reservationsRouter#
Related Commands
Debug Commands
This section describes the new or modified debug commands that are related to the RSVP support for the LLQ feature:
•debug ip rsvp traffic-control
Note You can use debug ip rsvp traffic-control and debug ip rsvp wfq simultaneously. Use the show debug command to see which debugging commands are enabled.
debug ip rsvp traffic-control
To display debug messages for traffic control, use the debug ip rsvp traffic-control EXEC command. To disable the debug ip rsvp traffic-control command, use the no form of this command.
[no] debug ip rsvp traffic-control
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command History
Examples
Here is an example of output from the debug ip rsvp traffic-control command:
Router# debug ip rsvp traffic-controlRSVP debugging is onRouter# sh debuggingIP RSVP debugging is onIP RSVP debugging (Traffic Control events) is onRouter#03:03:56:RSVP-TC:Attempting to remove QoS for rsb 6268A53803:03:56:RSVP-TC:tcsb 00001A01 found for rsb 6268A53803:03:56:RSVP-TC:Deleting tcsb 00001A0103:04:15:RSVP-TC:Attempting to install QoS for rsb 6268A53803:04:15:RSVP-TC:Adding new tcsb 00001E01 for rsb 6268A53803:04:15:RSVP-TC:Assigning WFQ QoS to tcsb 00001E0103:04:15:RSVP-TC:Consulting policy for tcsb 00001E0103:04:15:RSVP-TC:Policy granted QoS for tcsb 00001E0103:04:15:RSVP-TC:Requesting QoS for tcsb 00001E0103:04:15:RSVP-TC: ( r = 12500 bytes/s M = 1514 bytes03:04:15:RSVP-TC: b = 1000 bytes m = 0 bytes )03:04:15:RSVP-TC: p = 12500 bytes/s Service Level = non-priority03:04:15:RSVP-TC:Allocation succeeded for tcsb 00001E01Related Commands
debug ip rsvp wfq
To display debug messages for the weighted fair queue (WFQ), use the debug ip rsvp wfq EXEC command. To disable the debug ip rsvp wfq command, use the no form of this command.
[no] debug ip rsvp wfq
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command History
Examples
Here is an example of output from the debug ip rsvp wfq command:
Router# sh debuggingRouter# debug ip rsvp wfqRSVP debugging is onRouter# sh debuggingIP RSVP debugging is onIP RSVP debugging (Traffic Control events) is onIP RSVP debugging (WFQ events) is onRouter#03:03:23:RSVP-TC:Attempting to install QoS for rsb 6268A53803:03:23:RSVP-TC:Adding new tcsb 00001A01 for rsb 6268A53803:03:23:RSVP-TC:Assigning WFQ QoS to tcsb 00001A0103:03:23:RSVP-TC:Consulting policy for tcsb 00001A0103:03:23:RSVP-TC:Policy granted QoS for tcsb 00001A0103:03:23:RSVP-TC:Requesting QoS for tcsb 00001A0103:03:23:RSVP-TC: ( r = 12500 bytes/s M = 1514 bytes03:03:23:RSVP-TC: b = 1000 bytes m = 0 bytes )03:03:23:RSVP-TC: p = 12500 bytes/s Service Level = non-priority03:03:23:RSVP-WFQ:Requesting a RESERVED queue on Et0/1 for tcsb 00001A0103:03:23:RSVP-WFQ:Queue 265 allocated for tcsb 00001A0103:03:23:RSVP-TC:Allocation succeeded for tcsb 00001A01Router#Router# no debug ip rsvpRSVP debugging is offRelated Commands
Glossary
admission control—The process in which an RSVP reservation is accepted or rejected based on end-to-end available network resources.
ADPCM—Adaptive differential pulse code modulation. A process by which analog voice samples are encoded into high-quality digital signals.
bandwidth— The difference between the highest and lowest frequencies available for network signals. This term also describes the rated throughput capacity of a given network medium or protocol.
burst—In data communications, a sequence of signals counted as one unit in accordance with some specific criterion or measure.
bursty traffic—A data communications term referring to an uneven pattern of data transmission.
codec—A software algorithm used to compress/decompress speech or audio signals.
flow—A stream of data traveling between two endpoints across a network (for example, from one LAN station to another). Multiple flows can be transmitted on a single circuit.
flowspec—In IPv6, the traffic parameters of a stream of IP packets between two applications.
G.711—This term describes the 64-kbps pulse code modulation (PCM) voice coding technique. In G.711, encoded voice is already in the correct format for digital voice delivery in the public switched telephone network (PSTN) or through private branch exchanges (PBXs).
jitter—An analog communication line distortion caused by the variation of a signal from its reference timing positions. Jitter can cause data loss, particularly at high speeds.
latency—The delay between the time a device receives a packet and the time that packet is forwarded out the destination port.
PQ—Priority queue. A routing feature in which frames in an output queue are prioritized based on various characteristics such as packet size and interface type.
priority queue—See PQ.
QoS—Quality of service. A measure of performance for a transmission system that reflects its transmission quality and service availability.
quality of service—See QoS.
Resource Reservation Protocol—See RSVP.
RSVP—Resource Reservation Protocol. A protocol for reserving network resources to provide quality of service guarantees to application flows.
token bucket—A formal definition of a rate of transfer. A token bucket has three components: a burst size, a mean rate, and a time interval (Tc). A token bucket is used to manage a device that regulates a flow's data.
Voice over IP—See VoIP.
VoIP—Voice over IP. The ability to carry normal telephony-style voice over an IP-based internet maintaining telephone-like functionality, reliability, and voice quality.
Weighted Fair Queueing—See WFQ.
WFQ—Weighted fair queueing. A queue management algorithm that provides a certain fraction of link bandwidth to each of several queues, based on relative bandwidth applied to each of the queues.