|
|
This chapter describes how to configure the Resource Reservation Protocol (RSVP) feature, which is an IP service that allows end systems or hosts on either side of a router network to establish a reserved-bandwidth path between them to predetermine and ensure QoS for their data transmission.
For a complete description of the RSVP commands in this chapter, refer to the Cisco IOS Quality of Service Solutions Command Reference. To locate documentation of other commands that appear in this chapter, use the command reference master index, or search online.
RSVP allows end systems to request QoS guarantees from the network. The need for network resource reservations differs for data traffic versus for real-time traffic, as follows:
Data applications, with little need for resource guarantees, frequently demand relatively lower bandwidth than real-time traffic. The almost constant high bit-rate demands of a video conference application and the bursty low bit-rate demands of an interactive data application share available network resources.
RSVP prevents the demands of traffic such as large file transfers from impairing the bandwidth resources necessary for bursty data traffic. When RSVP is used, the routers sort and prioritize packets much like a statistical time-division multiplexer would sort and prioritize several signal sources that share a single channel.
RSVP mechanisms enable real-time traffic to reserve resources necessary for consistent latency. A video conferencing application can use settings in the router to propagate a request for a path with the required bandwidth and delay for video conferencing destinations. RSVP will check and repeat reservations at regular intervals. By this process, RSVP can adjust and alter the path between RSVP end systems to recover from route changes.
Real-time traffic (unlike data traffic) requires a guaranteed network consistency. Without consistent QoS, real-time traffic faces the following problems:
RSVP works in conjunction with weighted fair queueing (WFQ) or Random Early Detection (RED). This conjunction of reservation setting with packet queueing uses two key concepts: end-to-end flows with RSVP and router-to-router conversations with WFQ:
RSVP allows for hosts to send packets to a subset of all hosts (multicasting). RSVP assumes that resource reservation applies primarily to multicast applications (such as video conferencing). Although the primary target for RSVP is multimedia traffic, a clear interest exists for the reservation of bandwidth for unicast traffic (such as Network File System (NFS) and virtual private network management). A unicast transmission involves a host sending packets to a single host.
For more information about RSVP, see the section "Resource Reservation Protocol" in the chapter "Signalling Overview" in this book.
RSVP cannot be configured with VIP-distributed Cisco Express Forwarding (dCEF).
These are the two types of multicast flows:
RSVP describes these reservations as having certain algorithmic attributes.
An example of a distinct reservation is a video application in which each sender emits a distinct data stream that requires admission and management in a queue. Such a flow, therefore, requires a separate reservation per sender on each transmission facility it crosses (such as Ethernet, a High-Level Data Link Control (HDLC) line, a Frame Relay data-link connection identifier, or an ATM virtual channel). RSVP refers to this distinct reservation as explicit and installs it using a Fixed Filter style of reservation.
Use of RSVP for unicast applications is generally a degenerate case of a distinct flow.
RSVP installs a shared reservation using a Wild Card or Shared Explicit style of reservation, with the difference between the two determined by the scope of application (which is either wild or explicit):
![]() |
Note Before entering RSVP configuration commands, you must plan carefully. |
You must use a specialized configuration on Frame Relay and ATM networks, as discussed in the next sections.
The following RSVP implementation considerations apply as you design your reservation system for a Frame Relay internetwork:
For example, suppose that a Frame Relay interface runs at a T1 rate (1.544 Mbps) and supports several DLCs to remote offices served by 128-kbps and 56-kbps lines. You must configure the amount of the total interface (75 percent of which being 1.158 Mbps) and the amount of each receiving interface (75 percent of which would be 96 and 42 kbps, respectively) that may be reserved. Admission succeeds only if enough bandwidth is available on the DLC (the subinterface) and on the aggregate interface.
The following RSVP implementation considerations apply as you design your reservation system for an ATM internetwork:
See the end of this chapter for the section "RSVP Configuration for a Multicast Session Example."
By default, RSPV is disabled so that it is backward compatible with systems that do not implement RSVP. To enable RSVP for IP on an interface, use the following command in interface configuration mode:
Command | Purpose |
|---|---|
ip rsvp bandwidth [interface-kbps] [single-flow-kbps] |
|
This command starts RSVP and sets the bandwidth and single-flow limits. The default maximum bandwidth is up to 75 percent of the bandwidth available on the interface. By default, the amount reservable by a flow can be up to the entire reservable bandwidth.
On subinterfaces, this command applies the more restrictive of the available bandwidths of the physical interface and the subinterface. For example, a Frame Relay interface might have a T1 connector nominally capable of 1.536 Mbps, and 64-kbps subinterfaces on 128-kbps circuits (64-kbps CIR). RSVP bandwidth can be configured on the main interface up to 1200 kbps, and on each subinterface up to 100 kbps.
Reservations on individual circuits that do not exceed 100 kbps normally succeed. If, however, reservations have been made on other circuits adding up to 1.2 Mbps, and a reservation is made on a subinterface that itself has enough remaining bandwidth, the reservation request will still be refused because the physical interface lacks supporting bandwidth.
You can configure the router to behave as though it is periodically receiving an RSVP PATH message from the sender or previous hop routes containing the indicated attributes. To enter senders in the RSVP database, use the following command in global configuration mode:
The related ip rsvp sender-host command enables a router to simulate a host generating RSVP PATH messages. It is used mostly for debugging and testing purposes.
You can configure the router to behave as though it is continuously receiving an RSVP RESV message from the originator containing the indicated attributes. To enter receivers in the RSVP database, use the following command in global configuration mode:
However, in some cases, a host will not originate such a message until it has first heard from the router, which it can only do via UDP. You must instruct the router to generate UDP-encapsulated RSVP multicasts whenever it generates an IP-encapsulated multicast.
To specify multicast destinations that should receive UDP-encapsulated messages, use the following command in global configuration mode:
Command | Purpose |
|---|---|
ip rsvp udp-multicasts [multicast-address] |
|
Command | Purpose |
|---|---|
ip rsvp neighbor access-list-number |
|
When this command is configured, only neighbors conforming to the access list are accepted. The access list is applied to the IP header.
To enable RSVP to attach itself to NetFlow so that it can receive information about packets in order to update its token bucket and set IP Precedence as required, use the following command in interface configuration mode:
Command | Purpose |
|---|---|
ip rsvp flow-assist |
|
This task is optional for the following reason: When the interface is configured with the ip rsvp svc-required command to use ATM SVCs, RSVP automatically attaches itself to NetFlow to perform packet-flow identification (in which case you need not perform this task). However, if you want to perform IP Precedence-ToS bit setting without using ATM SVCs and without using fair queueing, then you must use the ip rsvp flow-assist command to instruct RSVP to attach itself to NetFlow.
| Command | Purpose | |
|---|---|---|
Step 1 | ip rsvp precedence {conform precedence-value | exceed precedence-value} | Sets the IP Precedence conform and exceed values. |
Step 2 | ip rsvp tos {conform tos-value | exceed tos-value} | Sets the ToS conform and exceed values. |
The ToS byte in the IP header defines the three high-order bits as IP Precedence bits and the five low-order bits as ToS bits.
The router software checks a packet's source and destination addresses and port numbers to determine if the packet matches an RSVP reservation. If a match exists, as part of its input processing, RSVP checks the packet for conformance to the flowspec of the reservation. During this process, RSVP determines if the packet conforms to or exceeds the flowspec, and it sets the packet's IP header IP Precedence and ToS bits accordingly. These IP Precedence and ToS bit settings are used by per-VC DWRED on the output interface, and they can be used by interfaces on downstream routers.
The combination of scheduling performed by the Enhanced ATM port adapter (PA-A3) and the per-SVC DWRED drop policy ensures that any packet that matches a reservation but exceeds the flowspec (that is, it does not conform to the token bucket for the reservation) is treated as if it were a best-effort packet. It is sent on the SVC for the reservation, but its IP Precedence is marked to ensure that it does not interfere with conforming traffic.
To allow a user on a remote management station to monitor RSVP-related information, use the following command in global configuration mode:
Command | Purpose |
|---|---|
snmp-server enable traps rsvp |
|
After you configure the RSVP reservations that reflect your network resource policy, you can verify the resulting RSVP operations by using one or more of the following commands in EXEC mode:
Command | Purpose |
|---|---|
show ip rsvp interface [type number] |
|
show ip rsvp installed [type number] |
|
show ip rsvp neighbor [type number] |
|
show ip rsvp sender [type number] |
|
show ip rsvp request [type number] |
|
show ip rsvp reservation [type number] |
|
The router network includes three routers: Router A, Router B, and Router C. The example presumes that the upstream interface Hssi0 of Router A links to the upstream host. Router A and Router B are connected by the downstream interface Ethernet1 of Router A, which links to the upstream interface Ethernet 1 of Router B. Router B and Router C are connected by the downstream interface Hssi0 of Router B, which links to the upstream interface Hssi0 of Router C. The example presumes that the downstream interface Ethernet2 of Router C links to the downstream host.
Typically, an RSVP-capable application running on an end system host on one side of a router network sends out either unicast or multicast RSVP PATH (Set Up) messages to the destination end system or host on the other side of the router network with which it wishes to communicate. The initiating application is referred to as the sender; the target or destination application is called the receiver. In this example, the sender runs on the host upstream from Router A and the receiver runs on the host downstream from Router C. The router network delivers the RSVP PATH messages from the sender to the receiver. The receiver replies with RSVP RESV messages in an attempt to reserve across the network the requested resources that are required between itself and the sender. The RSVP RESV messages specify the parameters for the requisite QoS that the router network connecting the systems should attempt to offer.
This example does not show the host that would run the sender application and the host that would run the receiver application. Normally, the first router downstream from the sender in the router network--in this case, Router A--would receive the RSVP PATH message from the sender. Normally, the last router in the router network--that is, the next hop upstream from the host running the receiver application, in this case, Router C--would receive an RSVP RESV message from the receiver.
Because this example does not explicitly include the hosts on which the sender and receiver applications run, the routers have been configured to act as if they were receiving PATH messages from a sender and RESV messages from a receiver. The commands used for this purpose, allowing RSVP to be more fully illustrated in the example, are the ip rsvp sender command and the ip rsvp reservation command. On Router A, the following command has been issued:
ip rsvp sender 225.1.1.1 12.1.2.1 UDP 7001 7000 12.1.2.1 Hs0 20 1
This command causes the router to act as if it were receiving PATH messages destined to multicast address 225.1.1.1 from a source 12.1.2.1. The previous hop of the PATH message is 12.1.2.1, and the message was received on interface Hssi0.
On Router B, the following command has been issued:
ip rsvp reservation 225.1.1.1 12.1.2.1 UDP 7001 7000 9.1.2.1 Et2 FF LOAD 8 1
This command causes the router to act as if it were receiving RESV messages for the session with multicast destination 225.1.1.1. The messages request a Fixed Filter reservation to source 12.1.2.1, and act as if they had arrived from a receiver on interface Ethernet2 with address 9.1.2.1.
In the example, the RSVP PATH messages flow in one direction: downstream from the sender, which in this example is Router A. (If the host were to initiate the RSVP PATH message, the message would flow from the host to Router A.) Router A sends the message downstream to Router B, and Router B sends it downstream to Router C. (If the downstream host were the actual receiver, Router C would send the RSVP PATH message downstream to the receiver host.) Each router in the router network must process the RSVP PATH message and route it to the next downstream hop.
The RSVP RESV messages flow in one direction: upstream from the receiver (in this example, Router C), upstream from Router C to Router B, and upstream from Router B to Router A. If the downstream host were the receiver, the message would originate with the host, which would send it to Router C. If the upstream host were the sender, the final destination of the RSVP RESV message would be the upstream host. At each hop, the router receiving the RSVP RESV message must determine whether it can honor the reservation request.
The ip rsvp bandwidth command both enables RSVP on an interface and specifies the amount of bandwidth on the interface that can be reserved (as well as the amount of bandwidth that can be allocated to a single flow). To ensure QoS for the RSVP reservation, WFQ is configured on the interfaces enabled for the reservation.
If the router network is capable of offering the specified (QoS) level of service, then an end-to-end reserved path is established. If not, the reservation attempt is rejected and a reservation error message is sent to the receiver. The ability of each router in the network to honor the requested level of service is verified, link by link, as the RSVP RESV messages are sent across the router network to the sender. However, the data itself for which the bandwidth is reserved travels one way only: from the sender to receiver across an established PATH. Therefore, the QoS is effective in only one direction. This is the common case for one-to-many multicast data flows.
After the three routers in the example are configured, the show ip rsvp sender and show ip rsvp reservation commands will make visible the PATH and RESV state.
Router A
On Router A, RSVP is enabled on interface Ethernet1 with 10 kbps to be reserved for the data transmission. A weighted fair queue is reserved on this interface to ensure RSVP QoS. (On Router A, RSVP is also enabled on interface Hssi0 with 1 kbps reserved, but this bandwidth is used simply for passing messages.)
! version 12.0 service config service timestamps debug uptime service timestamps log uptime no service password-encryption service udp-small-servers service tcp-small-servers ! hostname routerA ! ip subnet-zero no ip domain-lookup ip multicast-routing ip dvmrp route-limit 20000 ! ! interface Ethernet0 ip address 2.0.0.193 255.0.0.0 no ip directed-broadcast no ip route-cache no ip mroute-cache media-type 10BaseT ! interface Ethernet1 ip address 11.1.1.2 255.0.0.0 no ip directed-broadcast ip pim dense-mode ip rsvp bandwidth 10 10
fair-queue 64 256 1000 media-type 10BaseT ! interface Hssi0 ip address 12.1.1.1 255.0.0.0 no ip directed-broadcast ip pim dense-mode ip rsvp bandwidth 1 1 ! interface ATM0 no ip address no ip directed-broadcast shutdown ! router ospf 100 network 11.0.0.0 0.255.255.255 area 10 network 12.0.0.0 0.255.255.255 area 10 ! ip classless ip rsvp sender 225.1.1.1 12.1.2.1 UDP 7001 7000 12.1.2.1 Hs0 20 1 ! line con 0 exec-timeout 0 0 length 0 transport input none line aux 0 line vty 0 4 login ! end
Router B
On Router B, RSVP is enabled on interface Hssi0 with 20 kbps to be reserved for the data transmission. A weighted fair queue is reserved on this interface to ensure RSVP QoS. (On Router B, RSVP is also enabled on interface Ethernet1 with 1 kbps reserved, but this bandwidth is used simply for passing messages.)
! version 12.0 service config service timestamps debug uptime service timestamps log uptime no service password-encryption service udp-small-servers service tcp-small-servers ! hostname routerB ! ip subnet-zero no ip domain-lookup ip multicast-routing ip dvmrp route-limit 20000 clock calendar-valid ! interface Ethernet0 ip address 2.0.0.194 255.0.0.0 no ip directed-broadcast no ip route-cache no ip mroute-cache media-type 10BaseT ! interface Ethernet1 ip address 11.1.1.1 255.0.0.0 no ip directed-broadcast ip pim dense-mode ip rsvp bandwidth 1 1 media-type 10BaseT ! interface Hssi0 ip address 10.1.1.2 255.0.0.0 no ip directed-broadcast ip pim dense-mode ip rsvp bandwidth 20 20 fair-queue 64 256 1000 hssi internal-clock ! interface ATM0 no ip address no ip directed-broadcast shutdown ! router ospf 100 network 10.0.0.0 0.255.255.255 area 10 network 11.0.0.0 0.255.255.255 area 10 ! ip classless ! line con 0 exec-timeout 0 0 length 0 transport input none line aux 0 line vty 0 4 login ! end
Router C
On Router C, RSVP is enabled on interface Ethernet2 with 20 kbps to be reserved for the data transmission. A weighted fair queue is reserved on this interface to ensure RSVP QoS. (On Router C, RSVP is also enabled on interface Hssi0 with 1 kbps reserved, but this bandwidth is used simply for passing messages.)
! version 12.0 service config service timestamps debug uptime service timestamps log uptime no service password-encryption service udp-small-servers service tcp-small-servers ! hostname routerC ! ip subnet-zero no ip domain-lookup ip multicast-routing ip dvmrp route-limit 20000 ! interface Ethernet0 ip address 2.0.0.195 255.0.0.0 no ip directed-broadcast no ip route-cache no ip mroute-cache media-type 10BaseT ! interface Ethernet1 no ip address no ip directed-broadcast shutdown media-type 10BaseT ! interface Ethernet2 ip address 9.1.1.2 255.0.0.0 no ip directed-broadcast ip pim dense-mode ip rsvp bandwidth 20 20
fair-queue 64 256 1000 media-type 10BaseT ! interface Ethernet3 no ip address no ip directed-broadcast shutdown media-type 10BaseT ! interface Ethernet4 no ip address no ip directed-broadcast shutdown media-type 10BaseT ! interface Ethernet5 no ip address no ip directed-broadcast shutdown media-type 10BaseT ! interface Hssi0 ip address 10.1.1.1 255.0.0.0 no ip directed-broadcast ip pim dense-mode ip rsvp bandwidth 1 1 hssi internal-clock ! interface ATM0 no ip address no ip directed-broadcast shutdown ! router ospf 100 network 9.0.0.0 0.255.255.255 area 10 network 10.0.0.0 0.255.255.255 area 10 network 11.0.0.0 0.255.255.255 area 10 ! ip classless ip rsvp reservation 225.1.1.1 12.1.2.1 UDP 7001 7000 9.1.2.1 Et2 FF LOAD 8 1 ! line con 0 exec-timeout 0 0 length 0 transport input none line aux 0 line vty 0 4 login ! end
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Aug 21 21:35:22 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.