Foundry Configuration Guide for the FESX, FSX, and FWSX
17 - 6
© Foundry Networks, Inc.
December 2005
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:
•
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.
•
Change the default redistribution metric (optional). The Layer 3 Switch assigns a RIP metric of one to each
redistributed route by default. You can change the default metric to a value up to 16.
•
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 permits 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), then apply filters with lower filter IDs to allow specific routes.
To configure a redistribution filter, enter a command such as the following:
FESX424 Router(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> 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.
The
address
<ip-addr> <ip-mask> parameters apply redistribution to the specified network and sub-net address.
Use 0 to specify “any”. For example, “207.92.0.0 255.255.0.0“ means “any 207.92.x.x sub-net”. However, to
specify any sub-net (all sub-nets match the filter), enter “address 255.255.255.255 255.255.255.255”.
The
match-metric
<value> parameter applies the redistribution filter only to those routes with the specified metric
value; possible values are from 1 – 15.
The
set-metric
<value> parameter sets the RIP metric value that will be applied to those routes imported into RIP.
The following command denies redistribution into RIP for all OSPF routes:
Содержание FastIron Edge Switch X424
Страница 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Страница 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Страница 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Страница 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Страница 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Страница 334: ...Foundry Configuration Guide for the FESX FSX and FWSX 13 18 Foundry Networks Inc December 22 2005...
Страница 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Страница 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Страница 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Страница 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Страница 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Страница 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...