Brocade ICX 6650 Layer 3 Routing Configuration Guide 147
53-1002603-01
RIP parameter configuration
NOTE
The default redistribution action is permit, even after you configure and apply redistribution filters
to the virtual routin g interface. If you wan t to tightly control redistribution, apply a filter to deny all
routes as the last filter (the filter with the highest ID), and then apply filters with lower filter IDs to
allow specific routes.
To configure a redistribution filter, enter a command such as the following.
Brocade(config-rip-router)#deny redistribute 2 all address 192.168.0.0
255.255.0.0
This command denies redistribution for all types of routes to the 192.168.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 variable 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 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 “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 through 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.
Brocade(config-rip-router)#deny redistribute 3 ospf address 192.168.0.0
255.255.0.0
The following command denies redistribution for all OSPF routes that have a metric of 10.
Brocade(config-rip-router)#deny redistribute 3 ospf address 192.168.0.0
255.255.0.0 match-metric 10
The following commands deny redistribution of all routes except routes for 10.10.10.x and
10.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 10.20.20.0
255.255.255.0