metric-in
Syntax
metric-in metric;
Hierarchy Level
[edit logical-systems logical-system-name protocols rip],[edit logical-systems logical-system-name protocols rip group group-name neighbor neighbor-name],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols rip],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols
rip group group-name neighbor neighbor-name],[edit protocols rip],[edit protocols rip group group-name neighbor neighbor-name],[edit routing-instances routing-instance-name protocols rip],[edit routing-instances routing-instance-name protocols rip group group-name neighbor neighbor-name]
Release Information
Statement introduced before JUNOS Release 7.4.
Statement introduced in JUNOS Release 9.0 for EX Series switches.
Description
Specify the metric to add to incoming routes when advertising 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.
Options
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.