vrf imported BGP routes not advertised to the BGP peers

I have a router with vrf import and export between vrf s and vrf and global as follows:

R1
ip vrf CustA
rd 100:1
import ipv4 unicast map UNICAST
route-target export 1:1
route-target import 1:1
route-target import 2:2
!
ip vrf CustB
rd 200:2
import ipv4 unicast map UNICAST
route-target export 2:2
route-target import 2:2
route-target import 1:1
....
ip prefix-list DEFAULT seq 5 permit 0.0.0.0/0
!
route-map UNICAST permit 10
match ip address prefix-list DEFAULT

On R1
mixing#show ip bgp vpnv4 all
BGP table version is 59, local router ID is 6.6.6.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

 Network          Next Hop            Metric LocPrf Weight Path

Route Distinguisher: 100:1 (default for vrf CustA)
Import Map: UNICAST, Address-Family: IPv4 Unicast, Pfx Count/Limit: 2/1000
Export Map: vrf2global, Address-Family: IPv4 Unicast, Pfx Count/Limit: 2/1000
*> 0.0.0.0 140.142.41.9 0 32768 i
*> 1.1.1.0/24 3.3.3.1 409600 0 65001 ?
*> 10.1.1.0/24 3.3.3.1 0 0 65001 ?
*> 10.2.1.0/24 3.3.3.1 0 0 65001 ?
*> 10.10.10.0/24 3.3.3.1 409600 0 65001 ?
*> 30.30.30.0/24 3.3.3.1 409600 0 65001 ?
*> 128.208.90.0/30 0.0.0.0 0 32768 i
*> 128.208.90.4/30 0.0.0.0 0 32768 i
*> 140.142.41.0/24 0.0.0.0 0 32768 i

show ip bgp vpnv4 all neighbors 3.3.3..1 advertised-routes
mixing#show ip bgp vpnv4 all neighbors 3.3.3.1 advertised-routes
BGP table version is 59, local router ID is 6.6.6.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

 Network          Next Hop            Metric LocPrf Weight Path

Route Distinguisher: 100:1 (default for vrf CustA)
Import Map: UNICAST, Address-Family: IPv4 Unicast, Pfx Count/Limit: 2/1000
Export Map: vrf2global, Address-Family: IPv4 Unicast, Pfx Count/Limit: 2/1000
*> 128.208.90.0/30 0.0.0.0 0 32768 i
Route Distinguisher: 200:2 (default for vrf CustB)
Import Map: UNICAST, Address-Family: IPv4 Unicast, Pfx Count/Limit: 2/1000
*> 128.208.90.4/30 0.0.0.0 0 32768 i

Total number of prefixes 2

Why is 0.0.0.0/0 advertised to 3.3.3.1 ?

thanks !!

Answers

  • Sorry, I mean:

    Why is 0.0.0.0/0 NOT advertised to 3.3.3.1 ?

  • Any route imported from other VRF or GRT will be treated as iBGP learnt and so will not be advertised back to other BGP neighbors. So this is an expected behavior

    Comments from Cisco

  • But my bgp is eBGP, no advertising for imported routes.

    Here is the link someone succeeds in this . https://mellowd.co.uk/ccie/?p=3645

    any ideads ?

    thanks !!

Sign In or Register to comment.