Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

Silver

about BGP and cost community

Hi guys,

when is used the cost community? When is better than local preference in the best path selection process?

Thanks for your support

Regards

Andrea

3 REPLIES
Cisco Employee

Re: about BGP and cost community

The BGP cost community is used among other things when you have multiple sites using EIGRP between the PE and CE and you want to force traffic to go through the MPLS VPN core despite the fact that you have a backdoor link between these sites. In this scenario, it serves a similar purpose as sham-links do for OSPF.

For more information on the above technique, please refer to the following URL:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1829/products_feature_guide09186a008053b5b6.html#wp1067175

By default, the cost community is evaluated after the IGP metric. The default can be changed so that the cost community is evaluated before the local-preference.

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Silver

Re: about BGP and cost community

Thanks Harold!

Any other good practice?

Regards

Andrea

Cisco Employee

Re: about BGP and cost community

Andrea,

The URL I sent in my previous posting discusses a couple of situations where the cost community would be useful.

http://www.cisco.com/en/US/products/sw/iosswrel/ps1829/products_feature_guide09186a008053b5b6.html#wp1064140

Additionally, any scenario you might think of, where the local preference needs to be overridden, would be a good place to use the cost community.

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
253
Views
4
Helpful
3
Replies