cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1548
Views
0
Helpful
2
Replies

bgp vrf route injection

whanson
Level 2
Level 2

                   Is this possible?

I have VLAN100  vrf100

VLAN200 vrf200

VLAN300 vrf300

vlan100

172.16.1.1 255.255.255.252

ip vrf forwarding vrf100

vlan 200

ip address 10.1.1.1  255.255.0.0

ip vrf forwardng vrf200

vlan300

ip address 10.2.1.1 255.255.0.0

ip vrf forwarding vrf300

bgp  65000

address family ipv4  vrf100

neighbor 172.16.1.2 remote-as 65001

Is it possible to inject vlan200 and vlan300 into the bgp?

if I say

address family ipv4vrf200

network 10.1.0.0 mask 255.255.0.0

address family ipv4 vrf300

network 10.2.0.0 mask 255.255.0.0

or would vlan 100 have to be global for this to work..

clear as mud  thx

address family ipvr vrf200

network 10.1.1.0

2 Replies 2

DuncanM2008
Level 1
Level 1

Hello,

Correct you can inject the routes into BGP, your way is one way to do it or you could do:

router bgp 65000

     address-family ipv4 vrf vrf200

     redistribute connected
     address-family ipv4 vrf vrf300

     redsitribute connected

You can verify with sh ip bgp vpnv4 all -> This will show you VPNv4 routes per address family. (each VRF = a VPN).

Next question you want them to appear in BGP which the above achieves, however do you want do Inter-VRF routing?

Thanks,

Marwan ALshawi
VIP Alumni
VIP Alumni

You need to leak the routes to the global routing table because your bgp peer is using global routing not vrf instance

Or you can create another vrf for bgp peering and leak/import other vrf routes/rt into it

Hope this help

Sent from Cisco Technical Support iPhone App

Review Cisco Networking products for a $25 gift card