$wgDBname<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=Manual%3ATE_tunnel_auto_bandwidth</id>
	<title>Manual:TE tunnel auto bandwidth - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.cablefree.net/support/radio/software/index.php?action=history&amp;feed=atom&amp;title=Manual%3ATE_tunnel_auto_bandwidth"/>
	<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=Manual:TE_tunnel_auto_bandwidth&amp;action=history"/>
	<updated>2026-06-13T18:49:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.3</generator>
	<entry>
		<id>https://www.cablefree.net/support/radio/software/index.php?title=Manual:TE_tunnel_auto_bandwidth&amp;diff=737&amp;oldid=prev</id>
		<title>Administrator: Created page with &quot;== Overview ==  By default MPLS TE tunnels do not apply any rate limitation on traffic that is sent over the TE tunnel. In this way the &quot;bandwidth&quot; settings for MPLS TE enable...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.cablefree.net/support/radio/software/index.php?title=Manual:TE_tunnel_auto_bandwidth&amp;diff=737&amp;oldid=prev"/>
		<updated>2015-08-26T18:28:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Overview ==  By default MPLS TE tunnels do not apply any rate limitation on traffic that is sent over the TE tunnel. In this way the &amp;quot;bandwidth&amp;quot; settings for MPLS TE enable...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
By default MPLS TE tunnels do not apply any rate limitation on traffic that is sent over the TE tunnel. In this way the &amp;quot;bandwidth&amp;quot; settings for MPLS TE enabled interfaces and TE tunnels are only used for reservation accounting.&lt;br /&gt;
There is also no means to adjust the bandwidth that is reserved for a TE tunnel other than by changing the tunnel configuration regardless of the actual amount of traffic sent over the tunnel. To make TE tunnels more flexible and&lt;br /&gt;
easy to use, the following features have therefore been introduced:&lt;br /&gt;
* Bandwidth limitation&lt;br /&gt;
* Automatic bandwidth adjustment&lt;br /&gt;
These features operate on the tunnel head end (ingress) router. These features can either be used alone or in combination.&lt;br /&gt;
&lt;br /&gt;
== Bandwidth limitation ==&lt;br /&gt;
&lt;br /&gt;
The TE tunnel can be configured to limit the rate at which traffic is allowed to enter the tunnel. Limit is specified on the ingress router as a percentage of the tunnel bandwidth. E.g. creating the following tunnel:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@R1] /interface traffic-eng&amp;gt; add name=te1 from-address=9.9.9.1 to-address=9.9.9.5 \&lt;br /&gt;
   bandwidth=100000 bandwidth-limit=120 primary-path=stat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
means that the TE tunnel will reserve a bandwidth of 100 kilobits per second across the MPLS backbone from 9.9.9.1 to 9.9.9.5 and that the ingress router will limit the rate of traffic entering the tunnel to 120 kilobits per second&lt;br /&gt;
(as 120% of 100 kilobits per second bandwidth is 120kbps).&lt;br /&gt;
This can be confirmed by monitoring tunnel interface:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@R1] /interface traffic-eng&amp;gt; monitor te1&lt;br /&gt;
              tunnel-id: 3&lt;br /&gt;
     primary-path-state: established&lt;br /&gt;
           primary-path: stat&lt;br /&gt;
   secondary-path-state: not-necessary&lt;br /&gt;
            active-path: stat&lt;br /&gt;
           active-lspid: 1&lt;br /&gt;
           active-label: 20&lt;br /&gt;
     reserved-bandwidth: 100.0kbps&lt;br /&gt;
             rate-limit: 120.0kbps&lt;br /&gt;
     rate-measured-last: 0bps&lt;br /&gt;
  rate-measured-highest: 0bps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that by default, any limiting is disabled. By specifying the limit as a percentage of the tunnel bandwidth, TE tunnel bandwidth limits can be configured in various flexible ways - some tunnels can be configured to hard limit&lt;br /&gt;
