Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    RSVP Signaling Protocol

    Understanding the RSVP Signaling Protocol

    RSVP is a signaling protocol that handles bandwidth allocation and true traffic engineering across an MPLS network. Like LDP, RSVP uses discovery messages and advertisements to exchange LSP path information between all hosts. However, RSVP also includes a set of features that control the flow of traffic through an MPLS network. Whereas LDP is restricted to using the configured IGP's shortest path as the transit path through the network, RSVP uses a combination of the Constrained Shortest Path First (CSPF) algorithm and Explicit Route Objects (EROs) to determine how traffic is routed through the network.

    Basic RSVP sessions are established in exactly the same way that LDP sessions are established. By configuring both MPLS and RSVP on the appropriate transit interfaces, you enable the exchange of RSVP packets and the establishment of LSPs. However, RSVP also lets you configure link authentication, explicit LSP paths, and link coloring.

    This topic contains the following sections:

    RSVP Fundamentals

    RSVP uses unidirectional and simplex flows through the network to perform its function. The inbound router initiates an RSVP path message and sends it downstream to the outbound router. The path message contains information about the resources needed for the connection. Each router along the path begins to maintain information about a reservation.

    When the path message reaches the outbound router, resource reservation begins. The outbound router sends a reservation message upstream to the inbound router. Each router along the path receives the reservation message and sends it upstream, following the path of the original path message. When the inbound router receives the reservation message, the unidirectional network path is established.

    The established path remains open as long as the RSVP session is active. The session is maintained by the transmission of additional path and reservation messages that report the session state every 30 seconds. If a router does not receive the maintenance messages for 3 minutes, it terminates the RSVP session and reroutes the LSP through another active router.

    Bandwidth Reservation Requirement

    When a bandwidth reservation is configured, reservation messages propagate the bandwidth value throughout the LSP. Routers must reserve the bandwidth specified across the link for the particular LSP. If the total bandwidth reservation exceeds the available bandwidth for a particular LSP segment, the LSP is rerouted through another LSR. If no segments can support the bandwidth reservation, LSP setup fails and the RSVP session is not established.

    Explicit Route Objects

    Explicit Route Objects (EROs) limit LSP routing to a specified list of LSRs. By default, RSVP messages follow a path that is determined by the network IGP's shortest path. However, in the presence of a configured ERO, the RSVP messages follow the path specified.

    EROs consist of two types of instructions: loose hops and strict hops. When a loose hop is configured, it identifies one or more transit LSRs through which the LSP must be routed. The network IGP determines the exact route from the inbound router to the first loose hop, or from one loose hop to the next. The loose hop specifies only that a particular LSR be included in the LSP.

    When a strict hop is configured, it identifies an exact path through which the LSP must be routed. Strict-hop EROs specify the exact order of the routers through which the RSVP messages are sent.

    You can configure loose-hop and strict-hop EROs simultaneously. In this case, the IGP determines the route between loose hops, and the strict-hop configuration specifies the exact path for particular LSP path segments.

    Figure 1 shows a typical RSVP-signaled LSP that uses EROs.

    Figure 1: Typical RSVP-Signaled LSP with EROs

    Typical RSVP-Signaled LSP
