traffic-engineering (LSP)

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.

Syntax

traffic-engineering { [ [ max-burst kbps ] | [ max-rate kbps ] | [ mean-rate kbps ] ] }
no traffic-engineering { [ [ max-burst kbps ] | [ max-rate kbps ] | [ mean-rate kbps ] ] }

Command Default

There are no allocated bandwidth allocations in the default mode.

Parameters

max-burst kbps
Specifies the maximum burst rate in bytes. The range is from 0-2147483647.
max-rate kbps
Specifies the maximum rate in kbps. The range is from 0-2147483647.
mean-rate kbps
Specifies the average rate in kbps. The range is from 0-2147483647.

Modes

MPLS LSP configuration mode (config-router-mpls-lsp-lsp_name)

MPLS router MPLS interface dynamic bypass configuration mode (config-router-mpls-if-ethernet-slot/port-dynamic-bypass)

Usage Guidelines

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.

Use the traffic-engineering command to configure bandwidth parameters for the dynamic bypass LSPs to be created for the MPLS protected interface.

When the interface mode mean-rate value not configured at all then all dynamic bypass LSPs are created with the bandwidth the same as the backup path requested bandwidth. This means that system tries to create a dynamic bypass LSP with the backup path requested bandwidth and the dynamic bypass LSP bandwidths can vary based on the backup riding on it.

When the interface mode configured mean-rate value is 0 kbps, then the system creates dynamic bypasses for backup bandwidth requests of only 0 kbps. When the backup path bandwidth is more than zero, then this request does not create a new dynamic bypass LSP. This option provides a way to the user to limit the dynamic bypass creations to only non-bandwidth protected backups.

When the interface mode configured mean-rate value is a non-zero value, then the system does not create dynamic bypasses for the backups which request backup bandwidth that is more than the interface mode configured value. When the backup bandwidth is less than, or equal to the configured value, then the request is used to ride an existing dynamic bypass or to create a new dynamic bypass. With this configuration, all the newly created dynamic bypasses have a fixed bandwidth, meaning the value is same as the interface mode user configured non-zero mean-rate value.

A mean-rate value that is more than the current interface reservable bandwidth is not desired. Configuration succeeds with the new value even when it is more than the interface reservable bandwidth.

The no form of the command removes the traffic-engineering options.

MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

Examples

The following example configures the maximum rate of packets that can go through LSP tunnel1 (in Kbps).

device# configure
device(config)# router mpls
device(config-router-mpls)# lsp tunnel1
device(config-router-mpls-lsp-tunnel1)# traffic-eng max-rate 20

The following example configures the average rate of packets that can go through LSP tunnel1 (in Kbps).

device# configure
device(config)# router mpls
device(config-router-mpls)# lsp tunnel1
device(config-router-mpls-lsp-tunnel1)# traffic-eng mean-rate 10

The following example configures the maximum size (in bytes) of the largest burst LSP tunnel1 can send at the maximum rate.

device# configure
device(config)# router mpls
device(config-router-mpls)# lsp tunnel1
device(config-router-mpls-lsp-tunnel1)# traffic-eng max-burst 10

The following example configures the traffic-engineering maximum rate to 1000000 kbps. for dynamic bypass MPLS Ethernet interface 2/8.

device# configure
device(config)# router mpls
device(config-router-mpls)# mpls-interface ethernet 2/8
device(config-router-mpls-if-ethernet-2/8)# dynamic-bypass
device(config-router-mpls-if-ethernet-2/8-dynamic-bypass)# traffic-eng max-rate  1000000