1176
C
77: RIP C
HAPTER
rip metricin
Syntax
View
Parameters
Description
Related commands:
Examples
rip metricout
Syntax
View
Parameters
Description
Related commands:
C
ONFIGURATION
OMMANDS
rip metricin value
undo rip metricin
Interface view
value: Additional metric added to received routes, in the range of 0 to 16.
Use the
rip metricin
Use the
undo rip metricin
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.
rip metricout.
# 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 value
undo rip metricout
Interface view
value: Additional metric for outbound routes, in the range of 1 to 16.
Use the
rip metricout
Use the
undo rip metricout
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.
rip metricin.
command to add a metric to the received routes.
command to restore the default.
command to add a metric to a sent route.
command to restore the default.