After some research and help from teh chaps on group study, I have now determined the correct order of BGP preference for BGP route filtering.

The order of preference varies based 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

For outbound updates the order of preference is:

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

Note: The attributes prefix-list and distribute-list are mutually exclusive, and only one command (neighbor prefix-list or neighbor distribute-list) can be applied to each inbound or outbound direction for a particular neighbor.

Advertisements