08-21-2014 03:14 AM - edited 03-04-2019 11:34 PM
Hi,
i am trying to filter the inbound routes from ISP , but ended up blocking all routes from ISP.
please can anyone advise..
the topology is like below
-----------------------------------------------------------------------------------------------------------------
ip prefix-list PL_IN seq 5 10.13.1.26/29
router bgp 65000
neighbor 172.16.16.1 prefix-list seq 5 permit PL_IN in
------------------------------------------------------------------------------------------------------------------
i want the only route from PE router to be displayed in CE routing table is 10.13.1.26
and the same way how to restrict the outbound routes , the only route to be sent is 10.5.11.76 to PE router.
Solved! Go to Solution.
08-21-2014 08:05 PM
Hi,
configuration looks ok. Only thing to be checked that you have prefix with mask /29 only. Please share output of "show ip bgp 10.13.1.26/29 from 172.16.16.1 and 172.16.16.2
Regards,
Akash
08-21-2014 06:36 AM
There are several issues with the syntax that you have used.
- in the prefix list you give it a name, a seq number, and a network. But you fail to say permit
- when you apply it to the neighbor you should use the prefix list name and not the text of the prefix list entry.
HTH
Rick
08-21-2014 08:18 AM
oopss..i typed it wrong here,
it is
ip prefix-list PL_IN seq 5 permit 10.13.1.26/29
router bgp 65000
neighbor 172.16.16.1 prefix-list PL_IN in
08-21-2014 08:05 PM
Hi,
configuration looks ok. Only thing to be checked that you have prefix with mask /29 only. Please share output of "show ip bgp 10.13.1.26/29 from 172.16.16.1 and 172.16.16.2
Regards,
Akash
08-22-2014 03:26 PM
Thank you Akash...
the mask was /25. i needed only 2 routes so i gave mask as /29, thats what made it denying all routes.
thank you once again
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide