Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


metric-in (Protocols RIP)


Hierarchy Level


Specify the metric to add to incoming routes when the routing device advertises into RIP routes that were learned from other protocols. Use this statement to configure the routing device to prefer RIP routes learned through a specific neighbor.


metric—Metric value.

  • Range: 1 through 16

  • Default: 1

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.