RSVP configuration example

First, you would enable RSVP on the interface that will be used for RSVP signaling. Let’s say the interface is “GigabitEthernet 0/1”:

interface GigabitEthernet0/1
 ip rsvp bandwidth

This command enables RSVP on the interface and sets the bandwidth for the interface to be used in RSVP reservation requests.

Next, you would configure RSVP to reserve bandwidth for a specific flow. Let’s say you want to reserve 2 Mbps for traffic between 10.1.1.1 and 10.2.2.2:

rsvp
 sender host 10.1.1.1 10.255.255.255
  refresh 60
  reservation 2000
   rsvp-policy police1
 receiver host 10.2.2.2 10.255.255.255
  refresh 60
  reservation 2000
   rsvp-policy police1

In this example, we first enter RSVP configuration mode using the “rsvp” command. Then we configure the sender and receiver hosts using the “sender” and “receiver” commands respectively. The “refresh” command sets the refresh interval for the RSVP reservations in seconds. The “reservation” command specifies the bandwidth to be reserved in kilobits per second (Kbps).

Finally, we assign a policy to the RSVP reservation using the “rsvp-policy” command. In this example, the policy is named “police1”. You would need to configure the policy separately using the “policy-map” command.

RSVP policy example

In this example, we create a policy named “police1” using the “policy-map” command. We then define a class named “rsvp” using the “class” command.

The “police” command specifies a traffic policing action for the RSVP traffic in the “rsvp” class. The argument “500000” specifies the bandwidth limit for the class in bits per second (bps). The “conform-action” parameter specifies the action to take when the traffic conforms to the bandwidth limit, which in this case is to transmit the traffic. The “exceed-action” parameter specifies the action to take when the traffic exceeds the bandwidth limit, which in this case is to drop the traffic.

This policy will be applied to the RSVP reservation that we defined in the previous example using the “rsvp-policy” command. The policy will ensure that the reserved bandwidth is not exceeded and will drop any excess traffic.

policy-map police1
 class rsvp
  police 500000 conform-action transmit exceed-action drop

source: chatGPT

Blog at WordPress.com.