Enabling rip, Configuring metric parameters – Brocade BigIron RX Series Configuration Guide User Manual

Page 822

Advertising
background image

744

BigIron RX Series Configuration Guide

53-1002484-04

Configuring RIP parameters

25

Enabling RIP

RIP is disabled by default. To enable RIP, you must enable it globally and also on individual
interfaces on which you want to advertise RIP. Globally enabling the protocol does not enable it on
individual interfaces. You can enable the protocol on physical interfaces as well as virtual routing
interfaces. When you enable RIP on a port, you also must specify the version (version 1 only,
version 2 only, or version 1 compatible with version 2).

To enable RIP globally, enter the following command.

BigIron RX(config)# router rip

Syntax: [no] router rip

After globally enabling the protocol, you must enable it on individual interfaces. To enable RIP on an
interface, enter commands such as the following.

BigIron RX(config)# interface ethernet 1/1

BigIron RX(config-if-e1000-1/1)# ip rip v1-only

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

Configuring metric parameters

By default, a device port increases the cost of a RIP route that is learned or advertised on the port
by one. You can configure individual ports to add more than one to a learned or advertised route’s
cost.

Changing the cost of routes learned or advertised on a port

By default, a device port increases the cost of a RIP route that is learned on the port. The 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.

BigIron RX(config)# router rip

BigIron RX(config)# interface ethernet 1/1

BigIron RX(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 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.

Advertising