Configuring RIP RIP Redistribution
OmniSwitch 6600 Family Network Configuration Guide April 2006 page 16-13
Configuring a Redistribution Filter Metric
You can prioritize redistribution of route types to a network by assigning a metric value to a route type(s).
The default redistribution filter metric is 1. However, you can lower the priority of a route type by increas-
ing its metric value. For example, if you want to give priority to OSPF routes to a particular network, you
would set the metric value for the other route types to 2.
Use the ip rip redist-filter metric command to configure a metric value. Enter the command, specify the
route type to be redistributed, enter the destination IP address/mask, then enter the metric value. For exam-
ple, if you wanted to lower the priority of OSPF routes to a network, and all other route types were set to
the default metric of 1, you would to set a metric value of 2 for OSPF routes destined for that network.
-> ip rip redist-filter metric ospf 172.22.0.0 255.255.0.0 metric 2
Note. If you are configuring a metric value for more than one route type, you must repeat the command
for each one.
The redistribution filter metric range is 0 to 15. The default is 0.
Configuring the Redistribution Filter Route Control Action
In certain cases, the specified route to be filtered will be either an aggregate route or a subnet. In these
cases, the route may be comprised of several routes. It is possible to redistribute these routes separately or
not using the ip rip redist-filter redist-control command. Enter the command, specify the route type to
be redistributed, enter the destination IP address/mask, then enter a route control action:
all-subnets. Redistributes all subnet routes that match this filter, if permitted (default).
aggregate. Redistributes an aggregate route if there are one or more routes that match this filter.
no-subnets. Redistributes only those routes that exactly match the redistribution filter.
For example, if the route being filtered is an aggregate or subnet route, and the routes that comprise the
aggregate or subnet route should not be redistributed, enter the ip rip redist-filter redist-control
command, and the no-subnets keyword.
-> ip rip redist-filter ospf 172.22.0.0 255.255.0.0 redist-control no-subnets
Note. By default, filters are set to allow subnet routes to be advertised. If this is the filter action desired, it
is not necessary to use the redist-control keyword.
Configuring a Redistribution Filter Route Tag
The redistribution route tag specifies the route tag with which routes matching a filter are redistributed
into RIP. The default value is zero (0), which means that the route tag used will be the one in the route, if
specified.
Use the ip rip redist-filter route-tag command to configure a redistribution route tag. Enter the
command, specify the route type to be redistributed, enter the destination IP address/mask, then enter the
route tag value. For example, if you wanted to configure a route tag value of 1 for OSPF routes to the
172.22.0.0 network you would enter:
-> ip rip redist-filter ospf 172.22.0.0 255.255.0.0 route-tag 1