Configuring metric parameters, Changing the cost of routes learned on a port, Configuring a rip offset list – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 628

Advertising
background image

594

Brocade TurboIron 24X Series Configuration Guide

53-1003053-01

Configuring RIP parameters

After globally enabling the protocol, you must enable it on individual interfaces. You can enable the
protocol on physical interfaces as well as virtual routing interfaces. To enable RIP on an interface,
enter commands such as the following.

TurboIron(config)#interface ethernet 1

TurboIron(config-if-1)#ip rip v1-only

Syntax: [no] ip rip v1-only | v1-compatible-v2 | v2-only

NOTE

You must specify the RIP version.

Configuring metric parameters

By default, a Layer 3 Switch port increases the cost of a RIP route that is learned on the port by
one. You can configure individual ports to add more than one to a learned route cost. In addition,
you can configure a RIP offset list to increase the metric for learned or advertised routes based on
network address.

Changing the cost of routes learned on a port

By default, a Layer 3 Switch port increases the cost of a RIP route that is learned on the port. The
Layer 3 Switch increases the cost by adding one to the route metric before storing the route.

You can change the amount that an individual port adds to the metric of RIP routes learned on the
port. To do so, use the following method.

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 Layer 3 Switch from using a specific port for routes
learned though that port by setting its metric to 16.

To increase the cost a port adds to RIP routes learned in that port, enter commands such as the
following.

TurboIron(config)#interface ethernet 1

TurboIron(config-if-1)#ip metric 5

These commands configure port 1 to add 5 to the cost of each route learned on the port.

Syntax: ip metric <1-16>

Configuring a RIP offset list

A RIP offset list allows you to add to the metric of specific inbound or outbound routes learned or
advertised by RIP. RIP offset lists provide a simple method for adding to the cost of specific routes
and therefore biasing the Layer 3 Switch route selection away from those routes.

An offset list consists of the following parameters:

An ACL that specifies the routes to which to add the metric.

The direction:

In applies to routes the Layer 3 Switch learns from RIP neighbors.

Out applies to routes the Layer 3 Switch is advertising to its RIP neighbors.

Advertising