cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18326
Views
75
Helpful
31
Replies

Ask the Expert- MPLS Best Practices- Configuration & Troubleshooting

Cisco Moderador
Community Manager
Community Manager

This topic is a chance to discuss more about the Multi Protocol Label Switching (MPLS) technology and its typical applications. This session will cover all questions related to MPLS fundamentals including its supporting protocols (LDP, BGP), and its most common applications, such as BGP-less core networks, 6PE/6VPE migration mechanisms, L2 and L3 VPNs, both in intra-AS and inter-AS scope.

 

To participate in this event, please use theJoin the Discussion : Cisco Ask the Expertbutton below to ask your questions

 

Ask questions from Monday October 15th to Friday November 2nd, 2018

 

Featured expert

david.pngDavid Samuel Peñaloza Seijas works as a Senior Network Consulting Engineer at Verizon Enterprise Solutions in the Czech Republic. Previously, he worked as a Network Support Specialist in the IBM Client Innovation Center in the Czech Republic. David is an expert interested in all topics related to networks. However, he focuses mainly on data centers, enterprise networks, and network design, including software-defined networking (SDN). David has a long relationship with Cisco. He has been a Cisco Instructor for the Cisco Academy and was recognized as a Cisco Champion and a Cisco Designated VIP for 2017 and 2018. David holds a CCNP R&S, CCDP, CCNA Security, CCNA CyberOps and a CCNA SP certification. Currently, he is preparing for a CCDE. 

 

David might not be able to answer each question due to the volume expected during this event. Remember that you can continue the conversation on the Service Providers community.

Find other events https://community.cisco.com/t5/custom/page/page-id/Events?categoryId=technology-support  

 

**Helpful votes Encourage Participation! **
Please be sure to rate the Answers to Questions

31 Replies 31

Hi David,

Quick question. I have MP-BGP core which consists from two Cat6800 running iBGP between them. OSPF is running as IGP. There is also CORP VRF where all corporate subnets are. Recently I added two prefixes to both core switches BGP and installing static route pointing to NULL0(AD 254). Strange thing is one core see these prefixes in local in VPNv4 routing table second see only route that is being advertised by first CORE but it's local route is not showing up which also pointing to NULL0.

 

My quess is that is because of AD iBGP is preferred because it has 200. Am I correct? Strange thing is both CORE switches see previously added prefixes local and iBGP advertised by neighbor. I'm confused a little bit.

Best regards,
Abzal

Hello Abzal
 
I will start by pointing out a general rule: if a protocol redistributes a route from the routing table, it never offers that very same route back to the routing table. This goes for any routing protocol, BGP or any other.
 
Now, focusing in your particular situation:
 
I think that what you are experiencing is a race condition. Your results would vary depending on the timing of your configurations.
 
Allow me to elaborate my statement: 
 
1.) On Core1, add the static route to Null0 with AD of 254 and redistribute it into BGP.
2.) Core2 will learn it from Core1 over iBGP and install it into RIB with AD of 200.
3.) On Core2, add the same static route with an AD of 254, but it wouldn't not make it into RIB because the iBGP-learned route with AD of 200 is better.
 
If you would add the static route to both Core routers first, and then manage to have it redistributed into BGP before they advertise it to each other, none of the routers will install the route into the RIB as the iBGP-learned route.
 
This is because in BGP RIB, there will be two alternatives:
- The locally injected (redistributed one)
- The one learned from the other Core
 
And BGP bestpath picks the locally injected one as the preferred one.
 
This would be true for non-Cisco implementations.
 
In case of Cisco IOS, since all locally-injected routes get the weight of 32768 by default while all learned routes have a weight of 0, the locally redistributed route will win thanks to its weight. Different means, the same result :)
 
You were right in your assumption.
 
Hope this helps
 
David 
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: