Changing the administrative distance, Configuring redistribution – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 347

Advertising
background image

Multi-Service IronWare Routing Configuration Guide

319

53-1003033-02

Configuring RIP parameters

Changing the cost of routes learned or advertised on a port

By default, a Brocade device port increases the cost of a RIP route that is learned on the port. The
Brocade device increases the cost by adding one to the route’s 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 increase the metric for learned routes, enter commands such as the following.

Brocade(config-if-e1000-1/1)# ip rip metric-offset 5 in

The command configures port 1/1 to add 5 to the cost of each route it learns.

Syntax: [no] ip rip metric-offset num in | out

The number is 1-16. A route with a metric of 16 is unreachable. Use 16 only if you do not want the
route to be used. In fact, you can prevent the Brocade device from using a specific port for routes
learned though that port by setting its metric to 16.

In applies to routes the port learns from RIP neighbors.

Out applies to routes the port advertises to its RIP neighbors.

Changing the administrative distance

By default, the Brocade device assigns the default RIP administrative distance (120) to RIP routes.
When comparing routes based on administrative distance, the Brocade device selects the route
with the lower distance. You can change the administrative distance for RIP routes.

To change the administrative distance for RIP routes, enter a command such as the following.

Brocade(config-rip-router)# distance 140

The command changes the administrative distance to 140 for all RIP routes.

Syntax: [no] distance number

The number is 1 - 255.

Configuring redistribution

You can configure the Brocade device to redistribute routes learned through OSPF or BGP4,
connected into RIP, or static routes. When you redistribute a route from one of these other
protocols into RIP, the Brocade device can use RIP to advertise the route to its RIP neighbors.

To configure redistribution, perform the following tasks:

Configure redistribution filters. You can configure filters to permit or deny redistribution for a
route based on its origin (OSPF, BGP4, and so on), the destination network address, and the
route’s metric. You also can configure a filter to set the metric based on these criteria.

Change the default redistribution metric (optional). The Brocade device assigns a RIP metric of
one to each redistributed route by default. You can change the default metric to a value up to
16.

Advertising