IP Routing Features

Configuring RIP

Changing the RIP Type on a VLAN Interface

When you enable RIP on a VLAN interface, RIPv2-onlyis 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, a Series 5300XL 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.

 

 

N o t e

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 Series

 

5300XL 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)# interface vlan 1

 

HPswitch(vlan-1)# ip rip metric 5

 

These commands configure vlan-1 to add 5 to the cost of each route learned

 

on the interface.

 

Syntax: ip rip metric <1-16>

16-23