172 CHAPTER 6: USING ROUTING PROTOCOL COMMANDS
[SW5500]interface Vlan-interface 1
[SW5500-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:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface Vlan-interface 1
[SW5500-Vlan-interface1]rip metricout 2
rip output Syntax
rip output
undo rip output
View
Interface View
Parameter
None
Description
Use the rip output command to allow an interface to transmit RIP packets.
Use the undo rip output command to disable an interface from transmitting RIP
packets.
By default, all interfaces except loopback interfaces are able to transmit RIP
packets.