04-06-2008 12:03 PM - edited 03-03-2019 09:26 PM
Hi
Is it possible to use a ip prefix-list on a sub-interface?
Alan
04-06-2008 12:37 PM
ip prefix-list to do what ?
04-06-2008 12:40 PM
Hi Alan,
Prefix-lists are mainly used for route filtering with dynamic routing protocols or with attribute(s) manipulation with BGP, it is not used for packet filtering like ACLs, and thus can't be applied under interfaces.
BR,
Mohammed Mahmoud.
04-07-2008 12:29 AM
Hi Alan,
I completely agree with Mohammed. Prefix-list has been designed for control plane(Drawing network map) so It cannot be used for filtering routes as ACL does at interface-level.
HTH
Thot
04-07-2008 03:16 AM
Hi
I agree with you that it is used to filter route. I have an example:
If I had 3 router connected via frame relay in a hub and spoke design and R1 is the hub. R1 is connected with a sub-interface. If i want to advertise only a default route out R1 serial interface. I use a default originate and a prefix that permit only 0.0.0.0/0 .
Problem is that I still get other route advertised out R1 serial sub-interface. If dun configure a sub-interface . it work.
May i know why is this so. Hope u know wat i am writing. hehe
Thanks in advance
04-07-2008 03:30 AM
Hi,
Can you please post your configuration.
BR,
Mohammed Mahmoud.
04-07-2008 03:43 AM
Which routing protocol are you using?
04-07-2008 04:00 AM
I wonder if there might be some confusion about how the prefix list is used relative to subinterfaces. Most of the comments about it not working focus on the possibility that it would be configured in subinterface config mode directly on the subinteface. But there is another possibility which is that the prefix list may be configured under the routing protocol as part of a distribute list and associated with the subinterface - which would work. Perhaps this could be looked at as prefix list working on the subinterface.
Perhaps the original poster can clarify which usage he is talking about?
HTH
Rick
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