cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
496
Views
0
Helpful
1
Replies

Why are BGP network statements not under a VRF?

Venison Mogambi
Level 1
Level 1

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 Reply 1

daniel.dib
Level 7
Level 7

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

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.
Review Cisco Networking for a $25 gift card