cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1458
Views
10
Helpful
11
Replies

VPNV4 Redistribution

feroz syed
Level 3
Level 3

Hello,

R8 and R16 are EIGRP neighbours VRF X.

R3 and R8 vpnv4 neighbours.

Inside core OSPF running on all Routers.

Now R8 want to send the customer routes to R3, but R3 not receiving any routes from R8, but R8 has customer routes on VRF X table. now R8 want to redistribute the routes to ospf or BGP.

i tired using under the bgp but no routes on R3 side.

Any suggestion would be appreciated.

 

ferozsyed_0-1667481140957.png

 

1 Accepted Solution

Accepted Solutions

Hi @feroz syed ,

Because for the VRF routes to be redistributed in VPNv4, you need to put the "redistribute eigrp" statement under the vrf section, rather than the global section.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

11 Replies 11

"""Now R8 want to send the customer routes to R3, but R3 not receiving any routes from R8, but R8 has customer routes on VRF X table."""
you need 

check if R8 have route in VPNv4 with command 
show ip bgp vpnv4 all

if you confirm the R8 have route, then you need 
config iBGP under VPNv4 address family between R8 and R3 
config import/export under VRF of both R8 and R3, I usually use in lab 
route-target both 100:100

R8#sh run | sec vrf
ip vrf X
rd 8:16
route-target export 8:16
route-target import 4:3
ip vrf forwarding X
address-family ipv4 vrf X autonomous-system 100
redistribute bgp 321 metric 1000 10 255 1 1500
network 192.168.86.0
R8#
R8#sh run | sec r bgp
router bgp 321
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 3.3.3.3 remote-as 321
neighbor 3.3.3.3 update-source Loopback0
!
address-family ipv4
redistribute eigrp 100 metric 20
exit-address-family
!
address-family vpnv4
neighbor 3.3.3.3 activate
neighbor 3.3.3.3 send-community both
neighbor 3.3.3.3 next-hop-self
exit-address-family
R8#sh bgp vpnv4 un all
R8#sh bgp vpnv4 un all summ
BGP router identifier 8.8.8.8, local AS number 321
BGP table version is 1, main routing table version 1

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
3.3.3.3 4 321 70 69 1 0 0 00:56:15 0
R8#

UNDER bgp 
address-family ipv4  <<- this need to be in same VRF OF eigrp

redistribute eigrp 100 metric 20

<<- this need to be in same VRF 

why ?

R8 and r16 are just Eigrp neighbors,

R8 and R3 vpnv4 and redistribute connect already executed but why do i need to create vrf on ipv4 address-family.

 

address-family ipv4 vrf X autonomous-system 100 <<- BUT i see EIGRP vrf-aware, so to make bgp accept the route the address family ipv4 also vrf-aware 

feroz syed
Level 3
Level 3

R8 already has customer routes on vrf table, both side Bgp and Eigrp mutual redistribution already done.

now R8 need to send routed to R3 via bgp vpnv4.

but above you saying ,if am understand correctly, you telling me to create vrf adress-family under bgp to send routes across vpnv4 neighbor

Hi @feroz syed ,

As @MHM Cisco World , you need to put the redistribute eigrp statement under "address-family ipv4 vrf X" under BGP.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

correct.

feroz syed
Level 3
Level 3

it's working, but my question is here below we already making mutual redistribution from bgp to eigrp and eigrp to bgp

but why we need

address-family ipv4 vrf X
redistribute eigrp 100 metric 2

 

R8#sh run | sec eigr
router eigrp 100
!
address-family ipv4 vrf X autonomous-system 100
redistribute bgp 321 metric 1000 10 255 1 1500

 

router bgp 321
bgp log-neighbor-changes
no bgp default ipv4-unicast
neighbor 3.3.3.3 remote-as 321
neighbor 3.3.3.3 update-source Loopback0
!
address-family ipv4
redistribute eigrp 100 metric 20

 

 

 

address-family ipv4 vrf X
redistribute eigrp 100 metric 2
!
address-family ipv4 vrf X autonomous-system 100
redistribute bgp 321 metric 1000 10 255 1 1500
!
address-family ipv4 <<<-- no need 
redistribute eigrp 100 metric 20

Hi @feroz syed ,

Because for the VRF routes to be redistributed in VPNv4, you need to put the "redistribute eigrp" statement under the vrf section, rather than the global section.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México