cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
485
Views
4
Helpful
3
Replies

about BGP and cost community

ariela
Level 4
Level 4

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 3

Harold Ritter
Cisco Employee
Cisco Employee

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

Thanks Harold!

Any other good practice?

Regards

Andrea

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
Review Cisco Networking products for a $25 gift card