[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.4 Filtering RIP Routes

RIP routes can be filtered by a distribute-list.

Command: distribute-list access_list direct ifname {}
You can apply access lists to the interface with a distribute-list command. access_list is the access list name. direct is `in' or `out'. If direct is `in' the access list is applied to input packets.

The distribute-list command can be used to filter the RIP path. distribute-list can apply access-lists to a chosen interface. First, one should specify the access-list. Next, the name of the access-list is used in the distribute-list command. For example, in the following configuration `eth0' will permit only the paths that match the route 10.0.0.0/8

 
!
router rip
 distribute-list private in eth0
!
access-list private permit 10 10.0.0.0/8
access-list private deny any
!

distribute-list can be applied to both incoming and outgoing data.

Command: distribute-list prefix prefix_list (in|out) ifname {}
You can apply prefix lists to the interface with a distribute-list command. prefix_list is the prefix list name. Next is the direction of `in' or `out'. If direct is `in' the access list is applied to input packets.



This document was generated by Jasper Wallace on April, 24 2001 using texi2html