05-26-2017 08:45 AM - edited 03-08-2019 10:44 AM
Hi Team
i have configured two separate VRF for VLAN 30 & 40 and apply VRF leaking for same but still communication unable to happen.
also routes are showing in respective VRF routing table.
configuration as below.
vlan 1,10,20,30,40
vrf context BLUE
ip route 10.10.11.0/24 Vlan40
rd 100:2
address-family ipv4 unicast
route-target import 100:1
route-target export 100:2
vrf context RED
ip route 10.10.10.0/24 Vlan30
rd 100:1
address-family ipv4 unicast
route-target import 100:2
route-target export 100:1
interface Vlan30
no shutdown
vrf member RED
ip address 10.10.11.254/24
interface Vlan40
no shutdown
vrf member BLUE
ip address 10.10.10.254/24
interface Ethernet1/1
switchport access vlan 30
interface Ethernet1/2
switchport access vlan 40
router bgp 100
address-family ipv4 unicast
network 0.0.0.0/0
redistribute static route-map RED
vrf BLUE
vrf RED
05-26-2017 09:11 AM
Hi,
Try creating a 3rd share vrf and import/export there. See link for an example:
http://packetlife.net/blog/2010/mar/29/inter-vrf-routing-vrf-lite/
HTH
05-26-2017 09:19 AM
hello
but it could be communicate between two VRF...
regards,
darshin
05-26-2017 10:26 AM
Remove static routes
do redistibute connected in bgp vrf section
after that show bgp route tables for vrfs
make sure that you have one up interface with IP address in GRT
05-26-2017 08:25 PM
hello
it is now showing redistribute connected in bgp vrf section.
it is Nexus 9000 series switch and version having version 7.0(3)I6(1)
05-26-2017 10:40 PM
1. Show current config
2. show bgp route tables for vrfs
05-27-2017 08:33 AM
Hello,
Make sure you have Enterprise Services license for VRF leaking.
05-26-2017 09:29 AM
also route information as below for VRF..
switch(config)# sh ip route blue
^
% Invalid command at '^' marker.
switch(config)# sh ip route vrf blue
IP Route Table for VRF "BLUE"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>
10.10.10.0/24, ubest/mbest: 1/0, attached
*via 10.10.10.254, Vlan40, [0/0], 00:11:18, direct
10.10.10.254/32, ubest/mbest: 1/0, attached
*via 10.10.10.254, Vlan40, [0/0], 00:11:18, local
10.10.11.0/24, ubest/mbest: 1/0, attached
*via Vlan40, [1/0], 00:02:23, static
switch(config)# sh ip route vrf red
IP Route Table for VRF "RED"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>
10.10.10.0/24, ubest/mbest: 1/0, attached
*via Vlan30, [1/0], 00:03:07, static
10.10.11.0/24, ubest/mbest: 1/0, attached
*via 10.10.11.254, Vlan30, [0/0], 00:12:26, direct
10.10.11.254/32, ubest/mbest: 1/0, attached
*via 10.10.11.254, Vlan30, [0/0], 00:12:26, local
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