Overview of RIP Route Learning and Advertising Parameters
By default, when RIP is enabled, a RUCKUS device learns routes from all its RIP neighbors and advertises RIP routes to those neighbors.
You can configure the following learning and advertising parameters:
- Update interval: The update interval specifies how often the device sends RIP route advertisements to its neighbors.
- Learning and advertising of RIP default routes: The device can learn and advertise RIP default routes.
- Learning of standard RIP routes: By default, the device can learn RIP routes from all its RIP neighbors. You can configure RIP neighbor filters to explicitly permit or deny learning from specific neighbors.
Update Interval for Route Advertisements
The update interval specifies how often the device sends route advertisements to its RIP neighbors. The default is 30 seconds.
RIP Default Routes
The device does not learn default RIP from its neighbors unless you enable learning of RIP default routes. You can enable or disable learning and advertising of default routes on a global or individual interface basis.
RIP Neighbor Filters
You can create neighbor filters and apply them globally to specify the neighbor routers from which the device can learn RIP routes. RIP neighbor filters are individual commands to permit or deny specified routes. A filter can permit any route, deny any route, or permit or deny a specific IP address.
Each filter includes a filter number as part of the command. The filters are performed in numeric sequence, and it helps to enter filter commands in ascending order.
The following example configures the device so that it does not learn any RIP routes from any RIP neighbors.
device# configure terminal device(config)# router rip device(config-rip-router)# neighbor 1 deny any
In the example, the filter number is 1, which means it is always acted on first. If you want to allow specific routes and deny all others, give the previous command a higher filter number and insert filters with lower numbers that permit routes you want the device to learn. The following example permits learning neighbor routes on one IP address (filter 3) and denies all other routes (filter 32).
device# configure terminal device(config)# router rip device(config-rip-router)# neighbor 3 permit 10.71.10.102 device(config-rip-router)# neighbor 32 deny any
If, instead, you want to allow learning on all routes except for one specific route, you must also include a neighbor filter to permit any route. Be sure you add the filter to permit learning from any neighbors as the filter with the highest number. Otherwise, the software will match on the "permit any" filter and never act on any later filter that denies a specific neighbor. Consequently, routes will be learned from the neighbor that was supposed to be filtered out. The following example blocks route learning from one neighbor (filter 4) and explicitly permits learning routes from all other neighbors (filter 24).
device# configure terminal device(config)# router rip device(config-rip-router)# neighbor 4 deny 10.70.12.103 device(config-rip-router)# neighbor 24 permit any