Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 2 RIP Configuration Commands
2-20
By default, the additional metric of a received route is 0.
When a valid RIP route is received, the system adds a metric to it and then installs 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 VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] rip metricin 2
2.1.21 rip metricout
Syntax
rip metricout value
undo rip metricout
View
Interface view
Parameters
value
: Additional metric of sent 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
.
Examples
# Configure an additional metric of 12 for RIP routes sent on VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] rip metricout 12