cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
880
Views
10
Helpful
2
Replies

BGP route filtering

sivam siva
Level 3
Level 3

Hi 

What if I configured Distribute-list, route-map, filter-list, prefix-list all together what is the preference order of BGP?

 

for Ex:

neighbor 2.2.2.2 prefix-list XXXX out

neighbor 2.2.2.2 distribute-list 101 out

neighbor 2.2.2.2 route-map XXXX  out

neighbor 2.2.2.2 filter-list XXXX out

 

 

Thanks

Siva

2 Accepted Solutions

Accepted Solutions

Hello,

 

check the table below, from the linked document:

Table 1 BGP Policy Processing Order

Inbound

Outbound

Route map

Distribute list

Filter list, AS-path access list, or IP policy

IP prefix list

IP prefix list

Filter list, AS-path access list, or IP policy

Distribute list

Route map

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/configuration/xe-3se/3850/irg-xe-3se-3850-book/irg-prefix-filter.html

View solution in original post

Hello
Memorize the following and you wont forget either egress or ingress bgp order of operations regards filtering-

 

Egress bgp filtering  -Dont Plan Fix Results
Distribute-list
Prefix-list
Filter-list
Route-maps

ingress bgp filtering  -  Reverse the above 

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

2 Replies 2

Hello,

 

check the table below, from the linked document:

Table 1 BGP Policy Processing Order

Inbound

Outbound

Route map

Distribute list

Filter list, AS-path access list, or IP policy

IP prefix list

IP prefix list

Filter list, AS-path access list, or IP policy

Distribute list

Route map

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/configuration/xe-3se/3850/irg-xe-3se-3850-book/irg-prefix-filter.html

Hello
Memorize the following and you wont forget either egress or ingress bgp order of operations regards filtering-

 

Egress bgp filtering  -Dont Plan Fix Results
Distribute-list
Prefix-list
Filter-list
Route-maps

ingress bgp filtering  -  Reverse the above 

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card