Description :

Il est très intéressant de connaître l'ordre d'application des différentes méthode de filtrage des annonces BGP sur un routeur CISCO. Sauf que c'est un peu la foire à la saucisse sur ce coup-là ...

On trouve différentes réponses que ce soit sur des blogs CCIE ou pas, CISCO ...

BGP filter processing order

Source INE :

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

PDF Cisco 3850 :

BGP filter processing order 3850

Dans le livre de Cisco "BGP design and implementation" :

Inbound :
1. Filter-List
2. Route-map
3. Distribute-List/Prefix-List

Outbound :
1. Distribute-List/Prefix-List
2. Prefix-List via ORF
3. Filter-List
4. Route-map

Dans une FAQ BGP Cisco :

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. filter-list
2. route-map | unsuppress-map
3. advertise-map (conditional-advertisement)
4. prefix-list|distribute-list
5. ORF prefix-list (a prefix-list the neighbor sends us)