[an error occurred while processing this directive][an error occurred while processing this directive]

Configure a Primary Path

Action

To configure a primary path with an ERO list, bandwidth, and priority, follow these steps:

  1. In configuration mode, go to the following hierarchy level:
    [edit]user@host# edit protocols mpls
  2. Configure the primary ERO list:
    [edit protocols mpls]user@host# set path path-name address strict

    For example:

    [edit protocols mpls]user@R1# set path via-r2 10.0.12.14 strict user@R1# set path via-r2 10.0.24.2 strict
  3. Configure the LSP:
    [edit protocols mpls]user@host# set label-switched-path lsp-path-name to destination;

    For example:

    [edit protocols mpls]user@R1# set label-switched-path r1-to-r5 to 192.168.5.1;
  4. Configure the primary path:
    [edit protocols mpls label-switched-path lsp-path-name] user@host# set primary primary-name

    For example:

    [edit protocols mpls label-switched-path r1-to-r5]user@R1# set primary via-r2
  5. Configure the bandwidth:
    [edit protocols mpls label-switched-path lsp-path-name]user@host# set primary primary-name bandwidth bandwidth

    For example:

    [edit protocols mpls label-switched-path r1-to-r5]user@R1# set primary via-r2 bandwidth 35m
  6. Configure the priority value:
    [edit protocols mpls label-switched-path lsp-path-name]user@host# set primary primary-name priority reservation-priority setup-priority

    For example:

    [edit protocols mpls label-switched-path r1-to-r5]user@R1# set primary via-r2 priority 6 6
  7. Verify and commit the configuration:
    [edit protocols mpls label-switched-path lsp-path-name]user@host# show user@host# commit

Sample Output

The sample output below illustrates the configuration of the primary path on ingress router R1 in the network shown in Primary Path.

[edit protocols mpls]
user@R1# show  
label-switched-path r1-to-r5 {
    to 192.168.5.1;
    primary via-r2 {   #  Bandwidth and priority configured at the primary path 
        bandwidth 35m; #  level of the hierarchy
        priority 6 6; #  Priority setup and hold values
    }
}
path via-r2 { #  Primary ERO list
    10.0.12.14 strict;
    10.0.24.2 strict;
[...Output truncated...]

[edit protocols mpls]
user@R1# commit  
commit complete

Meaning

The sample output shows a label-switched path (LSP) with bandwidth and priority applied to only one primary path. The same parameters specified one level up in the hierarchy, at the [edit protocols mpls label-switched-path lsp-path-name] hierarchy level, affect all paths.

The path, via-r2, specifies the complete strict path from the ingress to the egress routers through 10.0.12.14, 10.0.24.2, in that order. There cannot be any intermediate routers except the ones specified. However, there can be intermediate routers between 10.0.24.2 and the egress router because the egress router is not specifically listed in the path statement. To prevent intermediate routers before egress, configure the egress router as the last router, with a strict type.

For more information on configuring a primary path, see the JUNOS MPLS Applications Configuration Guide.


Published: 2010-01-30

[an error occurred while processing this directive]