1176 CHAPTER 77: RIP CONFIGURATION COMMANDS
rip metricin
Syntax rip metricin value
undo rip metricin
View Interface view
Parameters value: Additional metric added to received routes, in the range of 0 to 16.
Description Use the
rip metricin command to add a metric to the received routes.
Use the
undo rip metricin command to restore the default.
By default, the additional metric of a received route is 0.
When a valid RIP route is received, the system will add a metric to it and then put
it into the routing table. Therefore, the metric of routes received on the configured
interface is increased.
Related commands: rip metricout.
Examples # Configure an additional metric for routes received on Ethernet1/0.
<Sysname> system-view
[Sysname] interface ethernet1/0
[Sysname-Ethernet1/0] rip metricin 2
rip metricout
Syntax rip metricout value
undo rip metricout
View Interface view
Parameters value: Additional metric for outbound routes, in the range of 1 to 16.
Description Use the
rip metricout command to add a metric to a sent route.
Use the
undo rip metricout command to restore the default.
By default, the additional metric for sent routes is 1.
Before a RIP route is sent, a metric will be added to it. Therefore, when the metric
is configured on an interface, the metric of RIP routes sent on the interface will be
increased.
Related commands: rip metricin.