2 Replies Latest reply: May 7, 2019 9:57 PM by Ing_Percy RSS

    route filtering in eigrp

    Nitesh Arbale

      Hi All,

       

      My objective is to allow route 192.168.20.0/24 from only one neigbor i.e 70.0.0.2. Currently route is being learned via 3 neighbors and 80.0.0.2 is in routing table. Please help as i am little bit confused with prefix-list/route-map. What would be the prefix-list statement for this objective

      The prefix list i configured is in below snap.

       

       

      eigrp routeJPG.JPGshow ip routeJPG.JPGprefix-list.JPG

       

      BR

      Nick

         
        • 1. Re: route filtering in eigrp
          Martin

          change permit to deny in ip prefix-list PL2 permit  80.0.0.2/32 

          or use

          ip prefix-list PL2 permit 70.0.0.2/32 instead of ip prefix-list PL2 permit  80.0.0.2/32


          don't forget there is deny all at end of prefix list, so if u use deny x but want permit all others, u must add permit all (permit 0.0.0.0/0 le 32) at the end of prefix list. 



          • 2. Re: route filtering in eigrp
            Ing_Percy

            Hi!

             

            You must configure

             

            R5

            ip prefix-list PL1 seq 5 permit 192.168.20.0/24

            ip prefix-list PL2 seq 5 permit 70.0.0.2/32

             

            R5(config-router)#distribute-list prefix PL1 gateway PL2 in

             

            Then, you can see in the routing table:

             

            R5#sh ip route eigrp

            D    192.168.20.0/24 [90/409600] via 70.0.0.2, 00:01:07, FastEthernet0/0


            Regards!