Configuring a rip offset list – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 163

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

145

53-1002603-01

RIP parameter configuration

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. 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.

Brocade(config)#interface ethernet 1/1/2

Brocade(config-if-e10000-1/1/2)#ip metric 5

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

Syntax: ip metric metric-value

The metric-value can be a value from 1 to 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.

A RIP offset list consists of the following parameters:

An access control list (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.

The type and number of a specific port to which the RIP offset list applies (optional).

The software adds the offset value to the routing metric (cost) of the routes that match the ACL. If
a route matches both a global offset list and an interface-based offset list, the interface-based
offset list takes precedence. The interface-based offset list metric is added to the route in this
case.

You can configure up to 24 global RIP offset lists and up to 24 RIP offset lists on each interface.

To configure a global RIP offset list, enter commands such as the following.

Brocade(config)#access-list 21 deny 192.168.0.0 0.0.255.255

Brocade(config)#access-list 21 permit any

Brocade(config)#router rip

Brocade(config-rip-router)#offset-list 21 out 10

The commands in this example configure a standard ACL. The ACL matches on all IP networks
except 192.168.x.x. When the Layer 3 Switch advertises a route that matches ACL 21, the offset
list adds 10 to the route metric.

Syntax: [no] offset-list ACL-number-or-name in | out metric [ethernet port]

Specify port variable in the format stack-unit/slotnum/portnum.

In the following example, the Layer 3 Switch uses ACL 21 to add 10 to the metric of routes received
on Ethernet port 1/1/2.

Advertising