Configuration Guide User guide

FastIron Configuration Guide 1205
53-1002494-01
RIP parameter configuration
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:
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 metric. You also can configure a filter to set the metric based on these
criteria.
2. Change the default redistribution metric (optional). The Layer 3 Switch assigns a RIP metric of
1 to each redistributed route by default. You can change the default metric to a value up to 16.
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. The software uses the filters in ascending
numerical order and immediately takes the action specified by the filter. Thus, if filter 1 denies
redistribution of a given route, the software does not redistribute the route, regardless of whether a
filter with a higher ID would permit redistribution of that route.
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), and then apply filters with lower filter IDs to
allow specific routes.
To configure a redistribution filter, enter a command such as the following.
Brocade(config-rip-router)#deny redistribute 2 all address 207.92.0.0 255.255.0.0
This command denies redistribution for all types of routes to the 207.92.x.x network.
Syntax: [no] permit | deny redistribute <filter-num> all | bgp | ospf | static address <ip-addr>
<ip-mask> [match-metric <value> | set-metric <value>]
The <filter-num> variable specifies the redistribution filter ID. The software uses the filters in
ascending numerical order. Thus, if filter 1 denies a route from being redistributed, the software
does not redistribute that route even if a filter with a higher ID permits redistribution of the route.
The all parameter applies redistribution to all route types.
The bgp parameter applies redistribution to BGP4 routes only.
The ospf parameter applies redistribution to OSPF routes only.
The static parameter applies redistribution to IP static routes only.