5. To trace automatic bandwidth allocation, include the autobw-state flag for the MPLS
traceoptions statement at the [edit protocols mpls] hierarchy level.
The following configuration enables the MPLS traceoptions for automatic bandwidth
allocation. The trace records are stored in a file called auto-band-trace (the filename
is user configurable):
[edit protocols mpls]
traceoptions {
file auto-band-trace size 10k files 10 world-readable;
flag autobw-state;
}
6. Using the show log command, you can display the automatic bandwidth allocation
statistics file generated when you configure the auto-bandwidth (MPLS Statistics)
statement. The following shows sample log file output taken from an MPLS statistics
file named auto-band-stats on a router configured with an LSP named E-D. The log
file shows that LSP E-D is operating over its reserved bandwidth limit initially. Before
Oct 30 17:14:57, the router triggered an automatic bandwidth adjustment (you might
see two sessions for an LSP undergoing an automatic bandwidth adjustment). By Oct
30 17:16:57, the LSP has been reestablished at a higher bandwidth and is now shown
using less than 100 percent of its Reserved Bw (reserved bandwidth).
user@host> show log auto-band-stats
E-D (LSP ID 5, Tunnel ID 6741) 209 pkt 17094 Byte 1 pps 90 Bps Util
240.01% Reserved Bw 37 Bps
decr nh 0x952c224, type 4, flags 0x0, n_gw 1, nhid 0 to refcount 1Oct 30 17:13:57 Total 1 sessions: 1
success, 0 fail, 0 ignored
E-D (LSP ID 5, Tunnel ID 6741) 241 pkt 19737 Byte 1 pps 88 Bps Util
234.67% Reserved Bw 37 Bps
decr nh 0x952c224, type 4, flags 0x0, n_gw 1, nhid 0 to refcount 1Oct 30 17:14:27 Total 1 sessions: 1
success, 0 fail, 0 ignored
E-D (LSP ID 5, Tunnel ID 6741) 276 pkt 22607 Byte 1 pps 95 Bps Util
253.34% Reserved Bw 37 Bps
decr nh 0x952c224, type 4, flags 0x0, n_gw 1, nhid 0 to refcount 1Oct 30 17:14:57 Total 1 sessions: 1
success, 0 fail, 0 ignored
E-D (LSP ID 5, Tunnel ID 6741) 0 pkt 0 Byte 0 pps 0 Bps Util
0.00% Reserved Bw 37 Bps
E-D (LSP ID 6, Tunnel ID 6741) 0 pkt 0 Byte 0 pps 0 Bps Util
0.00% Reserved Bw 101 Bps
decr nh 0x952c224, type 4, flags 0x0, n_gw 1, nhid 0 to refcount 1decr nh 0x952c308, type 4, flags 0x0,
n_gw 1, nhid 0 to refcount 1Oct 30 17:15:27 Total 2 sessions: 2 success, 0 fail, 0 ignored
E-D (LSP ID 5, Tunnel ID 6741) 0 pkt 0 Byte 0 pps 0 Bps Util
0.00% Reserved Bw 37 Bps
E-D (LSP ID 6, Tunnel ID 6741) 33 pkt 2695 Byte 1 pps 89 Bps Util
87.69% Reserved Bw 101 Bps
decr nh 0x952c224, type 4, flags 0x0, n_gw 1, nhid 0 to refcount 1decr nh 0x952c308, type 4, flags 0x0,
n_gw 1, nhid 0 to refcount 1Oct 30 17:15:57 Total 2 sessions: 2 success, 0 fail, 0 ignored
E-D (LSP ID 5, Tunnel ID 6741) 0 pkt 0 Byte 0 pps 0 Bps Util
0.00% Reserved Bw 37 Bps
E-D (LSP ID 6, Tunnel ID 6741) 65 pkt 5338 Byte 1 pps 88 Bps Util
86.70% Reserved Bw 101 Bps
decr nh 0x952c224, type 4, flags 0x0, n_gw 1, nhid 0 to refcount 1decr nh 0x952c308, type 4, flags 0x0,
n_gw 1, nhid 0 to refcount 1Oct 30 17:16:27 Total 2 sessions: 2 success, 0 fail, 0 ignored
E-D (LSP ID 6, Tunnel ID 6741) 97 pkt 7981 Byte 1 pps 88 Bps Util
86.70% Reserved Bw 101 Bps
Copyright © 2017, Juniper Networks, Inc.620
ACX Series Universal Access Router Configuration Guide