cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
996
Views
0
Helpful
3
Replies

MP-BGP extended community

Branimir Turk
Level 1
Level 1

Hi,

I have MPLS L3 VPN with EIGRP as PE-CE routing protocol. Also I have backdoor link, that needs to be preferred.

So, I am using route map that sets bgp pre-bestpath cost community to some value.

The question is, how can I distinguish between EIGRP internal and external routes in route map to my BGP peers to set appropriate cost community?

For example:

Internal routes - cost community 128 3000000

External routes - cost community 129 3000000

2 Accepted Solutions

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

The match route-type external and match route-type internal directives in a route map can be used to test whether a route is internal or external. However, note that this route map should be applied when redistributing your EIGRP routes into the BGP. After a route is redistributed into BGP, this command refers to the ORIGIN attribute of the redistributed route and not to the type of the original EIGRP route anymore.

Best regards,

Peter

View solution in original post

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Branimir,

through the backdoor link internal EIGRP routes coming from other sites can arrive at CE routers.

I think one possible approach here is to use prefix-list or access-lists to define what IP prefixes are really located in this site.

All other prefixes that eventually are received on EIGRP from CE routers should be considered as "external" to site and less preferred / advertised in a different way.

Hope to help

Giuseppe

View solution in original post

3 Replies 3

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

The match route-type external and match route-type internal directives in a route map can be used to test whether a route is internal or external. However, note that this route map should be applied when redistributing your EIGRP routes into the BGP. After a route is redistributed into BGP, this command refers to the ORIGIN attribute of the redistributed route and not to the type of the original EIGRP route anymore.

Best regards,

Peter

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Branimir,

through the backdoor link internal EIGRP routes coming from other sites can arrive at CE routers.

I think one possible approach here is to use prefix-list or access-lists to define what IP prefixes are really located in this site.

All other prefixes that eventually are received on EIGRP from CE routers should be considered as "external" to site and less preferred / advertised in a different way.

Hope to help

Giuseppe

Hi paluchpeter and giuslar,

Thank you both for help and explanation.

Regards,

Branimir

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco