cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1468
Views
50
Helpful
16
Replies

Forward iBGP VPNv4 routes from PE to VRF of CE

lukassgg
Beginner
Beginner

Good Morning, 

We're having troubles redistributing routes learned over iBGP VPNv4 from a PE to the VRF Customer1 of a connected CE.

The PE (XR3) receives the IPv4 route 10.2.0.0/24 over iBGP VPNv4 from the RR (2011::1):

OS is Cisco IOS XR.

RP/0/RP0/CPU0:XR3#show bgp vpnv4 unicast neighbors 2011::1 routes
Fri Dec 2 08:27:45.456 UTC
BGP router identifier 3.3.3.3, local AS number 65000
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0x0 RD version: 0
BGP main routing table version 7321
BGP NSR Initial initsync version 2 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1:1 (default for vrf Customer1)
*>i10.2.0.0/24 2015::1 100 0 64700 i
Processed 1 prefixes, 1 paths

But the PE (XR3) doesn't forward this route 10.2.0.0/24 to the VRF Customer1 of the, over eBGP connected, CE (10.36.0.2):

RP/0/RP0/CPU0:XR3#show bgp vrf Customer1 ipv4 unicast neighbors 10.36.0.2 advertised-routes
Fri Dec 2 08:31:35.239 UTC
RP/0/RP0/CPU0:XR3#

We're running dualstack (IPv4, IPv6) and the PE receives the IPv6 route fd00:a::/112 from our RR.

RP/0/RP0/CPU0:XR3#show bgp vpnv6 unicast neighbors 2011::1 routes
Fri Dec 2 08:55:51.047 UTC
BGP router identifier 3.3.3.3, local AS number 65000
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0x0 RD version: 0
BGP main routing table version 56
BGP NSR Initial initsync version 1 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
Status codes: s suppressed, d damped, h history, * valid, > best
i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 1:1 (default for vrf Customer1)
*>ifd00:a::/112 2015::1 100 0 64700 i
Processed 1 prefixes, 1 paths

And also forwards this IPv6 route fd00:a::/112 to to VRF for our CE.

RP/0/RP0/CPU0:XR3#show bgp vrf Customer1 ipv6 unicast neighbors 2001:db8:36::6 advertised-routes
Fri Dec 2 08:57:15.310 UTC
Network Next Hop From AS Path
Route Distinguisher: 1:1 (default for vrf Customer1)
fd00:a::/112 2001:db8:36::3 2011::1 65000 64700i
Processed 1 prefixes, 1 paths

So I'm assuming we're probably missing something in the BGP IPv4 unicast settings of our PE (XR3), that doesn't forward the route 10.2.0.0/24 to our VRF Customer1 of the CE. 

This is our PE (XR3) BGP configuration:

RP/0/RP0/CPU0:XR3#show run | begin bgp
Fri Dec 2 08:39:03.632 UTC
Building configuration...
router bgp 65000
bgp router-id 3.3.3.3
address-family ipv4 unicast
!
address-family vpnv4 unicast
!
address-family ipv6 unicast
!
address-family vpnv6 unicast
segment-routing srv6
locator MAIN
!
neighbor 2011::1 (This is the Route Reflector)
remote-as 65000
update-source Loopback0
address-family vpnv4 unicast
!
address-family vpnv6 unicast
!
vrf Customer1
rd 1:1
address-family ipv4 unicast
!
address-family ipv6 unicast
segment-routing srv6
alloc mode per-ce
!
neighbor 10.36.0.2 (This is our CE IPv4)
remote-as 64800
update-source GigabitEthernet0/0/0/4
address-family ipv4 unicast
route-policy pass in
route-policy pass out
next-hop-self
!
neighbor 2001:db8:36::6 (This is our CE IPv6)
remote-as 64800
update-source GigabitEthernet0/0/0/4
address-family ipv6 unicast
route-policy pass in
route-policy pass out
next-hop-self




Thanks for any help in advance.

edit:

BGP IPv4 unicast- and BGP IPv6 unicast-peering is established between PE (XR3) and CE.

RP/0/RP0/CPU0:XR3#show bgp vrf Customer1 ipv4 unicast neighbors brief
Fri Dec 2 09:13:38.275 UTC
Neighbor Spk AS Description Up/Down NBRState
10.36.0.2 0 64800 1d18h Established


RP/0/RP0/CPU0:XR3#show bgp vrf Customer1 ipv6 unicast neighbors brief
Fri Dec 2 09:14:49.187 UTC
Neighbor Spk AS Description Up/Down NBRState
2001:db8:36::6 0 64800 1d18h Established

Global VRF Config on PE (XR3):

RP/0/RP0/CPU0:XR3#show run vrf
Fri Dec 2 09:21:42.584 UTC
vrf Customer1
address-family ipv4 unicast
import route-target
1:1
export route-target
1:1
address-family ipv6 unicast
import route-target
1:1
export route-target
1:1
16 Replies 16

Hi @lukassgg ,

It looks like it is a misconfiguration on the remote PE (5.5.5.5), because of the following output:

RP/0/RP0/CPU0:XR3#show bgp vpnv4 unicast vrf Customer1 10.2.0.0/24
Fri Dec 2 14:48:39.245 UTC
BGP routing table entry for 10.2.0.0/24, Route Distinguisher: 1:1
Versions:
Process bRIB/RIB SendTblVer
Speaker 387345 387345
Last Modified: Dec 2 14:48:07.458 for 00:00:31
Paths: (1 available, best #1)
Not advertised to any peer
Path #1: Received by speaker 0
Not advertised to any peer
64700
2015::1 (metric 10) from 2011::1 (5.5.5.5)
Received Label 24000 <+++++++++ This is not right

Can you post the remote PE BGP configuration?

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

Harold Ritter
Cisco Employee
Cisco Employee

You are very welcome Lukas

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
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: