Allocating Bandwidth to an LSP

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.

  1. Enable the device for configuration.
    device# configure
  2. Enable the MPLS router.
    device(config)# router mpls
  3. Enable and configure the label switched path (LSP)
    device(config-router-mpls)# lsp tunnel1
    In this example, the LSP is configured to specify the LSP named 'tunnel1'.
  4. Enable traffic engineering parameter configuration and configure the max-rate.
    device(config-router-mpls-lsp-tunnel1)#)# traffic-engineering mean-rate 400 max-rate 500 max-burst 70000
    In this example, the mean-rate is configured to 400, the max-rate to 400, and the max-burst to 70000.

Example

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

To set the average rate of packets that can go through an LSP (in Kbps).
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