Configuring OSPF Configuring OSPF
page 1-28 OmniSwitch 6600 Family Advanced Routing Configuration Guide March 2005
In certain cases, redistribution can either be an adjacent route or a subnet. In these cases, the redistributed
route can correspond to several routes. It is possible to advertise these routes separately or not with the
redist-control keyword.
If it is desired to advertise only an aggregated route instead of all the routes to comprise the aggregate, use
the ip ospf redist-filter command with the redist-control aggregate keyword, as shown (you will also
need to enter the route information as above):
-> ip ospf redist-filter rip 1.1.0.0 255.255.0.0 redist-control aggregate
If it is desired that the subnet routes that fall within the aggregate range should not be advertised, use the
ip ospf redist-filter command with the redist-control keyword as shown (you will also need to enter the
route information as above):
-> ip ospf redist-filter rip 1.1.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.
A cost metric and route tag can be assigned to the routes that are allowed to pass through the filter, by
using the metric and route-tag keywords, as shown (these options are described in the ip ospf redist-
filter command):
-> ip ospf redist-filter rip 1.1.0.0 255.255.0.0 metric 100 route-tag 5
To display all of the configured filters on a router, enter the show ip ospf redist-filter command as shown:
-> show ip ospf redist-filter
To display the configured filters for a specific route or protocol type, enter the show command and the
route or protocol type:
-> show ip ospf redist-filter rip
To display a specific filter, enter the show command with the route or protocol type and the ip address and
mask, as demonstrated:
-> show ip ospf redist-filter rip 1.1.0.0 255.255.0.0
To delete a redistribution filter, enter the ip ospf redist-filter command with the route or protocol type and
its associated IP address and mask, as shown:
-> no ip ospf redist-filter rip 1.1.0.0 255.255.0.0