Order of Preference - Route-map - Filter-list

From: gladston@br.ibm.com
Date: Tue Apr 05 2005 - 14:06:46 GMT-3


Wondering if that means if "route-map" allows a prefix in, it does not matter if "filter-list" denies it.

That was not the result when I configured it on lab.

===========================
Quoted

Q. What is the order of preference of attributes when some or all are applied to one neighbor in BGP?

    A. The order of preference varies depending on whether the attributes are applied for inbound updates or outbound updates.

    For inbound updates the order of preference is:

       1. route-map
       2. filter-list
       3. prefix-list, distribute-list

http://www.cisco.com/warp/public/459/bgpfaq_5816.shtml#one
=============================

Config used on R3. R3 receives the prefix from R6

router bgp 300
 neighbor 172.16.36.6 route-map Permit in
 neighbor 172.16.36.6 filter-list 20 in
!
route-map Permit
!
ip as-path access-list 20 deny .*
!
end

Before apply it:

r3#sb
   Network Next Hop Metric LocPrf Weight Path
*> 158.200.200.0/24 172.16.36.6 0 0 600 1600 2500 500 i

After apply it:
r3#sb

r3#

Filter-list is filtering the prefix.



This archive was generated by hypermail 2.1.4 : Tue May 03 2005 - 07:54:53 GMT-3