Table Of Contents
Prerequisites for RSVP Scalability Enhancements
Restrictions for RSVP Scalability Enhancements
Information About RSVP Scalability Enhancements
Feature Overview of the RSVP Scalability Enhancements
Benefits of the RSVP Scalability Enhancements
How to Configure RSVP Scalability Enhancements
Disabling Data Packet Classification
Configuring Class and Policy Maps
Attaching a Policy Map to an Interface
Configuration Examples for RSVP Scalability Enhancements
Configuring CBWFQ to Accommodate Reserved Traffic: Examples
Configuring the Resource Provider as None with Data Classification Turned Off: Examples
ip rsvp data-packet classification none
RSVP Scalability Enhancements
First Published: June 7, 2001Last Updated: February 19, 2007The RSVP Scalability Enhancements let you select a resource provider and disable data packet classification so that Resource Reservation Protocol (RSVP) performs admission control only.
History for RSVP Scalability Enhancements
Finding Support Information for Platforms and Cisco IOS and Catalyst OS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Prerequisites for RSVP Scalability Enhancements
•
Restrictions for RSVP Scalability Enhancements
•
Information About RSVP Scalability Enhancements
•
How to Configure RSVP Scalability Enhancements
•
Configuration Examples for RSVP Scalability Enhancements
Prerequisites for RSVP Scalability Enhancements
The network must support the following Cisco IOS features before the RSVP Scalability Enhancements are enabled:
•
RSVP
•
Class-based weighted fair queueing (CBWFQ)
Restrictions for RSVP Scalability Enhancements
•
Sources should not send marked packets without an installed reservation.
•
Sources should not send marked packets that exceed the reserved bandwidth.
•
Sources should not send marked packets to a destination other than the reserved path.
Information About RSVP Scalability Enhancements
To use the RSVP Scalability Enhancements, you should understand the following concepts:
•
Feature Overview of the RSVP Scalability Enhancements
•
Benefits of the RSVP Scalability Enhancements
Feature Overview of the RSVP Scalability Enhancements
RSVP typically performs admission control, classification, policing, and scheduling of data packets on a per-flow basis and keeps a database of information for each flow. RSVP Scalability Enhancements let you select a resource provider (formerly called a quality of service [QoS] provider) and disable data packet classification so that RSVP performs admission control only. This facilitates integration with service provider (differentiated services [DiffServ]) networks and enables scalability across enterprise networks.
Class-based weighted fair queueing (CBWFQ) provides the classification, policing, and scheduling functions. CBWFQ puts packets into classes based on the differentiated services code point (DSCP) value in the packet's IP header, thereby eliminating the need for per-flow state and per-flow processing.
Figure 1 shows two enterprise networks interconnected through a service provider (SP) network. The SP network has an IP backbone configured as a DiffServ network. Each enterprise network has a voice gateway connected to an SP edge/aggregation router via a WAN link. The enterprise networks are connected to a private branch exchange (PBX).
Figure 1
RSVP/DiffServ Integration Topology
The voice gateways are running classic RSVP, which means RSVP is keeping a state per flow and also classifying, marking, and scheduling packets on a per-flow basis. The edge/aggregation routers are running classic RSVP on the interfaces (labeled C and D) connected to the voice gateways and running RSVP for admission control only on the interfaces connected to core routers 1 and 3. The core routers in the DiffServ network are not running RSVP, but are forwarding the RSVP messages to the next hop. The core routers inside the DiffServ network implement a specific per hop behavior (PHB) for a collection of flows that have the same DSCP value.
The voice gateways identify voice data packets and set the appropriate DSCP in their IP headers such that the packets are classified into the priority class in the edge/aggregation routers and in core routers 1, 2, 3 or 1, 4, 3.
The interfaces or the edge/aggregation routers (labeled A and B) connected to core routers 1 and 3 are running RSVP, but are doing admission control only per flow against the RSVP bandwidth pool configured on the DiffServ interfaces of the edge/aggregation routers. CBWFQ is performing the classification, policing, and scheduling functions.
Benefits of the RSVP Scalability Enhancements
Enhanced Scalability
RSVP Scalability Enhancements handle similar flows on a per-class basis instead of on a per-flow basis. Because fewer resources are required to maintain per-class QoS guarantees, faster processing results, thereby enhancing scalability.
Improved Router Performance
RSVP Scalability Enhancements improve router performance by reducing the cost for data packet classification and scheduling, which decreases CPU resource consumption. The saved resources can then be used for other network management functions.
How to Configure RSVP Scalability Enhancements
This section contains the following procedures:
•
Enabling RSVP on an Interface (required)
•
Setting the Resource Provider (required)
•
Disabling Data Packet Classification (required)
•
Configuring Class and Policy Maps (required)
•
Attaching a Policy Map to an Interface (required)
•
Verifying the Configuration (optional)
Enabling RSVP on an Interface
Perform this task to enable RSVP on an interface.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number [name-tag]
4.
ip rsvp bandwidth [interface-kbps] [single-flow-kbps]
5.
end
DETAILED STEPS
Setting the Resource Provider
Perform this task to set the resource provider.
Note
Resource provider was formerly called QoS provider.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number [name-tag]
4.
ip rsvp resource-provider none [none | wfq-interface | wfq-pvc]
5.
end
DETAILED STEPS
Disabling Data Packet Classification
Perform this task to turn off (disable) data packet classification.
Note
Disabling data packet classification instructs RSVP not to process every packet, but to perform admission control only.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number [name-tag]
4.
ip rsvp data-packet classification none
5.
end
DETAILED STEPS
Configuring Class and Policy Maps
Perform this task to configure class and policy maps.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
class-map [type {stack | access-control | port-filter | queue-threshold}] [match-all | match-any] class-map-name
4.
match access-group {access-group | name access-group-name}
5.
exit
6.
policy-map [type access-control] policy-map-name
7.
class {class-name | class-default}
8.
priority {bandwidth-kbps | percent percentage} [burst]
9.
end
DETAILED STEPS
Attaching a Policy Map to an Interface
Perform this task to attach a policy map to an interface.
Note
If at the time you configure the RSVP Scalability Enhancements, there are existing reservations that use classic RSVP, no additional marking, classification, or scheduling is provided for these flows. You can also delete these reservations after you configure the RSVP Scalability Enhancements.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number [name-tag]
4.
service-policy [type access-control] {input | output} policy-map-name
5.
end
DETAILED STEPS
Verifying the Configuration
Perform the following task to verify the RSVP Scalability Enhancements are configured.
SUMMARY STEPS
1.
enable
2.
show ip rsvp interface [interface-type interface-number] [detail]
3.
show ip rsvp installed [interface-type interface-number] [detail]
4.
show queueing [custom | fair | priority | random-detect [interface atm-subinterface [vc [[vpi/] vci]]]]
5.
exit
DETAILED STEPS
Examples
This section provides the following example output:
•
Sample Output for the show ip rsvp interface detail Command
•
Sample Output for the show ip rsvp installed detail Command
Sample Output for the show ip rsvp interface detail Command
Enter the show ip rsvp interface detail command to display information about interfaces, subinterfaces, resource providers, and data packet classification. The output in the following example shows that the ATM 6/0 interface has resource provider none configured and data packet classification is turned off:
Router# show ip rsvp interface detailAT6/0:Bandwidth:Curr allocated: 190K bits/secMax. allowed (total): 112320K bits/secMax. allowed (per flow): 112320K bits/secNeighbors:Using IP encap: 1. Using UDP encaps: 0DSCP value used in Path/Resv msgs: 0x30RSVP Data Packet Classification is OFF <--------! disabled data packet classification!RSVP resource provider is: none <--------! resource provider none!
Note
The last two lines in the preceding output verify that the RSVP Scalability Enhancements (disabled data packet classification and resource provider none) are present.
Sample Output for the show ip rsvp installed detail Command
Enter the show ip rsvp installed detail command to display information about interfaces, subinterfaces, their admitted reservations, bandwidth, resource providers, and data packet classification.
Router# show ip rsvp installed detailRSVP: Ethernet3/3 has no installed reservationsRSVP: ATM6/0 has the following installed reservationsRSVP Reservation. Destination is 10.1.1.2, Source is 10.1.1.1,Protocol is UDP, Destination port is 14, Source port is 14Reserved bandwidth: 50K bits/sec, Maximum burst: 1K bytes, Peak rate: 50K bits/secMin Policed Unit: 0 bytes, Max Pkt Size: 1514 bytesResource provider for this flow: NoneConversation supports 1 reservationsData given reserved service: 0 packets (0 bytes)Data given best-effort service: 0 packets (0 bytes)Reserved traffic classified for 54 secondsLong-term average bitrate (bits/sec): 0M reserved, 0M best-effortRSVP Reservation. Destination is 10.1.1.2, Source is 10.1.1.1,Protocol is UDP, Destination port is 10, Source port is 10Reserved bandwidth: 20K bits/sec, Maximum burst: 1K bytes, Peak rate: 20K bits/secMin Policed Unit: 0 bytes, Max Pkt Size: 1514 bytesResource provider for this flow: NoneConversation supports 1 reservationsData given reserved service: 0 packets (0 bytes)Data given best-effort service: 0 packets (0 bytes)Reserved traffic classified for 80 secondsLong-term average bitrate (bits/sec): 0M reserved, 0M best-effortWait for a while, then enter the show ip rsvp installed detail command again. In the following output, notice there is no increment in the number of packets classified:
Router# show ip rsvp installed detailRSVP: Ethernet3/3 has no installed reservationsRSVP: ATM6/0 has the following installed reservationsRSVP Reservation. Destination is 10.1.1.2, Source is 10.1.1.1,Protocol is UDP, Destination port is 14, Source port is 14Reserved bandwidth: 50K bits/sec, Maximum burst: 1K bytes, Peak rate: 50K bits/secMin Policed Unit: 0 bytes, Max Pkt Size: 1514 bytesResource provider for this flow: NoneConversation supports 1 reservationsData given reserved service: 0 packets (0 bytes)Data given best-effort service: 0 packets (0 bytes)Reserved traffic classified for 60 secondsLong-term average bitrate (bits/sec): 0 reserved, OM best-effortRSVP Reservation. Destination is 10.1.1.2, Source is 10.1.1.1,Protocol is UDP, Destination port is 10, Source port is 10Reserved bandwidth: 20K bits/sec, Maximum burst: 1K bytes, Peak rate: 20K bits/secMin Policed Unit: 0 bytes, Max Pkt Size: 1514 bytesResource provider for this flow: NoneConversation supports 1 reservationsData given reserved service: 0 packets (0 bytes)Data given best-effort service: 0 packets (0 bytes)Reserved traffic classified for 86 secondsLong-term average bitrate (bits/sec): OM reserved, 0M best-effortConfiguration Examples for RSVP Scalability Enhancements
This section provides the following configuration examples:
•
Configuring CBWFQ to Accommodate Reserved Traffic: Examples
•
Configuring the Resource Provider as None with Data Classification Turned Off: Examples
Configuring CBWFQ to Accommodate Reserved Traffic: Examples
The following output shows a class map and a policy map being configured for voice:
Router# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# class-map match-all voiceRouter(config-cmap)# match access-group 100Router(config-cmap)# exitRouter(config)# policy-map wfq-voipRouter(config-pmap)# class voiceRouter(config-pmap-c)# priority 24Router(config-pmap-c)# end
Note
The bandwidth that you configured for the CBWFQ priority queue (24 kbps) must match the bandwidth that you configured for the interface. See the section "Enabling RSVP on an Interface".
The following output shows an access list being configured:
Router# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# access-list 100 permit udp any any range 16384 32500The following output shows a class being applied to the outgoing interface:
Router# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# interface atm6/0Router(config-if)# service-policy output wfq-voipThe following output shows bandwidth being configured on an interface:
Router# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# interface atm6/0Router(config-if)# ip rsvp bandwidth 24
Note
The bandwidth that you configure for the interface (24 kbps) must match the bandwidth that you configured for the CBWFQ priority queue.
Configuring the Resource Provider as None with Data Classification Turned Off: Examples
The show running-config command displays the current configuration in the router:
Router# show running-config interface atm6/0class-map match-all voicematch access-group 100!policy-map wfq-voipclass voicepriority 24class class-defaultfair-queue!interface ATM6/0ip address 10.20.22.1 255.255.255.0no ip redirectsno ip proxy-arpno ip route-cache cefatm uni-version 4.0atm pvc 1 0 5 qsaalatm pvc 2 0 16 ilmiatm esi-address 111111111181.00no atm auto-configurationno atm ilmi-keepalivepvc blue 200/100abr 700 600inarp 1broadcastencapsulation aal5snapservice-policy output wfq-voip!ip rsvp bandwidth 24 24ip rsvp signalling dscp 48access-list 100 permit udp any any range 16384 32500Here is output from the show ip rsvp interface detail command before resource provider none is configured and data-packet classification is turned off:
Router# show ip rsvp interface detailAT6/0:Bandwidth:Curr allocated: 190K bits/secMax. allowed (total): 112320K bits/secMax. allowed (per flow): 112320K bits/secNeighbors:Using IP encap: 1. Using UDP encaps: 0DSCP value used in Path/Resv msgs: 0x30Here is output from the show queueing command before resource provider none is configured and data packet classification is turned off:
Router# show queueing interface atm6/0Interface ATM6/0 VC 200/100Queueing strategy: weighted fairOutput queue: 63/512/64/3950945 (size/max total/threshold/drops)Conversations 2/5/64 (active/max active/max total)Reserved Conversations 0/0 (allocated/max allocated)Available Bandwidth 450 kilobits/sec
Note
New reservations do not reduce the available bandwidth (450 kbps shown above). Instead RSVP performs admission control only by using the bandwidth limit configured in the ip rsvp bandwidth command. The bandwidth configured in this command should match the bandwidth configured in the CBWFQ class that you set up to handle the reserved traffic.
The following output shows resource provider none being configured:
Router# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# interface atm6/0Router(config-if)# ip rsvp resource-provider noneRouter(config-if)# endThe following output shows data packet classification being turned off:
Router# configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)# interface atm6/0Router(config-if)# ip rsvp data-packet classification noneRouter(config-if)# endHere is output from the show ip rsvp interface detail command after resource provider none has been configured and data packet classification has been turned off:
Router# show ip rsvp interface detailAT6/0:Bandwidth:Curr allocated: 190K bits/secMax. allowed (total): 112320K bits/secMax. allowed (per flow): 112320K bits/secNeighbors:Using IP encap: 1. Using UDP encaps: 0DSCP value used in Path/Resv msgs: 0x30RSVP Data Packet Classification is OFFRSVP resource provider is: noneThe following output from the show ip rsvp installed detail command verifies that resource provider none is configured and data packet classification is turned off:
Router# show ip rsvp installed detailRSVP: ATM6/0 has the following installed reservationsRSVP Reservation. Destination is 10.1.1.2, Source is 10.1.1.1,Protocol is UDP, Destination port is 14, Source port is 14Reserved bandwidth: 50K bits/sec, Maximum burst: 1K bytes, Peak rate: 50K bits/secMin Policed Unit: 0 bytes, Max Pkt Size: 1514 bytesResource provider for this flow: NoneConversation supports 1 reservationsData given reserved service: 3192 packets (1557696 bytes)Data given best-effort service: 42 packets (20496 bytes)Reserved traffic classified for 271 secondsLong-term average bitrate (bits/sec): 45880 reserved, 603 best-effortRSVP Reservation. Destination is 10.1.1.2, Source is 10.1.1.1,Protocol is UDP, Destination port is 10, Source port is 10Reserved bandwidth: 20K bits/sec, Maximum burst: 1K bytes, Peak rate: 20K bits/secMin Policed Unit: 0 bytes, Max Pkt Size: 1514 bytesResource provider for this flow: NoneConversation supports 1 reservationsData given reserved service: 1348 packets (657824 bytes)Data given best-effort service: 0 packets (0 bytes)Reserved traffic classified for 296 secondsLong-term average bitrate (bits/sec): 17755 reserved, 0M best-effortThe following output shows no increments in packet counts after the source sends data packets that match the reservation:
Router# show ip rsvp installed detailRSVP: Ethernet3/3 has no installed reservationsRSVP: ATM6/0 has the following installed reservationsRSVP Reservation. Destination is 10.1.1.2, Source is 10.1.1.1,Protocol is UDP, Destination port is 14, Source port is 14Reserved bandwidth: 50K bits/sec, Maximum burst: 1K bytes, Peak rate: 50K bits/secMin Policed Unit: 0 bytes, Max Pkt Size: 1514 bytesResource provider for this flow: NoneConversation supports 1 reservationsData given reserved service: 3192 packets (1557696 bytes)Data given best-effort service: 42 packets (20496 bytes)Reserved traffic classified for 282 secondsLong-term average bitrate (bits/sec): 44051 reserved, 579 best-effortRSVP Reservation. Destination is 10.1.1.2, Source is 10.1.1.1,Protocol is UDP, Destination port is 10, Source port is 10Reserved bandwidth: 20K bits/sec, Maximum burst: 1K bytes, Peak rate: 20K bits/secMin Policed Unit: 0 bytes, Max Pkt Size: 1514 bytesResource provider for this flow: NoneConversation supports 1 reservationsData given reserved service: 1348 packets (657824 bytes)Data given best-effort service: 0 packets (0 bytes)Reserved traffic classified for 307 secondsLong-term average bitrate (bits/sec): 17121 reserved, 0M best-effortThe following output shows that data packet classification is enabled again:
Router# configure terminalRouter(config)# interface atm6/0Router(config-if) no ip rsvp data-packet classificationRouter(config-if)# endThe following output verifies that data packet classification is occurring:
Router# show ip rsvp installed detailEnter configuration commands, one per line. End with CNTL/Z.RSVP: ATM6/0 has the following installed reservationsRSVP Reservation. Destination is 10.1.1.2, Source is 10.1.1.1,Protocol is UDP, Destination port is 14, Source port is 14Reserved bandwidth: 50K bits/sec, Maximum burst: 1K bytes, Peak rate: 50K bits/secMin Policed Unit: 0 bytes, Max Pkt Size: 1514 bytesResource provider for this flow: NoneConversation supports 1 reservationsData given reserved service: 3683 packets (1797304 bytes)Data given best-effort service: 47 packets (22936 bytes)Reserved traffic classified for 340 secondsLong-term average bitrate (bits/sec): 42201 reserved, 538 best-effortRSVP Reservation. Destination is 10.1.1.2, Source is 10.1.1.1,Protocol is UDP, Destination port is 10, Source port is 10Reserved bandwidth: 20K bits/sec, Maximum burst: 1K bytes, Peak rate: 20K bits/secMin Policed Unit: 0 bytes, Max Pkt Size: 1514 bytesResource provider for this flow: NoneConversation supports 1 reservationsData given reserved service: 1556 packets (759328 bytes)Data given best-effort service: 0 packets (0 bytes)Reserved traffic classified for 364 secondsLong-term average bitrate (bits/sec): 16643 reserved, 0M best-effortHere is output from the show running-config command after you have performed all the previous configuration tasks:
Router# show running-config interface atm6/0class-map match-all voicematch access-group 100!policy-map wfq-voipclass voicepriority 24class class-defaultfair-queue!interface ATM6/0ip address 10.20.22.1 255.255.255.0no ip redirectsno ip proxy-arpno ip route-cache cefatm uni-version 4.0atm pvc 1 0 5 qsaalatm pvc 2 0 16 ilmiatm esi-address 111111111181.00no atm auto-configurationno atm ilmi-keepalivepvc blue 200/100abr 700 600inarp 1broadcastencapsulation aal5snapservice-policy output wfq-voip!ip rsvp bandwidth 24 24ip rsvp signalling dscp 48ip rsvp data-packet classification noneip rsvp resource-provider noneaccess-list 100 permit udp any any range 16384 32500Additional References
The following sections provide references related to the RSVP Scalability Enhancements.
Related Documents
Related Topic Document TitleQoS commands: complete command syntax, command modes, command history, defaults, usage guidelines, and examples
•
Cisco IOS Quality of Service Solutions Command Reference, Release 12.4T
•
Cisco IOS Quality of Service Solutions Command Reference, Release 12.2SR
QoS features including signaling, classification, and congestion management
Cisco IOS Quality of Service Solutions Configuration Guide, Release 12.4
Standards
MIBs
MIB MIBs LinkNone
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
RFC TitleRFC 2205
Resource Reservation Protocol
RFC 2206
RSVP Management Information Base Using SMIv
Technical Assistance
Command Reference
This section documents modified commands only.
•
debug ip rsvp traffic-control
•
ip rsvp data-packet classification none
debug ip rsvp traffic-control
To display debugging messages for compression-related events, use the debug ip rsvp traffic-control command in privileged EXEC mode. To disable debugging output, use the no form of this command.
debug ip rsvp traffic-control
no debug ip rsvp traffic-control
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Use the debug ip rsvp traffic-control command to troubleshoot compression-related problems.
Examples
The following example from the debug ip rsvp traffic-control command shows that compression was successfully predicted:
Router# debug ip rsvp traffic-controlRSVP debugging is onRouter# show debugging00:44:49: RSVP-TC: Attempting to install QoS for rsb 62CC66F000:44:49: RSVP-TC: Adding new tcsb 02000406 for rsb 62CC66F000:44:49: RSVP-TC: Assigning WFQ QoS (on FR VC 101) to tcsb 0200040600:44:49: RSVP-TC: Predicted compression for TCSB 2000406:00:44:49: RSVP-TC: method = rtp00:44:49: RSVP-TC: context ID = 200:44:49: RSVP-TC: factor = 82 percent00:44:49: RSVP-TC: bytes-saved = 36 bytes00:44:49: RSVP-TC: Bandwidth check: requested bw=65600 old bw=000:44:49: RSVP-TC: RSVP bandwidth is available00:44:49: RSVP-TC: Consulting policy for tcsb 0200040600:44:49: RSVP-TC: Policy granted QoS for tcsb 0200040600:44:49: RSVP-TC: Requesting QoS for tcsb 0200040600:44:49: RSVP-TC: ( r = 8200 bytes/s M = 164 bytes00:44:49: RSVP-TC: b = 328 bytes m = 164 bytes )00:44:49: RSVP-TC: p = 10000 bytes/s Service Level = priority00:44:49: RSVP-WFQ: Update for tcsb 02000406 on FR PVC dlci 101 on Se3/000:44:49: RSVP-WFQ: Admitted 66 kbps of bandwidth00:44:49: RSVP-WFQ: Allocated PRIORITY queue 2400:44:49: RSVP-TC: Allocation succeeded for tcsb 02000406The following example from the debug ip rsvp traffic-control command shows that compression was unsuccessfully predicted because no compression context IDs were available:
Router# debug ip rsvp traffic-controlRSVP debugging is onRouter# show debugging00:10:16:RSVP-TC:Attempting to install QoS for rsb 62CED62C00:10:16:RSVP-TC:Adding new tcsb 01000421 for rsb 62CED62C00:10:16:RSVP-TC:Assigning WFQ QoS (on FR VC 101) to tcsb 0100042100:10:16:RSVP-TC:sender's flow is not rtp compressible for TCSB 100042100:10:16: reason: no contexts available00:10:16:RSVP-TC:sender's flow is not udp compressible for TCSB 100042100:10:16: reason: no contexts available00:10:16:RSVP-TC:Bandwidth check:requested bw=80000 old bw=000:10:16:RSVP-TC:RSVP bandwidth is available00:10:16:RSVP-TC:Consulting policy for tcsb 0100042100:10:16:RSVP-TC:Policy granted QoS for tcsb 0100042100:10:16:RSVP-TC:Requesting QoS for tcsb 0100042100:10:16:RSVP-TC: ( r = 10000 bytes/s M = 200 bytes00:10:16:RSVP-TC: b = 400 bytes m = 200 bytes )00:10:16:RSVP-TC: p = 10000 bytes/s Service Level = priority00:10:16:RSVP-WFQ:Update for tcsb 01000421 on FR PVC dlci 101 on Se3/000:10:16:RSVP-WFQ:Admitted 80 kbps of bandwidth00:10:16:RSVP-WFQ:Allocated PRIORITY queue 2400:10:16:RSVP-TC:Allocation succeeded for tcsb 01000421Related Commands
debug ip rsvp wfq
To display debugging messages for the weighted fair queue (WFQ), use the debug ip rsvp wfq command in privileged EXEC mode. To disable debugging output, use the no form of this command.
debug ip rsvp wfq
no debug ip rsvp wfq
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Examples
The following is sample output from the debug ip rsvp wfq command:
Router# debug ip rsvp wfqRSVP debugging is onRouter# show 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# no debug ip rsvp wfqRSVP debugging is offRelated Commands
ip rsvp data-packet classification none
To turn off (disable) Resource Reservation Protocol (RSVP) data packet classification, use the ip rsvp data-packet classification none command in interface configuration mode. To turn on (enable) data-packet classification, use the no form of this command.
ip rsvp data-packet classification none
no ip rsvp data-packet classification none
Syntax Description
This command has no arguments or keywords.
Command Default
RSVP data packet classification is disabled.
Command Modes
Interface configuration
Command History
Usage Guidelines
Use the ip rsvp data-packet classification none command when you do not want RSVP to process every packet. Configuring RSVP so that not every packet is processed eliminates overhead and improves network performance and scalability.
Examples
This section contains two examples of the ip rsvp data-packet classification none command. In the first example, data packet classification is turned off (disabled), as follows:
Router# configure terminalRouter(config)# interface atm6/0Router(config-if)# ip rsvp data-packet classification noneIn the second example, data packet classification is turned on (enabled), as follows:
Router# configure terminalRouter(config)# interface atm6/0Router(config-if)# no ip rsvp data-packet classification noneRelated Commands
ip rsvp resource-provider
To configure a resource provider for an aggregate flow, use the ip rsvp resource-provider command in interface configuration mode. To disable a resource provider for an aggregate flow, use the no form of this command.
ip rsvp resource-provider {none | wfq interface | wfq pvc}
no ip rsvp resource-provider
Syntax Description
Defaults
The wfq interface is the default resource provider that Resource Reservation Protocol (RSVP) configures on the interface.
Command Modes
Interface configuration
Command History
Usage Guidelines
Use the ip rsvp resource-provider command to configure the resource provider with which you want RSVP to interact when it installs a reservation.
To ensure that a flow receives quality of service (QoS) guarantees when using WFQ on a per-flow basis, configure wfq interface or wfq pvc as the resource provider. To ensure that a flow receives QoS guarantees when using class-based weighted fair queueing (CBWFQ) for data packet processing, configure none as the resource provider.
Note
Resource provider was formerly called QoS provider.
Examples
In the following example, the ip rsvp resource-provider command is configured with wfq interface or wfq pvc as the resource provider, ensuring that a flow receives QoS guarantees when using WFQ on a per-flow basis:
Router# configure terminalRouter(config)# interface atm6/0Router(config-if)# ip rsvp resource-provider wfq pvcIn the following example, the ip rsvp resource-provider command is configured with none as the resource provider, ensuring that a flow receives QoS guarantees when using CBWFQ for data packet processing:
Router# configure terminalRouter(config)# interface atm6/0Router(config-if)# ip rsvp resource-provider noneRelated Commands
show ip rsvp installed
To display Resource Reservation Protocol (RSVP)-related installed filters and corresponding bandwidth information, use the show ip rsvp installed command in privileged EXEC mode.
show ip rsvp installed [interface-type interface-number] [detail]
Syntax Description
Command Modes
Privileged EXEC
Command History
Usage Guidelines
The show ip rsvp installed command displays information about interfaces and their reservations. Enter the optional detail keyword for additional information, including the reservation's traffic parameters, downstream hop, compression, and resources used by RSVP to ensure quality of service (QoS) for this reservation.
Examples
The following is sample output from the show ip rsvp installed command:
Router# show ip rsvp installedRSVP: Ethernet1: has no installed reservationsRSVP: Serial0:kbps To From Protocol DPort Sport Weight Conversation0 192.168.0.0 172.16.2.28 UDP 20 30 128 270150 192.168.0.1 172.16.2.1 UDP 20 30 128 268100 192.168.0.1 172.16.1.1 UDP 20 30 128 267200 192.168.0.1 172.16.1.25 UDP 20 30 256 265200 192.168.0.2 172.16.1.25 UDP 20 30 128 2710 192.168.0.2 172.16.2.28 UDP 20 30 128 269150 192.168.0.2 172.16.2.1 UDP 20 30 128 266350 192.168.0.3 172.16.0.0 UDP 20 30 128 26Table 1 describes the significant fields shown in the display.
RSVP Compression Method Prediction Example
The following example of the show ip rsvp installed detail command shows the compression parameters, including the compression method, the compression context ID, and the bytes saved per packet, on serial interface 3/0 in effect:
Router# show ip rsvp installed detailRSVP:Ethernet2/1 has no installed reservationsRSVP:Serial3/0 has the following installed reservationsRSVP Reservation. Destination is 10.1.1.2. Source is 10.1.1.1,Protocol is UDP, Destination port is 18054, Source port is 19156Compression:(method rtp, context ID = 1, 37.98 bytes-saved/pkt avg)Admitted flowspec:Reserved bandwidth:65600 bits/sec, Maximum burst:328 bytes, Peak rate:80K bits/secMin Policed Unit:164 bytes, Max Pkt Size:164 bytesAdmitted flowspec (as required if compression were not applied):Reserved bandwidth:80K bits/sec, Maximum burst:400 bytes, Peak rate:80K bits/secMin Policed Unit:200 bytes, Max Pkt Size:200 bytesResource provider for this flow:WFQ on FR PVC dlci 101 on Se3/0: PRIORITY queue 24. Weight:0, BW 66 kbpsConversation supports 1 reservations [0x1000405]Data given reserved service:3963 packets (642085 bytes)Data given best-effort service:0 packets (0 bytes)Reserved traffic classified for 80 secondsLong-term average bitrate (bits/sec):64901 reserved, 0 best-effortPolicy:INSTALL. Policy source(s):DefaultThe following example of the show ip rsvp installed detail command shows that compression is not predicted on the serial3/0 interface because no compression context IDs are available:
Router# show ip rsvp installed detailRSVP:Ethernet2/1 has no installed reservationsRSVP:Serial3/0 has the following installed reservationsRSVP Reservation. Destination is 10.1.1.2. Source is 10.1.1.1,Protocol is UDP, Destination port is 18116, Source port is 16594Compression:(rtp compression not predicted:no contexts available)Admitted flowspec:Reserved bandwidth:80K bits/sec, Maximum burst:400 bytes, Peak rate:80K bits/secMin Policed Unit:200 bytes, Max Pkt Size:200 bytesResource provider for this flow:WFQ on FR PVC dlci 101 on Se3/0: PRIORITY queue 24. Weight:0, BW 80 kbpsConversation supports 1 reservations [0x2000420]Data given reserved service:11306 packets (2261200 bytes)Data given best-effort service:0 packets (0 bytes)Reserved traffic classified for 226 secondsLong-term average bitrate (bits/sec):79951 reserved, 0 best-effortPolicy:INSTALL. Policy source(s):Default
Note
When no compression context IDs are available, use the ip rtp compression-connections number command to increase the pool of compression context IDs.
Related Commands
show ip rsvp interface
To display Resource Reservation Protocol (RSVP)-related information, use the show ip rsvp interface command in privileged EXEC mode.
show ip rsvp interface [interface-type interface-number] [detail]
Syntax Description
interface-type
(Optional) Type of the interface.
interface-number
(Optional) Number of the interface.
detail
(Optional) Additional information about interfaces.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Use the show ip rsvp interface command to display information about interfaces on which RSVP is enabled, including the current allocation budget and maximum available bandwidth. Enter the optional detail keyword for additional information, including bandwidth and signaling parameters and blockade state.
Use the show ip rsvp interface detail command to display information about the RSVP parameters associated with an interface. These parameters include the following:
•
Total RSVP bandwidth
•
RSVP bandwidth allocated to existing flows
•
Maximum RSVP bandwidth that can be allocated to a single flow
•
The type of admission control supported (header compression methods)
•
The compression methods supported by RSVP compression prediction
Examples
The following command shows information for each interface on which RSVP is enabled:
Router# show ip rsvp interfaceinterface allocated i/f max flow max sub maxPO0/0 0 200M 200M 0PO1/0 0 50M 50M 0PO1/1 0 50M 50M 0PO1/2 0 50M 50M 0PO1/3 0 50M 50M 0Lo0 0 200M 200M 0Table 2 describes the fields shown in the display.
Detailed RSVP Information Example
The following command shows detailed RSVP information for each interface on which RSVP is enabled:
Router# show ip rsvp interface detailPO0/0:Bandwidth:Curr allocated:0 bits/secMax. allowed (total):200M bits/secMax. allowed (per flow):200M bits/secMax. allowed for LSP tunnels using sub-pools:0 bits/secSet aside by policy (total):0 bits/secSignalling:DSCP value used in RSVP msgs:0x3FNumber of refresh intervals to enforce blockade state:4Number of missed refresh messages:4Refresh interval:30PO1/0:Bandwidth:Curr allocated:0 bits/secMax. allowed (total):50M bits/secMax. allowed (per flow):50M bits/secMax. allowed for LSP tunnels using sub-pools:0 bits/secSet aside by policy (total):0 bits/secSignalling:DSCP value used in RSVP msgs:0x3FNumber of refresh intervals to enforce blockade state:4Number of missed refresh messages:4Refresh interval:30PO1/1:Bandwidth:Curr allocated:0 bits/secMax. allowed (total):50M bits/secMax. allowed (per flow):50M bits/secMax. allowed for LSP tunnels using sub-pools:0 bits/secSet aside by policy (total):0 bits/secSignalling:DSCP value used in RSVP msgs:0x3FNumber of refresh intervals to enforce blockade state:4Number of missed refresh messages:4Refresh interval:30PO1/2:Bandwidth:Curr allocated:0 bits/secMax. allowed (total):50M bits/secMax. allowed (per flow):50M bits/secMax. allowed for LSP tunnels using sub-pools:0 bits/secSet aside by policy (total):0 bits/secSignalling:DSCP value used in RSVP msgs:0x3FNumber of refresh intervals to enforce blockade state:4Number of missed refresh messages:4Refresh interval:30PO1/3:Bandwidth:Curr allocated:0 bits/secMax. allowed (total):50M bits/secMax. allowed (per flow):50M bits/secMax. allowed for LSP tunnels using sub-pools:0 bits/secSet aside by policy (total):0 bits/secSignalling:DSCP value used in RSVP msgs:0x3FNumber of refresh intervals to enforce blockade state:4Number of missed refresh messages:4Refresh interval:30Lo0:Bandwidth:Curr allocated:0 bits/secMax. allowed (total):200M bits/secMax. allowed (per flow):200M bits/secMax. allowed for LSP tunnels using sub-pools:0 bits/secSet aside by policy (total):0 bits/secSignalling:DSCP value used in RSVP msgs:0x3FNumber of refresh intervals to enforce blockade state:4Number of missed refresh messages:4Refresh interval:30Table 3 describes the significant fields shown in the detailed display for interface PO0/0. The fields for the other interfaces are similar.
RSVP Compression Method Prediction Example
The following example from the show ip rsvp interface detail command shows the RSVP compression method prediction configuration for each interface on which RSVP is configured:
Router# show ip rsvp interface detailEt2/1:Bandwidth:Curr allocated:0 bits/secMax. allowed (total):1158K bits/secMax. allowed (per flow):128K bits/secMax. allowed for LSP tunnels using sub-pools:0 bits/secSet aside by policy (total):0 bits/secAdmission Control:Header Compression methods supported:rtp (36 bytes-saved), udp (20 bytes-saved)Neighbors:Using IP encap:0. Using UDP encap:0Signalling:Refresh reduction:disabledAuthentication:disabledSe3/0:Bandwidth:Curr allocated:0 bits/secMax. allowed (total):1158K bits/secMax. allowed (per flow):128K bits/secMax. allowed for LSP tunnels using sub-pools:0 bits/secSet aside by policy (total):0 bits/secAdmission Control:Header Compression methods supported:rtp (36 bytes-saved), udp (20 bytes-saved)Neighbors:Using IP encap:1. Using UDP encap:0Signalling:Refresh reduction:disabledAuthentication:disabledTable 4 describes the significant fields shown in the display for Ethernet interface 2/1. The fields for serial interface 3/0 are similar.
Cryptographic Authentication Example
The following example of the show ip rsvp interface detail command displays detailed information, including the cryptographic authentication parameters, for all RSVP-configured interfaces on the router:
Router# show ip rsvp interface detailEt0/0:Bandwidth:Curr allocated: 0 bits/secMax. allowed (total): 7500K bits/secMax. allowed (per flow): 7500K bits/secMax. allowed for LSP tunnels using sub-pools: 0 bits/secSet aside by policy (total):0 bits/secNeighbors:Using IP encap: 0. Using UDP encap: 0Signalling:Refresh reduction: disabledAuthentication: enabledKey: 11223344Type: sha-1Window size: 2Challenge: enabledTable 5 describes the significant fields shown in the display.
Related Commands
Command Descriptionshow ip rsvp installed
Displays RSVP-related installed filters and corresponding bandwidth information.
show ip rsvp neighbor
Displays current RSVP neighbors.
show queueing
To list all or selected configured queueing strategies, use the show queueing command in privileged EXEC mode.
show queueing [custom | fair | priority | random-detect [interface atm-subinterface [vc [[vpi/] vci]]]
Syntax Description
Command Default
If no optional keyword is entered, this command shows the configuration of all interfaces.
Command Modes
Privileged EXEC
Command History
Examples
FR PIPQ Example
The following sample output shows that FR PIPQ (referred to as "DLCI priority queue") is configured on serial interface 0. The output also shows the size of the four data-link connection identifier (DLCI) priority queues.
Router# show queueingCurrent fair queue configuration:Interface Discard Dynamic Reservedthreshold queue count queue countSerial3/1 64 256 0Serial3/3 64 256 0Current DLCI priority queue configuration:Interface High Medium Normal Lowlimit limit limit limitSerial0 20 40 60 80Current priority queue configuration:List Queue Args1 low protocol ipx1 normal protocol vines1 normal protocol appletalk1 normal protocol ip1 normal protocol decnet1 normal protocol decnet_node1 normal protocol decnet_rout1 normal protocol decnet_rout1 medium protocol xns1 high protocol clns1 normal protocol bridge1 normal protocol arpCurrent custom queue configuration:Current random-detect configuration:Weighted Fair Queueing Example
The following is sample output from the show queueing command. There are two active conversations in serial interface 0. Weighted fair queueing (WFQ) ensures that both of these IP data streams—both using TCP—receive equal bandwidth on the interface while they have messages in the pipeline, even though more FTP data is in the queue than remote-procedure call (RCP) data.
Router# show queueingCurrent fair queue configuration:Interface Discard Dynamic Reservedthreshold queue count queue countSerial0 64 256 0Serial1 64 256 0Serial2 64 256 0Serial3 64 256 0Current priority queue configuration:List Queue Args1 high protocol cdp2 medium interface Ethernet1Current custom queue configuration:Current random-detect configuration:Serial5Queueing strategy:random early detection (WRED)Exp-weight-constant:9 (1/512)Mean queue depth:40Class Random Tail Minimum Maximum Markdrop drop threshold threshold probability0 1401 9066 20 40 1/101 0 0 22 40 1/102 0 0 24 40 1/103 0 0 26 40 1/104 0 0 28 40 1/105 0 0 31 40 1/106 0 0 33 40 1/107 0 0 35 40 1/10rsvp 0 0 37 40 1/10Custom Queueing Example
The following is sample output from the show queueing custom command:
Router# show queueing customCurrent custom queue configuration:List Queue Args3 10 default3 3 interface Tunnel33 3 protocol ip3 3 byte-count 444 limit 3Flow-Based WRED Example
The following is sample output from the show queueing random-detect command. The output shows that the interface is configured for flow-based WRED to ensure fair packet drop among flows. The random-detect flow average-depth-factor command was used to configure a scaling factor of 8 for this interface. The scaling factor is used to scale the number of buffers available per flow and to determine the number of packets allowed in the output queue of each active flow before the queue is susceptible to packet drop. The maximum flow count for this interface was set to 16 by the random-detect flow count command.
Router# show queueing random-detectCurrent random-detect configuration:Serial1Queueing strategy:random early detection (WRED)Exp-weight-constant:9 (1/512)Mean queue depth:29Max flow count:16 Average depth factor:8Flows (active/max active/max):39/40/16Class Random Tail Minimum Maximum Markdrop drop threshold threshold probability0 31 0 20 40 1/101 33 0 22 40 1/102 18 0 24 40 1/103 14 0 26 40 1/104 10 0 28 40 1/105 0 0 31 40 1/106 0 0 33 40 1/107 0 0 35 40 1/10rsvp 0 0 37 40 1/10DWRED Example
The following is sample output from the show queueing random-detect command for DWRED:
Current random-detect configuration:Serial1Queueing strategy:random early detection (WRED)Exp-weight-constant:9 (1/512)Mean queue depth:29Max flow count:16 Average depth factor:8Flows (active/max active/max):39/40/16Class Random Tail Minimum Maximum Markdrop drop threshold threshold probability0 31 0 20 40 1/101 33 0 22 40 1/102 18 0 24 40 1/103 14 0 26 40 1/104 10 0 28 40 1/105 0 0 31 40 1/106 0 0 33 40 1/107 0 0 35 40 1/10rsvp 0 0 37 40 1/10Current random-detect configuration:FastEthernet2/0/0Queueing strategy:fifoPacket drop strategy:VIP-based random early detection (DWRED)Exp-weight-constant:9 (1/512)Mean queue depth:0Queue size:0 Maximum available buffers:6308Output packets:5 WRED drops:0 No buffer:0Class Random Tail Minimum Maximum Mark Outputdrop drop threshold threshold probability Packets0 0 0 109 218 1/10 51 0 0 122 218 1/10 02 0 0 135 218 1/10 03 0 0 148 218 1/10 04 0 0 161 218 1/10 05 0 0 174 218 1/10 06 0 0 187 218 1/10 07 0 0 200 218 1/10 0Table 6 describes the significant fields shown in the display.
Related Commands
Glossary
admission control—The process in which an RSVP reservation is accepted or rejected based on end-to-end available network resources.
aggregate—A collection of packets with the same DSCP.
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.
CBWFQ—class-based weighted fair queueing. A queueing mechanism that extends the standard WFQ functionality to provide support for user-defined traffic classes.
DiffServ—An architecture based on a simple model where traffic entering a network is classified and possibly conditioned at the boundaries of the network. The class of traffic is then identified with a DS code point or bit marking in the IP header. Within the core of the network, packets are forwarded according to the per-hop behavior associated with the DS code point.
DSCP—differentiated services code point. The six most significant bits of the 1-byte IP type of service (ToS) field. The per-hop behavior represented by a particular DSCP value is configurable. DSCP values range between 0 and 63.
enterprise network—A large and diverse network connecting most major points in a company or other organization.
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.
packet—A logical grouping of information that includes a header containing control information and (usually) user data. Packets most often refer to network layer units of data.
PBX—private branch exchange. A digital or analog telephone switchboard located on the subscriber premises and used to connect private and public telephone networks.
PHB—per-hop behavior. A DiffServ concept that specifies how specifically marked packets are to be treated by each DiffServ router.
QoS—quality of service. A measure of performance for a transmission system that reflects its transmission quality and service availability.
RSVP—Resource Reservation Protocol. A protocol for reserving network resources to provide quality of service guarantees to application flows.
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.
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.
Note
See Internetworking Terms and Acronyms for terms not included in this glossary.
CCVP, the Cisco Logo, and the Cisco Square Bridge logo are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn is a service mark of Cisco Systems, Inc.; and Access Registrar, Aironet, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, Follow Me Browsing, FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient, IOS, iPhone, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, iQuick Study, LightStream, Linksys, MeetingPlace, MGX, Networking Academy, Network Registrar, Packet, PIX, ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet, StackWise, The Fastest Way to Increase Your Internet Quotient, and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0612R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2001, 2006, 2007 Cisco Systems, Inc. All rights reserved.


