# Example: LOM Calculation

The following example illustrates how an LOM calculation is made for four classes of traffic: ct0, ct1, ct2, and ct3.

The class types have been assigned the following values:

These class type values yield the following bandwidth constraints:

LSPs from class type ct0 can take up to 100 percent of bandwidth on the link. LSPs from class type ct1 can take up to 60 percent of the bandwidth on the link, and so on.

If you assume for this example that the class types have the following LOM values:

In the absence of any other reservation, LSPs from class type ct0 can take up to 800 percent of the available bandwidth (8 x 100 = 800). In the absence of any other reservation, LSPs from class type ct1 can take up to 240 percent of the available bandwidth (4 x 60 = 240). and so on.

The maximum amount of bandwidth that can be reserved is:

For the undersubscribed class type ct3, the maximum reservable bandwidth is the same as the bandwidth constraint. For the overbooked class types, these values are not the values of the bandwidth constraint-taking into account the oversubscription for each class type separately. The oversubscription per class type in the sum is not taken into account because ultimately the entire bandwidth constraint can be filled with the bandwidth reservation of just one class type, so you have to account for that class type’s bandwidth oversubscription only.

When calculating the available bandwidth for CT`c`, you need to express reservations from other classes
as if they were from CT`c`. The reservation
from class ct`x` is normalized with
the LOM of ct`x`, but it is then multiplied
by the LOM of CT`c`.

For the previous example, assume that LSP1 has class type ct3 configured with bandwidth of 10 and a priority of 0.

The values for the reservable bandwidth will be:

These numbers can be rationalized as follows: the normalized reservation is 10 percent. If this bandwidth came from class type ct0, it would be equivalent to an overbooked reservation of 80 percent. You can see that 720 percent (800 – 80 = 720) of the bandwidth remains available for other LSPs.