Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


metric (Protocols MPLS)


Hierarchy Level


Compare against another LSP or against an IGP route. To disable dynamic metric tracking, assign a fixed metric value to an LSP. If no metric is assigned, the LSP metric is dynamic and automatically tracks underlying IGP metrics.


metric—LSP metric value.

  • Default: No metric assigned (dynamic)

  • Range: 1 through 16,777,215

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.