I explained in the previous post how the RSVP-TE Explicit Route Object (ERO) specifies the path of an MPLS LSP by means of a sequenced list of Label Switching Routers (LSRs) that the LSP must pass through between the ingress and egress LSRs. RSVP-TE uses the path described in the ERO to signal and set up the LSP. That’s the foundation of MPLS traffic engineering: The ability to set up a path that is different from what the local IGP considers the optimum path between the ingress and egress, as shown in Figure 1.
In fact, different LSPs between the same two endpoints can take different paths. It all depends on what constraints you place on each LSP. For example, each LSP might require different amounts of reserved bandwidth or might be constrained by the types of links they can use.
The question we were left with at the end of the previous post was: How is the ERO created at the ingress?
You can of course manually configure the ERO for each LSP at each ingress router, but this is administratively challenging. Not only because of the number of LSPs you might have to configure, but also because a sizeable network changes regularly. The constraints you require of an LSP will remain the same, but when the network circumstances change the best path meeting those constraints might change. You don’t want to have to recalculate all of your EROs, for example, every time the available bandwidth on a link somewhere in your network core changes.
As a problem statement, all of this should sound familiar to you.
You use a routing protocol to automatically calculate the best path from each router to each destination. If the network changes, the routing protocol takes the change into account and recalculates paths as necessary.
The routing protocol determines the best path according to constraints. In the case of RIP, OSPF, and IS-IS, the constraint is a simple sum of interface metrics. In the case of EIGRP the constraints can be based on multiple link characteristics: bandwidth, delay, load, and reliability. BGP constrains its path selection based on a prioritization of characteristics called path attributes.
While the distance vector protocols (RIP, EIGRP, and BGP) perform distributed hop-by-hop calculations based on local interface information, the link state protocols (OSPF and IS-IS) perform individual, local calculations based on distributed interface information.
It’s that local calculation of distributed interface information that gets us where we need to be to automatically compute EROs at ingress LSRs, so let’s look more closely at link state protocols.
Each link state router creates a protocol data unit that identifies the router, its directly connected neighbors, and the local interface costs to the neighbors. The data unit is then flooded throughout the defined protocol area. Each router within the area stores all of the data units in a database, and uses the database as the input to a Shortest Path First (SPF) calculation. The output of the SPF calculation is the shortest path to every other router in the area, and that information is used to make entries in the local routing table indicating the optimum next hop to the prefixes attached to those routers.
A link state protocol can be easily extended to include other local information in the protocol data unit it floods. So to support MPLS traffic engineering, both OSPF and IS-IS have extensions that enable each router to flood extra information about each of its interfaces:
· Maximum bandwidth
· Maximum reservable bandwidth (the portion of the maximum bandwidth that can be reserved for exclusive use by an individual LSP)
· Unreserved bandwidth (the percentage of the maximum reservable bandwidth not yet reserved by any LSP)
· An interface metric that can be used separately from the IGP interface metric
· The administrative groups to which the interface belongs (Commonly called “link color,” an administrative group allows the formation of policies that dictate what links an individual LSP can or cannot traverse.)
When this information is flooded, each LSR stores the information in a database called the traffic engineering database. When you configure an LSP at an ingress router, you can specify constraints based on any or all of that flooded information: The amount of bandwidth the LSP requires, the cost of the path, and the link “colors” the LSP must or must not use.
The ingress LSR then runs a special version of SPF called Constrained Shortest Path First (CSPF) that takes as its input both the information in the traffic engineering database and the constraints you configure.
Figure 2 shows the relationships between the link state database and the traffic engineering database, SPF and CSPF, and the outputs of each. Where the results of the SPF calculation are used to make entries in the unicast routing table, RSVP-TE takes the ERO resulting from the CSPF calculation and sends PATH messages to the egress to reserve resources for the LSP. As explained in the previous post, the egress LSP sends RESV messages back to the ingress to distribute the labels; this is what actually sets up the LSP. Once this process is complete, RSVP can make entries into the unicast routing table that indicates the LSP as a virtual link to the egress LSR.
The bottom line is, if you understand the operation of link state protocols it is an easy jump to understanding how RSVP-TE and MPLS traffic engineering work.
Having taken several posts to explain RSVP, I’ll probably move on to a few other topics; but I’ll soon post another entry discussing Label Distribution Protocol (LDP) and its differences from RSVP-TE.
Rocky Mountain IPv6 Summit
The Rocky Mountain IPv6 Task Force will be holding its first Rocky Mountain IPv6 Summit in Denver on April 9th. We’re lining up a good group of speakers and a very informative agenda; if you’re in the Colorado-Wyoming-New Mexico region and want to know more about IPv6, I hope to see you there!
You can get more information, and sign up, at:
http://www.rmv6tf.org/SpringEvent.htm
Jeff Doyle is president of Jeff Doyle and Associates, an IP network consultancy. Jeff is the author of Routing TCP/IP, Volumes I (read an excerpt) and II and of OSPF and IS-IS: Choosing an IGP for Large-Scale Networks. He is a frequent speaker on IPv6, MPLS, and large-scale routing.
The opinions expressed in this Weblog are those of the writer and may not represent the opinions of Network World.
|
|
ERO
Hi,
The ERO as u said is the output of cspf on the local area database that has been constructed by flooding.
now that once u have the database we can directly check out all the LSR interfaces that satisfy the constraint say some b units of bandwidth, starting from ingress to egress.
now that we have a list we ought to do a strict source routing through the LSR as they match the criteria .
if we specify a loose source routing it may lead us to a router which does not match the criteria.
so essentially all the LSR in the ERO should be a strict route.
so can u explain the appearance of loose route in the ERO.
Re: ERO
A "loose" path segment is usually only specified when doing manual EROs. As far as I've seen, the CSPF will always calculate strict paths.
--Jeff
Dear Jeff , how wonderful to expect to !
Dear,Jeff
I'm expecting your next,next,next topic of MPLS VPN,
ha-ha..
Thanks a lot!
BG
Jason
----------
Welcome to
http://www.netyourlife.net
CSPF
Hi Jeff,
If you configure two instance of OSPF on a PE. Both of them have traffic-engineering function enable.
When configuring LSP to remote PE, on which TED will the LSP use to setup the link. Both of the OSPF instance have network reachability to remote PE.
regards
Re: CSPF
Hi,
I assume you mean separate OSPF instances for L3VPN. In such a case, OSPF does not really have reachability to the remote PE. Instead, MP-BGP carries the reachability information across the MPLS network, and OSPF reachability is localized to each PE and its corresponding CE. So while separate instances appear at the PE, there is nothing to apply traffic engineering to in the core.
The other application of instances, outside of L3VPNs, is mainly for policy differentiation. As far as I know -- although I haven't tried doing it, so I can't say for sure -- traffic engineering cannot be used in that context except on the primary instance.
--Jeff
Thanks!, appreciate your
Thanks!, appreciate your reply
Link color
Hi! I am just wondering what happens if one of the constraints is the link color and if the egress node
is assigned another one?
Re: Link color
Like other metrics, link color is taken into account on outgoing interfaces. So by definition, link color would have no bearing at the egress router. The MPLS tunnel terminates when it hits that router.
-Jeff
Post new comment