Changing the administrative distance, Configuring redistribution – Brocade TurboIron 24X Series Configuration Guide User Manual

Page 629

Advertising
background image

Brocade TurboIron 24X Series Configuration Guide

595

53-1003053-01

Configuring RIP parameters

The type and number of a specific port to which the 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.

TurboIron(config)#access-list 21 deny 10.1.0.0 0.0.255.255

TurboIron(config)#access-list 21 permit any

TurboIron(config)#router rip

TurboIron(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 10.1.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 offset [ethernet <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.

TurboIron(config-rip-router)#offset-list 21 in 10 ethernet 1

Changing the administrative distance

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

NOTE

Refer to

“Changing administrative distances”

on page 691 for the default distances for all route

sources.

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

TurboIron(config-rip-router)#distance 140

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

Syntax: [no] distance <num>

Configuring redistribution

You can configure the Layer 3 Switch to redistribute routes learned through Open Shortest Path
First (OSPF) or Border Gateway Protocol version 4 (BGP4) into RIP. When you redistribute a route
from one of these other protocols into RIP, the Layer 3 Switch can use RIP to advertise the route to
its RIP neighbors.

To configure redistribution, perform the following tasks:

Configure redistribution filters (optional). 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 metric. You also can configure a filter to set the metric based on these
criteria.

Advertising