Allocating bandwidth to an LSP lets the LSRs determine how much bandwidth the LSP can consume and how much of the available bandwidth resources can be advertised.
The user can specify the allocation of bandwidth for an LSP, including the maximum and average rates for packets that travel over it.
The user can specify an average mean-rate kbps for the data on the LSP. When necessary, data can travel at max-rate kbps, as long as the burst sent at the maximum rate contains no more than max-burst bytes.
To set the maximum rate of packets that can go through an LSP (in Kbps) complete the following steps.
device# configure
device(config)# router mpls
device(config-router-mpls)# lsp tunnel1
device(config-router-mpls-lsp-tunnel1)#)# traffic-engineering mean-rate 400 max-rate 500 max-burst 70000
The following example shows setting the maximum rate of packets that go through the LSP in Kbps.
device# configure device(config)# router mpls device(config-router-mpls)# lsp tunnel1 device(config-router-mpls-lsp-tunnel1)# traffic-engineering mean-rate 400 max-rate 500 max-burst 70000
device(config-router-mpls)# lsp tunnel1 device(config-router-mpls-lsp-tunnel1)# traffic-eng mean-rate 400
To set the maximum size (in bytes) of the largest burst the LSP can send at the maximum rate.
device(config-router-mpls)# lsp tunnel1 device(config-router-mpls-lsp-tunnel1)# traffic-eng max-burst 70000