IP Routing Features 
Configuring RIP 
Note  IP routing must be enabled prior to enabling RIP. The first command in the 
preceding sequence enables IP routing. 
Changing the RIP Type on a VLAN Interface 
When you enable RIP on a VLAN interface, RIPv2-only is enabled by default. 
You can change the RIP type to one of the following on an individual VLAN 
interface basis: 
■  Version 1 only 
■  Version 2 only (the default) 
■  Version 1 - compatible - version 2 
To change the RIP type supported on a VLAN interface, enter commands such 
as the following: 
HPswitch(config)# vlan 1 
HPswitch(vlan-1)# ip rip v1-only 
HPswitch(vlan-1)# exit 
HPswitch(config)# write memory 
Syntax:  [no] ip rip < v1-only | v1-compatible-v2 | v2-only > 
Changing the Cost of Routes Learned on a VLAN Interface 
By default, the switch interface increases the cost of a RIP route that is learned 
on the interface. The switch increases the cost by adding one to the route's 
metric before storing the route. 
You can change the amount that an individual VLAN interface adds to the 
metric of RIP routes learned on the interface. 
Note  RIP considers a route with a metric of 16 to be unreachable. Use this metric 
only if you do not want the route to be used. In fact, you can prevent the switch 
from using a specific interface for routes learned though that interface by 
setting its metric to 16. 
To increase the cost a VLAN interface adds to RIP routes learned on that 
interface, enter commands such as the following: 
HPswitch(config)# vlan 1 
HPswitch(vlan-1)# ip rip metric 5 
11-24