Configuring Reporting of Automatic Bandwidth Allocation Statistics for LSPs
Automatic bandwidth allocation allows an MPLS tunnel to automatically adjust its
bandwidth allocation based on the volume of traffic flowing through the tunnel. You can
configure the device to collect statistics related to automatic bandwidth allocation by
completing the following steps:
1. To collect statistics related to automatic bandwidth allocation, configure the
auto-bandwidth option for the statistics statement at the [edit protocols mpls]
hierarchy level. These settings apply to all LSPs configured on the router on which
you have also configured the auto-bandwidth statement at the [edit protocols mpls
label-switched-path label-switched-path-name] hierarchy level.
statistics {
auto-bandwidth (MPLS Statistics);
file filename <files number> <size size> <world-readable | no-world-readable>;
interval seconds;
no-transit-statistics;
transit-statistics-polling;
}
2. Specify the filename for the files used to store the MPLS trace operation output using
the file option. All files are placed in the directory /var/log. We recommend that you
place MPLS tracing output in the file mpls-log.
3. Specify the maximum number of trace files using the files number option. When a
trace file named trace-file reaches its maximum size, it is renamed trace-file.0, then
trace-file.1, and so on, until the maximum number of trace files is reached. Then the
oldest trace file is overwritten.
4. Specify the interval for calculating the average bandwidth usage by configuring a time
in seconds using the interval option. You can also set the adjustment interval on a
specific LSP by configuring the interval option at the [edit protocols mpls
label-switch-path label-switched-path-name statistics] hierarchy level.
NOTE: To prevent unnecessary resignaling of LSPs, it is best to configure
an LSP adjustment interval that is at least three times longer than the
MPLS automatic bandwidth statistics interval. For example, if you
configure a value of 30 seconds for the MPLS automatic bandwidth
statistics interval (interval statement at the [edit protocols mpls statistics]
hierarchy level), you should configure a value of at least 90 seconds for
the LSP adjustment interval (adjust-interval statement at the [edit
protocols mpls label-switched-path label-switched-path-name
auto-bandwidth] hierarchy level).
619Copyright © 2017, Juniper Networks, Inc.
Chapter 20: Configuring MPLS and Pseudowires