Technical data

Switching and Routing
May 2012 © 2012 Brocade Communications Systems, Inc. 2 - 39
ServerIron(config-rip-router)# deny redistribute 2 static address 207.92.0.0
255.255.0.0 match-metric 5
The following commands deny redistribution of all routes except routes for 10.10.10.x and 20.20.20.x:
ServerIron(config-rip-router)# deny redistribute 64 static address 255.255.255.255
255.255.255.255
ServerIron(config-rip-router)# permit redistribute 1 static address 10.10.10.0
255.255.255.0
ServerIron(config-rip-router)# permit redistribute 2 static address 20.20.20.0
255.255.255.0
Syntax: [no] deny redistribute <filter-num> static address <ip-addr> <ip-mask>
[match-metric <value> | set-metric <value>]
The <filter-num> specifies the redistribution filter ID. Specify a number from 1 – 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 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 redistribution to those routes with a specific metric value; possible
values are from 1 – 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.
Permitting Redistribution
You can configure a redistribution filter to permit redistribution for specific routes. When you enable redistribution,
all IP static routes are redistributed by default. If you want to permit certain routes to be redistributed into RIP,
configure permit filters for those routes before you enable redistribution.
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 (filter ID
64), then apply filters with lower filter IDs to allow specific routes.
To configure a redistribution filter, enter the following command:
ServerIron(config-rip-router)# permit redistribute 1 static address 207.92.0.0
255.255.0.0
This command permits redistribution of all 207.92.x.x IP static routes.
Syntax: permit redistribute
You can configure up to 64 RIP redistribution filters. They are applied in ascending numerical order. All routes are
permitted to be redistributed.
Syntax: [no] permit redistribute <filter-num> static address <ip-addr> <ip-mask> [match-metric <value> | set-
metric <value>]
The <filter-num> specifies the redistribution filter ID. Specify a number from 1 – 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 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 redistribution to those routes with a specific metric value; possible
values are from 1 – 15.
The set-metric <value> parameter sets the RIP metric value that will be applied to the routes imported into RIP.