Configuring redistribution, Configuring redistribution filters – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 224

Syntax: [no] distance number
The number variable specifies a range from 1 through 255.
Configuring redistribution
You can configure the Brocade device to redistribute routes learned through Open Shortest Path First
(OSPF) or Border Gateway Protocol version 4 (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:
1. 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’s metric. You also can configure a filter to set the metric based on these criteria.
2. Change the default redistribution metric (optional). The Brocade device assigns a RIP metric of 1 to
each redistributed route by default. You can change the default metric to a value up to 15.
3. Enable redistribution.
NOTE
Do not enable redistribution until you configure the other redistribution parameters.
Configuring redistribution filters
RIP redistribution filters apply to all interfaces. Use route maps to define how you want to deny or
permit redistribution.
NOTE
The default redistribution action is permit, even after you configure and apply redistribution filters to the
virtual routing interface. If you want to tightly control redistribution, apply a filter to deny all routes as
the last filter (the filter with the highest ID), then apply filters to allow specific routes.
A route map is a named set of match conditions and parameter settings that the Brocade device can
use to modify route attributes and to control redistribution of the routes into other protocols. A route
map consists of a sequence of up to 50 instances . The Brocade device evaluates a route according to
a route map’s instances in ascending numerical order. The route is first compared against instance 1,
then against instance 2, and so on. If a match is found, the Brocade device stops evaluating the route
against the route map instances.
Route maps can contain match statements and set statements. Each route map contains a "permit" or
"deny" action for routes that match the match statements:
• If the route map contains a permit action, a route that matches a match statement is permitted;
otherwise, the route is denied.
• If the route map contains a deny action, a route that matches a match statement is denied.
• If a route does not match any match statements in the route map, the route is denied. This is the
default action. To change the default action, configure the last match statement in the last instance
of the route map to "permit any any".
• If there is no match statement, the software considers the route to be a match.
• For route maps that contain address filters, AS-path filters, or community filters, if the action
specified by a filter conflicts with the action specified by the route map, the route map’s action takes
precedence over the individual filter’s action.
Configuring redistribution
224
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
53-1003087-04