Configuration Guide User guide
FastIron Configuration Guide 1195
53-1002494-02
Configuring RIP
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 207.92.0.0
255.255.0.0
This command denies redistribution of all 207.92.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, “207.92.0.0 255.255.0.0“ means “any
207.92.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 207.92.x.x IP static route only if the route metric
is 5.
Brocade(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.
Brocade(config-rip-router)#deny redistribute 64 static address 255.255.255.255
255.255.255.255
Brocade(config-rip-router)#permit redistribute 1 static address 10.10.10.0
255.255.255.0
Brocade(config-rip-router)#permit redistribute 2 static address 20.20.20.0
255.255.255.0
Enabling redistribution
After you configure redistribution parameters, you must enable redistribution.
To enable RIP redistribution, enter the following command.
Brocade(config-rip-router)#redistribution
Syntax: [no] redistribution