Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

bgp vrf route injection

                   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

Everyone's tags (4)
2 REPLIES
New Member

bgp vrf route injection

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,

Re: bgp vrf route injection

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

920
Views
0
Helpful
2
Replies