preference
Syntax
preferencepreference;Hierarchy Level
[edit logical-routerslogical-router-nameprotocols mpls],[edit logical-routerslogical-router-nameprotocols mpls interfaceinterface-namelabel-mapdefault-route],[edit logical-routerslogical-router-nameprotocols mpls interfaceinterface-namelabel-mapin-label],[edit logical-routerslogical-router-nameprotocols mplslabel-switched-pathlsp-path-name],[edit logical-routerslogical-router-nameprotocols mpls label-switched-pathlsp-path-name(primary|secondary)path-name],[edit logical-routerslogical-router-nameprotocols mplsstatic-pathinetaddress],[edit protocols mpls],[edit protocols mpls interfaceinterface-namelabel-mapdefault-route],[edit protocols mpls interfaceinterface-namelabel-mapin-label],[edit protocols mplslabel-switched-pathlsp-path-name],[edit protocols mpls label-switched-pathlsp-path-name(primary|secondary)path-name],[edit protocols mplsstatic-pathinetprefix]Description
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 LSPsUsage Guidelines
See Configuring the LSP Preference, Configuring the Ingress Router for 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.