Prevent Specific Ospf Routes From Being Installed In The Ip Route Table - Foundry Networks FESX Manual

Fastiron x-series
Hide thumbs Also See for FESX:
Table of Contents

Advertisement

Foundry Configuration Guide for the FESX, FSX, and FWSX
NOTE: Redistribution is permitted for all routes by default, so the permit redistribute 1 all command in the
example above is shown for clarity but is not required.
You also have the option of specifying import of just OSPF, BGP4, or static routes, as well as specifying that only
routes for a specific network or with a specific cost (metric) be imported, as shown in the command syntax below:
Syntax: deny | permit redistribute <filter-num> all | bgp | connected | rip | static
[address <ip-addr> <ip-mask> [match-metric <value> [set-metric <value>]]]
EXAMPLE:
To redistribute RIP, static, and BGP4 routes into OSPF, enter the following commands on the Layer 3 Switch acting
as an ASBR:
FESX424 RouterASBR(config)# router ospf
FESX424 RouterASBR(config-ospf-router)# permit redistribute 1 all
FESX424 RouterASBR(config-ospf-router)# write memory
Syntax: deny | permit redistribute <filter-num> all | bgp | connected | rip | static
address <ip-addr> <ip-mask>
[match-metric <value> | set-metric <value>]
NOTE: Redistribution is permitted for all routes by default, so the permit redistribute 1 all command in the
example above is shown for clarity but is not required.
You also have the option of specifying import of just OSPF, BGP4, or static routes, as well as specifying that only
routes for a specific network or with a specific cost (metric) be imported, as shown in the command syntax below:
Syntax: [no] redistribution bgp | connected | rip | static [route-map <map-name>]
For example, to enable redistribution of RIP and static IP routes into OSPF, enter the following commands.
FESX424 Router(config)# router ospf
FESX424 Router(config-ospf-router)# redistribution rip
FESX424 Router(config-ospf-router)# redistribution static
FESX424 Router(config-ospf-router)# write memory
NOTE: The redistribution command does not perform the same function as the permit redistribute and deny
redistribute commands. The redistribute commands allow you to control redistribution of routes by filtering on
the IP address and network mask of a route. The redistribution commands enable redistribution for routes of
specific types (static, directly connected, and so on). Configure all your redistribution filters before enabling
redistribution.
NOTE: Do not enable redistribution until you have configured the redistribution filters. If you enable redistribution
before you configure the redistribution filters, the filters will not take affect and all routes will be distributed.

Prevent Specific OSPF Routes from Being Installed in the IP Route Table

By default, all OSPF routes in the OSPF route table are eligible for installation in the IP route table. You can
configure a distribution list to explicitly deny specific routes from being eligible for installation in the IP route table.
NOTE: This feature does not block receipt of LSAs for the denied routes. The Layer 3 Switch still receives the
routes and installs them in the OSPF database. The feature only prevents the software from installing the denied
OSPF routes into the IP route table.
To configure an OSPF distribution list:
Configure a standard or extended ACL that identifies the routes you want to deny. Using a standard ACL lets
20 - 24
© Foundry Networks, Inc.
December 2005

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents