160 CHAPTER 6: USING ROUTING PROTOCOL COMMANDS
Description
Use the rip metricin command to configure an additional route metric to be
added to the route when an interface receives RIP packets.
Use the undo rip metricin command to restore the default value of this
additional route metric.
Related command: rip metricout.
Example
To set the additional route metric to 2 when the interface Vlan-interface 1 receives
RIP packets, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface Vlan-interface 1
[4500-Vlan-interface1]rip metricin 2
rip metricout Syntax
rip metricout value
undo rip metricout
View
Interface View
Parameter
value Enter an additional route metric added when transmitting a packet,
ranging from 1 to 16. By default, the value is 1.
Description
Use the rip metricout command to configure an additional route metric to be
added to a route when an interface transmits RIP packets.
Use the undo rip metricout command to restore the default value of the
additional route metric.
Related command: rip metricin.
Example
To set the additional route metric to 2 when the interface Vlan-interface 1
transmits RIP packets, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface Vlan-interface 1
[4500-Vlan-interface1]rip metricout 2
rip output Syntax
rip output
undo rip output