The JUNOS software does not require that a primary and secondary path share the same parameters. You may decide to configure your primary paths with strict resource requirements, and configure your secondary paths with less strict requirements, allowing your secondary paths to establish more readily during periods of diminished resources.
Action
To ensure that secondary paths establish when resources are diminished, follow these steps:
For example:
- [edit protocols mpls label-switched-path lsp-path-name]
- user@host# set primary primary-name bandwidth bandwidth
For example:
Sample Output
The sample output below illustrates a bandwidth configuration on ingress router R1 in the network shown in Figure 2.
[edit protocols mpls]
user@R1# show
label-switched-path r1-to-r4 {
to 192.168.4.1;
primary via-r2 {
bandwidth 35m;
}
secondary via-r7 { # In this example, bandwidth is not configured for the secondary path.
standby; # However you could configure a bandwidth value different from
} # that on the primary path.
}
[...Output truncated...]
Meaning
The sample output shows the primary path via-r2 requires 35 Mbps of bandwidth, while secondary path via-r7 has no constraints. The primary path is configured with strict resource requirements, while the secondary path is configured with no bandwidth requirements, allowing the secondary path to establish more readily during periods of diminished resources. One thing to keep in mind when configuring a secondary path without bandwidth requirements is that it can be subject to traffic loss due to congestion.