08-03-2012 11:42 AM - edited 03-04-2019 05:09 PM
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
08-03-2012 01:27 PM
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,
08-04-2012 07:31 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide