You configure a multiclass LSP by using the standard LSP configuration statements and procedures. To configure an LSP as a multiclass LSP, specify the class type bandwidth constraints by including the bandwidth statement:
-
bandwidth {
- ct0 bps;
- ct1 bps;
- ct2 bps;
- ct3 bps;
- }
For a list of hierarchy levels at which you can include the bandwidth statement, see the statement summary sections for these statements.
The class type statements specify bandwidth (in bits per second) for the following classes:
For example, to configure 50 megabytes of bandwidth for class type 1 and 30 megabytes of bandwidth for class type 2, include the bandwidth statement as follows:
- [edit protocols mpls]
- label-switched-path traffic-class {
-
- bandwidth {
- ct1 50M;
- ct2 30M;
- }
- }
You cannot configure a bandwidth for a class type and also configure a bandwidth at the [edit protocols mpls label-switched-path lsp-name bandwidth] hierarchy level. For example, the following configuration cannot be committed:
- [edit protocols mpls]
- label-switched-path traffic-class {
-
- bandwidth {
- 20M;
- ct1 10M;
- }
- }
You can configure setup and holding priorities for a multiclass LSP, but the following restrictions apply: