[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

preference

Syntax

preference preference;

Hierarchy Level

[edit logical-systems logical-system-name protocols mpls],
[edit logical-systems logical-system-name protocols mpls interface interface-name label-map (in-label | default-route)],
[edit logical-systems logical-system-name protocols mpls label-switched-path lsp-name],
[edit logical-systems logical-system-name protocols mpls label-switched-path lsp-name (primary | secondarypath-name],
[edit logical-systems logical-system-name protocols mpls static-path inet address],
[edit protocols mpls],
[edit protocols mpls interface interface-name label-map (in-label | default-route)],
[edit protocols mpls label-switched-path lsp-name],
[edit protocols mpls label-switched-path lsp-name (primary | secondarypath-name],
[edit protocols mpls static-path inet address]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Preference for the route.

You can optionally configure multiple LSPs between the same pair of ingress and egress routers. This is useful for balancing the load among the LSPs because all LSPs, by default, have the same preference level. To prefer one LSP over another, set different preference levels for individual LSPs. The LSP with the lowest preference value is used. The default preference for LSPs is lower (more preferred) than all learned routes except direct interface routes.

Options

preference—Preference to assign to the route. A route with a lower preference value is preferred.

Range: 1 through 255
Default: 5 for static MPLS LSPs, 7 for RSVP MPLS LSPs, 9 for LDP MPLS LSPs

Usage Guidelines

See Configuring Preference Values for LSPs, Configuring Static LSPs, and Configuring the Intermediate and Egress Routers for Static LSPs.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]