decr nh 0x952c308, type 4, flags 0x0, n_gw 1, nhid 0 to refcount 1Oct 30 17:16:57 Total 1 sessions: 1
success, 0 fail, 0 ignored
7. Issue the show mpls lsp autobandwidth command to display current information about
automatic bandwidth allocation. The following shows sample output from the show
mpls lsp autobandwidth command taken at about the same time as the log file shown
previously:
user@host> show mpls lsp autobandwidth
Lspname Last Requested Reserved Highwater AdjustTime LastAdjust
BW BW BW mark Left (sec)
E-D 300bps 812.005bps 812bps 1.56801kbps 294 sec Wed Oct 30 17:15:26 2013
8. Issue the file show command to display the MPLS trace file. You need to specify the
file location and file name (the file is located in /var/log/. The following shows sample
trace file output is taken from an MPLS trace file named auto-band-trace.0.gz on a
router configured with an LSP named E-D. The trace file shows that LSP E-D is
operating over its reserved bandwidth limit initially. At Oct 30 17:15:26, the router
triggers an automatic bandwidth adjustment (you might see two sessions for an LSP
undergoing an automatic bandwidth adjustment). By Oct 30 17:15: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> file show /var/log/auto-band-trace.0.gz
Oct 30 17:13:57 trace_on: Tracing to "/var/log/E/auto-band-trace" started
Oct 30 17:13:57.466825 LSP E-D (id 5) new bytes arrived 2714 in 29
sec
Oct 30 17:14:27.466713 E-D (LSP ID 5, Tunnel ID 6741) 241
pkt 19737 Byte 1 pps 88 Bps Util 234.67% Reserved Bw
37 Bps
Oct 30 17:14:27.466962 LSP E-D (id 5, old id 5); sampled bytes 19737 >
bytes recorded 17094
Oct 30 17:14:27.467035 LSP E-D (id 5) new bytes arrived 2643 in 29
sec
Oct 30 17:14:57.466599 E-D (LSP ID 5, Tunnel ID 6741) 276
pkt 22607 Byte 1 pps 95 Bps Util 253.34% Reserved Bw
37 Bps
Oct 30 17:14:57.466758 LSP E-D (id 5, old id 5); sampled bytes 22607 >
bytes recorded 19737
Oct 30 17:14:57.466825 LSP E-D (id 5) new bytes arrived 2870 in 29
sec
Oct 30 17:15:26.265816 Adjust Autobw: LSP E-D (id 5) curr adj bw 300bps updated
with 812.005bps
Oct 30 17:15:26.266064 mpls LSP E-D Autobw change 512.005bps >= threshold 75bps
Oct 30 17:15:26.363372 Autobw Success: LSP E-D () (old id 5 new id 6) update
prev active bw 300 bps with 812 bps
Oct 30 17:15:26.363686 RPD_MPLS_PATH_BANDWIDTH_CHANGE: MPLS path (lsp E-D)
bandwidth changed, path bandwidth 812 bps
Oct 30 17:15:27.364751 RPD_MPLS_LSP_BANDWIDTH_CHANGE: MPLS LSP E-D bandwidth
changed, lsp bandwidth 812 bps
Oct 30 17:15:27.466849 E-D (LSP ID 5, Tunnel ID 6741) 0
pkt 0 Byte 0 pps 0 Bps Util 0.00% Reserved Bw
37 Bps
Oct 30 17:15:27.467050 E-D (LSP ID 6, Tunnel ID 6741) 0
pkt 0 Byte 0 pps 0 Bps Util 0.00% Reserved Bw
101 Bps
Oct 30 17:15:57.466858 E-D (LSP ID 5, Tunnel ID 6741) 0
pkt 0 Byte 0 pps 0 Bps Util 0.00% Reserved Bw
621Copyright © 2017, Juniper Networks, Inc.
Chapter 20: Configuring MPLS and Pseudowires