Configuring a redistribution filter – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 155

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

137

53-1002603-01

Configuring RIP

NOTE

The option to set the metric is not applicable to static routes.

2. Enable redistribution.

NOTE

If you plan to configure redistribution filters, do not enable redistribution until you have
configured the filters.

When you enable redistribution, all types of routes are redistributed into RIP; redistribution is
not limited to IP static routes. If you want to deny certain routes from being redistributed into
RIP, configure deny filters for those routes before you enable redistribution. You can configure
up to 64 RIP redistribution filters. They are applied in ascending numerical order.

NOTE

The default redistribution action is permit, even after you configure and apply redistribution
filters to the port. If you want to tightly control redistribution, apply a filter to deny all routes as
the last filter (filter ID 64), and then apply filters with lower filter IDs to allow specific routes.

Configuring a redistribution filter

To configure a redistribution filter, enter a command such as the following.

Brocade(config-rip-router)#deny redistribute 1 static address 192.168.0.0

255.255.0.0

This command denies redistribution of all 192.168.x.x IP static routes.

Syntax: [no] permit | deny redistribute filter-num static address ip-addr ip-mask

[match-metric value | set-metric value]

The filter-num variable specifies the redistribution filter ID. Specify a number from 1 through 64.
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 static address ip-addr ip-mask parameters apply redistribution to the specified network and
subnet address. Use 0 to specify “any”. For example, “192.168.0.0 255.255.0.0“ means “any
192.168.x.x subnet”. However, to specify any subnet (all subnets match the filter), enter static
address 255.255.255.255 255.255.255.255.

The match-metric value parameter applies redistribution to those routes with a specific metric
value. Possible values are from 1 through 15.

The set-metric value parameter sets the RIP metric value that will be applied to the routes imported
into RIP.

NOTE

The set-metric parameter does not apply to static routes.

The following command denies redistribution of a 192.168.x.x IP static route only if the route metric
is 5.

Brocade(config-rip-router)#deny redistribute 2 static address 192.168.0.0

255.255.0.0 match-metric 5

Advertising