Configuring RIP

RIP Interface Parameters

Table 7.2 lists the interface-level RIP parameters and their default values, and indicates where you can find configuration information.

.

Table 7.2: RIP Interface Parameters

Parameter

Description

Default

See page...

 

 

 

 

RIP version

The version of the protocol that is supported on the

Version 2 only

7-4

 

interface. The version can be one of the following:

 

 

 

Version 1 only

 

 

 

Version 2 only

 

 

 

• Version 1, but also compatible with version 2

 

 

 

 

 

 

Metric

A numeric cost the router adds to RIP routes learned

1 (one)

7-5

 

on the interface. This parameter applies only to RIP

 

 

 

routes.

 

 

 

 

 

 

Advertising and

Locally overrides the global setting. See Table 7.1 on

Disabled

7-10

learning of

page 7-2.

 

 

default routes

 

 

 

 

 

 

 

 

Loop prevention

The method a router uses to prevent routing loops

Split horizon

7-12

 

caused by advertising a route on the same interface

Note: Enabling poison

 

 

as the one on which the router learned the route.

 

 

reverse disables split

 

 

 

 

 

 

• Split horizon – The router does not advertise a

horizon on the

 

 

 

route on the same interface as the one on which

interface.

 

 

 

the router learned the route.

 

 

 

• Poison reverse – The router assigns a cost of 16

 

 

 

 

(“infinite” or “unreachable”) to a route before

 

 

 

 

advertising it on the same interface as the one on

 

 

 

 

which the router learned the route.

 

 

 

 

 

 

Advertising and

You can control the routes that a routing switch learns

The routing switch

7-13

learning specific

or advertises.

learns and advertises

 

routes

 

 

all RIP routes on all

 

 

 

 

interfaces.

 

 

 

 

 

 

Configuring RIP Parameters

Use the following procedures to configure RIP parameters on a system-wide and individual interface basis.

Enabling RIP

RIP is disabled by default. To enable it, use one of the following methods. When you enable RIP, the default RIP version is RIPv2. You can change the RIP version on an individual port basis to RIPv1 or RIPv1 with RIPv2 compatibility if needed.

USING THE CLI

To enable RIP on a routing switch, enter the following commands:

HP9300(config)# router rip

HP9300(config-rip-router)# exit

7 - 3