while others can be configured with a reasonable reserve, thus achieving different classes of service.&lt;br /&gt;
&lt;br /&gt;
== Automatic bandwidth adjustment ==&lt;br /&gt;
&lt;br /&gt;
Auto bandwidth adjustment feature enables the MPLS TE network to follow the changes of the amount of data transmitted over the tunnel.&lt;br /&gt;
Bandwidth adjustment feature works as follows:&lt;br /&gt;
* Actual amount of data entering tunnel during averaging interval (&amp;lt;b&amp;gt;auto-bandwidth-avg-interval&amp;lt;/b&amp;gt;) is measured, producing average rate.&lt;br /&gt;
* Tunnel keeps track of highest average rate seen during update interval (&amp;lt;b&amp;gt;auto-bandwidth-update-interval&amp;lt;/b&amp;gt;)&lt;br /&gt;
* When update interval expires, TE tunnel bandwidth is updated to highest observed average rate, taking into account specified range over which bandwidth is allowed to change (&amp;lt;b&amp;gt;auto-bandwidth-range&amp;lt;/b&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Auto bandwidth adjustment feature gets enabled by specifying &amp;lt;b&amp;gt;auto-bandwidth-range&amp;lt;/b&amp;gt;. For example, by adding the following tunnel:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@R1] /interface traffic-eng&amp;gt; add name=te1 from-address=9.9.9.1 to-address=9.9.9.5 \&lt;br /&gt;
  bandwidth=100000 primary-path=stat auto-bandwidth-range=10000-500000 \&lt;br /&gt;
  auto-bandwidth-avg-interval=10s auto-bandwidth-update-interval=1m&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
means that the tunnel will measure the average rate over 10 second periods and once a minute it will update the bandwidth in a range from 10 to 500 kilobits per second. Tunnel &amp;lt;b&amp;gt;bandwidth&amp;lt;/b&amp;gt; setting specifies the initial bandwidth of the tunnel. The above tunnel in the complete absence of any data over it after 1 minute will change its bandwidth to the specified minimum 10 kbps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@R1] /interface traffic-eng&amp;gt; monitor te1&lt;br /&gt;
              tunnel-id: 3&lt;br /&gt;
     primary-path-state: established&lt;br /&gt;
           primary-path: stat&lt;br /&gt;
   secondary-path-state: not-necessary&lt;br /&gt;
            active-path: stat&lt;br /&gt;
           active-lspid: 2&lt;br /&gt;
           active-label: 21&lt;br /&gt;
     reserved-bandwidth: 10.0kbps&lt;br /&gt;
             rate-limit: 12.0kbps&lt;br /&gt;
     rate-measured-last: 0bps&lt;br /&gt;
  rate-measured-highest: 0bps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additionally, a TE tunnel can be configured to reserve more bandwidth than that measured. This can be achieved with &amp;lt;b&amp;gt;auto-bandwidth-reserve&amp;lt;/b&amp;gt; setting which specifies the percentage of additional bandwidth to reserve - so,&lt;br /&gt;
