×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Why are BGP network statements not under a VRF?

Unanswered Question
Nov 25th, 2013
User Badges:

Hello,


We run BGP over our WAN and we group our BGP neighborships into VRFs. But I was looking at the BGP network statements and I noticed that those are not defined under a specific VRF, but rather under the ipv4 address family. But if a network belongs to a specific VRF, shouldn't the BGP network statement be defined under that VRF?


Here's an example of how we have it configured:


router bgp 12345

address-family ipv4

  network 10.10.10.0 mask 255.255.255.0

...

address-family ipv4 vrf Customer_A

  neighbor 10.10.10.2 description *** CE router for Customer_A ***


So if the 10.10.10.0 network belongs to Customer_A, and Customer_A is in their own VRF, why would our network statement be in the VRF section? Why is it instead in the ipv4 section?


Any feedback is appreciated...thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
daniel.dib Mon, 11/25/2013 - 05:10
User Badges:
  • Silver, 250 points or more

First you have a network statement for 10.0.0.0/24 in the global BGP RIB. Then you have a neighbor statement for 10.10.10.2 but I need to see the full config to see if it's iBGP or eBGP. It's possible that this 10.10.10.0/24 network is connected in VRF A or somebody made a typo when they put the network statement.



Daniel Dib
CCIE #37149

Actions

This Discussion