As a simple example showing how bandwidth is shared among the logical interfaces, assume that all traffic is sent on queue 0. Assume also that there is a 40-Mbps load on all of the logical interfaces. Configuration details are shown in Table 233.
Table 233: Sharing Bandwidth Among Logical Interfaces
Table 234: First Example of Bandwidth Sharing
However, unit 3 only has 20 Mbps extra (PIR and CIR) configured. This means that the leftover bandwidth of 16.22 Mbps (36.22 Mbps – 20 Mbps) is shared among units 1, and 2, and 4. This is shown in Table 235.
Table 235: Second Example of Bandwidth Sharing
|
Logical Interface (Unit) |
Calculation |
Bandwidth |
|---|---|---|
|
1 |
10 / (10+64+128+10) x 16.22 Mbps |
1.93 Mbps |
|
2 |
64 / (10+64+128+10) x 16.22 Mbps |
12.36 Mbps |
|
4 |
10 (10+64+128+10) x 16.22 Mbps |
1.93 Mbps |
Finally, Table 236 shows the resulting allocation of bandwidth among the logical interfaces when the port is configured with a 100-Mbps shaping rate.
Table 236: Final Example of Bandwidth Sharing
|
Logical Interface (Unit) |
Calculation |
Bandwidth |
|---|---|---|
|
1 |
2.83 Mbps + 1.93 Mbps |
4.76 Mbps |
|
2 |
20 Mbps + 18.11 Mbps + 12.36 Mbps |
50.47 Mbps |
|
3 |
20 Mbps + 20 Mbps |
40 Mbps |
|
4 |
2.83 Mbps + 1.93 Mbps |
4.76 Mbps |