setting &amp;lt;b&amp;gt;auto-bandwith-reserve&amp;lt;/b&amp;gt; to 10 means that the tunnel will reserve 10% more bandwidth than that measured (but it will still obey the &amp;lt;b&amp;gt;auto-bandwidth-range&amp;lt;/b&amp;gt;). For example changing the above tunnel and running a constant stream of 50kbps through it will yield the following results:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@R1] /interface traffic-eng&amp;gt; set te1 auto-bandwidth-reserve=30&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To begin with, tunnel reserves its initially specified bandwidth:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@R1] /interface traffic-eng&amp;gt; monitor te1&lt;br /&gt;
              tunnel-id: 6&lt;br /&gt;
     primary-path-state: established&lt;br /&gt;
           primary-path: stat&lt;br /&gt;
   secondary-path-state: not-necessary&lt;br /&gt;
            active-path: stat&lt;br /&gt;
           active-lspid: 1&lt;br /&gt;
           active-label: 27&lt;br /&gt;
     reserved-bandwidth: 100.0kbps&lt;br /&gt;
             rate-limit: 120.0kbps&lt;br /&gt;
     rate-measured-last: 48.8kbps&lt;br /&gt;
  rate-measured-highest: 48.8kbps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After the update period and after previous reservations are torn down, notice how the reserved bandwidth exceeds the average rate by 30%. Also notice that &amp;lt;b&amp;gt;rate-limit&amp;lt;/b&amp;gt; correctly changes to 120% of &amp;lt;b&amp;gt;reserved-bandwidth&amp;lt;/b&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@R1] /interface traffic-eng&amp;gt; monitor te1&lt;br /&gt;
              tunnel-id: 6&lt;br /&gt;
     primary-path-state: established&lt;br /&gt;
           primary-path: stat&lt;br /&gt;
   secondary-path-state: not-necessary&lt;br /&gt;
            active-path: stat&lt;br /&gt;
           active-lspid: 2&lt;br /&gt;
           active-label: 28&lt;br /&gt;
     reserved-bandwidth: 64.4kbps&lt;br /&gt;
             rate-limit: 77.3kbps&lt;br /&gt;
     rate-measured-last: 48.8kbps&lt;br /&gt;
  rate-measured-highest: 48.8kbps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that in the case where a reservation must be updated to a lower value, for a brief period after update period &amp;lt;b&amp;gt;reserved-bandwidth&amp;lt;/b&amp;gt; will still display the previous reservation value. The reason for this is that the new reservation is made without disrupting the previous tunnel and therefore shares its reservation until the old reservation is torn down. &amp;lt;b&amp;gt;rate-limit&amp;lt;/b&amp;gt; in turn is correctly updated to the intended value. In the above example, after stopping the 50kbps stream and after the update period has passed with the tunnel being idle, for a brief period after an update the tunnel info can be:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@R1] /interface traffic-eng&amp;gt; monitor te1&lt;br /&gt;
              tunnel-id: 6&lt;br /&gt;
     primary-path-state: established&lt;br /&gt;
           primary-path: stat&lt;br /&gt;
   secondary-path-state: not-necessary&lt;br /&gt;
            active-path: stat&lt;br /&gt;
           active-lspid: 2&lt;br /&gt;
           active-label: 34&lt;br /&gt;
     reserved-bandwidth: 63.4kbps&lt;br /&gt;
             rate-limit: 12.0kbps&lt;br /&gt;
     rate-measured-last: 0bps&lt;br /&gt;
  rate-measured-highest: 0bps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After previous reservation (63.4kbps) is torn down, &amp;lt;b&amp;gt;reserved-bandwidth&amp;lt;/b&amp;gt; correctly changes to 10kbps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[admin@R1] /interface traffic-eng&amp;gt; monitor 1&lt;br /&gt;
              tunnel-id: 6&lt;br /&gt;
     primary-path-state: established&lt;br /&gt;
           primary-path: stat&lt;br /&gt;
   secondary-path-state: not-necessary&lt;br /&gt;
            active-path: stat&lt;br /&gt;
           active-lspid: 2&lt;br /&gt;
           active-label: 34&lt;br /&gt;
     reserved-bandwidth: 10.0kbps&lt;br /&gt;
             rate-limit: 12.0kbps&lt;br /&gt;
     rate-measured-last: 0bps&lt;br /&gt;
  rate-measured-highest: 0bps&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note that &amp;lt;b&amp;gt;auto-bandwidth-reserve&amp;lt;/b&amp;gt; is applied to the actual measured bandwidth, before range checking according to &amp;lt;b&amp;gt;auto-bandwidth-range&amp;lt;/b&amp;gt; - therefore 10kbps gets reserved, instead of 13kbps.&lt;br /&gt;
&lt;br /&gt;
== Combining bandwidth limitation with automatic bandwidth adjustment ==&lt;br /&gt;
&lt;br /&gt;
Auto bandwidth adjustment can be used in combination with the bandwidth limit feature - &amp;lt;b&amp;gt;bandwidth-limit&amp;lt;/b&amp;gt; setting will apply to the bandwidth actually reserved for the tunnel. In order to successfully combine both features,&lt;br /&gt;
actual bandwidth must be allowed to fluctuate to some extent - e.g. if &amp;lt;b&amp;gt;bandwidth-limit&amp;lt;/b&amp;gt; is configured to 100% (this effectively means that the rate will be limited to the bandwidth reserved for the tunnel), then the tunnel&lt;br /&gt;
will not have any chance to increase it&amp;#039;s reservation. Therefore either &amp;lt;b&amp;gt;bandwidth-limit&amp;lt;/b&amp;gt; should be configured to more than 100%, or &amp;lt;b&amp;gt;auto-bandwidth-reserve&amp;lt;/b&amp;gt; should be configured to more than 0%.&lt;br /&gt;
&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:MPLS]]&lt;br /&gt;
[[Category:Internetworking]]&lt;br /&gt;
[[Category:Case Studies]]&lt;br /&gt;
[[Category:QoS]]&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>