with EROs

    In the topology shown in Figure 1, traffic is routed from Host C1 to Host C2. The LSP can pass through Routers R4 or Router R7. To force the LSP to use R4, you can set up either a loose-hop or strict-hop ERO that specifies R4 as a hop in the LSP. To force a specific path through Router R4, R3, and R6, configure a strict-hop ERO through the three LSRs.

    Constrained Shortest Path First

    Whereas IGPs use the Shortest Path First (SPF) algorithm to determine how traffic is routed within a network, RSVP uses the Constrained Shortest Path First (CSPF) algorithm to calculate traffic paths that are subject to the following constraints:

    • LSP attributes—Administrative groups such as link coloring, bandwidth requirements, and EROs
    • Link attributes—Colors on a particular link and available bandwidth

    These constraints are maintained in the traffic engineering database (TED). The database provides CSPF with up-to-date topology information, the current reservable bandwidth of links, and the link colors.

    In determining which path to select, CSPF follows these rules:

    • Computes LSPs one at a time, beginning with the highest priority LSP—the one with the lowest setup priority value. Among LSPs of equal priority, CSPF starts with those that have the highest bandwidth requirement.
    • Prunes the traffic engineering database of links that are not full duplex and do not have sufficient reservable bandwidth.
    • If the LSP configuration includes the include statement, prunes all links that do not share any included colors.
    • If the LSP configuration includes the exclude statement, prunes all links that contain excluded colors. If a link does not have a color, it is accepted.
    • Finds the shortest path toward the LSP's outbound router, taking into account any EROs. For example, if the path must pass through Router A, two separate SPF algorithms are computed: one from the inbound router to Router A and one from Router A to the outbound router.
    • If several paths have equal cost, chooses the one with a last-hop address the same as the LSP's destination.
    • If several equal-cost paths remain, selects the path with the least number of hops.
    • If several equal-cost paths remain, applies CSPF load-balancing rules configured on the LSP.

    Link Coloring

    RSVP allows you to configure administrative groups for CSPF path selection. An administrative group is typically named with a color, assigned a numeric value, and applied to the RSVP interface for the appropriate link. Lower numbers indicate higher priority.

    After configuring the administrative group, you can either exclude, include, or ignore links of that color in the TED:

    • If you exclude a particular color, all segments with an administrative group of that color are excluded from CSPF path selection.
    • If you include a particular color, only those segments with the appropriate color are selected.
    • If you neither exclude nor include the color, the metrics associated with the administrative groups and applied on the particular segments determine the path cost for that segment.

    The LSP with the lowest total path cost is selected into the TED.

    Example: Configuring RSVP-Signaled LSPs

    This example shows how to create an LSP between routers in an IP network using RSVP as the signaling protocol.

    Requirements

    Before you begin, delete security services from the device. See Example: Deleting Security Services.

    Overview and Topology

    Using RSVP as a signaling protocol, you can create LSPs between routers in an IP network. In this example, you configure a sample network as shown in Figure 2.

    Figure 2: Typical RSVP-Signaled LSP

    Typical RSVP-Signaled LSP

    To establish an LSP between routers, you must individually enable the MPLS family and configure RSVP on each of the transit interfaces in the MPLS network. This example shows how to enable MPLS and configure RSVP on the ge-0/0/0 transit interface. Additionally, you must enable the MPLS process on all of the MPLS interfaces in the network.

    This example shows how to define an LSP from R1 to R7 on the ingress router (R1) using R7’s loopback address (10.0.9.7). The configuration reserves 10 Mbps of bandwidth. Additionally, the configuration disables the CSPF algorithm, ensuring that Hosts C1 and C2 use the RSVP-signaled LSP that correspond to the network IGP's shortest path.

    Configuration

    CLI Quick Configuration

    To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

    set interfaces ge-0/0/0 unit 0 family mplsset protocols rsvp interface ge-0/0/0.0 set protocols mpls label-switched-path r1-r7 to 10.0.9.7 set protocols mpls label-switched-path r1-r7 bandwidth 10m set protocols mpls interface all

    Step-by-Step Procedure

    The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

    To configure RSVP:

    1. Enable the MPLS family on all transit interfaces in the MPLS network.
      [edit]user@host# set interfaces ge-0/0/0 unit 0 family mpls
    2. Enable RSVP on each transit interface in the MPLS network.
      [edit]user @host# set protocols rsvp interface ge-0/0/0
    3. Enable the MPLS process on the transit interface in the MPLS network.
      [edit]user@host# set protocols mpls interface ge-0/0/0
    4. Define the LSP on the ingress router.
      [edit protocols mpls]user@host# set label-switched-path r1-r7 to 10.0.9.7
    5. Reserve 10 Mbps of bandwidth on the LSP.
      [edit protocols mpls]user @host# set label-switched-path r1-r7 bandwidth 10m

    Results

    Confirm your configuration by entering the show command from configuration mode. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    For brevity, this show command output includes only the configuration that is relevant to this example. Any other configuration on the system has been replaced with ellipses (...).

    user@host# show...interfaces {ge-0/0/0 {family mpls;}}}...protocols {rsvp {interface ge-0/0/0.0;}mpls {label-switched-path r1-r7 {to 10.0.9.7;bandwidth 10m;}interface all;}}...

    If you are done configuring the device, enter commit from configuration mode.

    Verification

    To confirm that the configuration is working properly, perform these tasks:

    Verifying RSVP Neighbors

    Purpose

    Verify that each device shows the appropriate RSVP neighbors—for example, that Router R1 in Figure 2 lists both Router R3 and Router R2 as RSVP neighbors.

    Action

    From the CLI, enter the show rsvp neighbor command.

    user@r1> show rsvp neighbor
    RSVP neighbor: 2 learned
    Address            Idle Up/Dn LastChange HelloInt HelloTx/Rx 
    10.0.6.2              0  3/2       13:01        3   366/349 
    10.0.3.3              0  1/0       22:49        3   448/448 
    

    The output shows the IP addresses of the neighboring routers. Verify that each neighboring RSVP router loopback address is listed.

    Verifying RSVP Sessions

    Purpose

    Verify that an RSVP session has been established between all RSVP neighbors. Also, verify that the bandwidth reservation value is active.

    Action

    From the CLI, enter the show rsvp session detail command.

    user@r1> show rsvp session detail
    Ingress RSVP: 1 sessions
    
    10.0.9.7
      From: 10.0.6.1, LSPstate: Up, ActiveRoute: 0
      LSPname: r1–r7, LSPpath: Primary
      Bidirectional, Upstream label in: –, Upstream label out: -
      Suggested label received: -, Suggested label sent: –
      Recovery label received: -, Recovery label sent: 100000
      Resv style: 1 FF, Label in: -, Label out: 100000
      Time left:    -,  Since: Thu Jan 26 17:57:45 2002
      Tspec: rate 10Mbps size 10Mbps peak Infbps m 20 M 1500
      Port number: sender 3 receiver 17 protocol 0
      PATH rcvfrom: localclient
      PATH sentto: 10.0.4.13 (ge-0/0/1.0) 1467 pkts
      RESV rcvfrom: 10.0.4.13  (ge-0/0/1.0) 1467 pkts
      Record route: <self> 10.0.4.13  10.0.2.1  10.0.8.10  
     

    The output shows the detailed information, including session IDs, bandwidth reservation, and next-hop addresses, for each established RSVP session. Verify the following information:

    • Each RSVP neighbor address has an entry for each neighbor, listed by loopback address.
    • The state for each LSP session is Up.
    • For Tspec, the appropriate bandwidth value, 10Mbps, appears.

    Verifying the Presence of RSVP-Signaled LSPs

    Purpose

    Verify that the routing table of the entry (ingress) router has a configured LSP to the loopback address of the other router. For example, verify that the inet.3 routing table of the R1 entry router in Figure 2 has a configured LSP to the loopback address of Router R7.

    Action

    From the CLI, enter the show route table inet.3 command.

    user@r1> show route table inet.3
    inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both
    
    10.0.9.7/32         *[RSVP/7] 00:05:29, metric 10
                        > to 10.0.4.17 via ge-0/0/0.0, label-switched-path r1–r7
    

    The output shows the RSVP routes that exist in the inet.3 routing table. Verify that an RSVP-signaled LSP is associated with the loopback address of the exit (egress) router, R7, in the MPLS network.

    Published: 2012-12-04