cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4063
Views
5
Helpful
17
Replies

Why are the routes imported from Global NOT advertivsed ?

gongya001
Level 1
Level 1

I have the following configuration:

ip vrf CustA
 rd 100:1
 import ipv4 unicast map global2vrf
 route-target export 1:1
 route-target import 1:1
 route-target import 2:2

router bgp 65008
 bgp log-neighbor-changes
 no bgp default ipv4-unicast
 neighbor 140.142.41.9 remote-as 4500
 neighbor 192.168.1.5 remote-as 65005
 neighbor 192.168.1.5 ebgp-multihop 255
 !
 address-family ipv4
  network 0.0.0.0
  network 140.142.41.0 mask 255.255.255.0
  neighbor 140.142.41.9 activate
 exit-address-family
 !
 address-family vpnv4
  neighbor 192.168.1.5 activate
  neighbor 192.168.1.5 send-community both
 exit-address-family
 !
 address-family ipv4 vrf CustA
  network 128.208.90.0 mask 255.255.255.252
  redistribute connected
 exit-address-family

 

ip prefix-list global-acl seq 5 permit 0.0.0.0/0
ip prefix-list global-acl seq 10 permit 140.142.41.0/24
!
route-map global2vrf permit 10
 match ip address prefix-list global-acl

 

ip route 0.0.0.0 0.0.0.0 140.142.41.9

---------------------------------------------------------------------------------

mixing#show ip bgp vpnv4 vrf CustA
BGP table version is 27, 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: global2vrf, Address-Family: IPv4 Unicast, Pfx Count/Limit: 2/1000
Export Map: vrf2global, Address-Family: IPv4 Unicast, Pfx Count/Limit: 0/1000
 *>  0.0.0.0          140.142.41.9             0         32768 i
 *>  1.1.1.0/24       192.168.1.5         409600             0 65005 ?
 *>  10.1.1.0/24      192.168.1.5              0             0 65005 ?
 *>  10.2.1.0/24      192.168.1.5              0             0 65005 ?
 *>  10.10.10.0/24    192.168.1.5         409600             0 65005 ?
 *>  30.30.30.0/24    192.168.1.5         409600             0 65005 ?
 *>  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

 

mixing#show ip bgp vpnv4 all neighbors 192.168.1.5 advertised-routes
BGP table version is 27, 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: global2vrf, Address-Family: IPv4 Unicast, Pfx Count/Limit: 2/1000
Export Map: vrf2global, Address-Family: IPv4 Unicast, Pfx Count/Limit: 0/1000
 *>  128.208.90.0/30  0.0.0.0                  0         32768 i
Route Distinguisher: 200:2 (default for vrf CustB)
 *>  128.208.90.4/30  0.0.0.0                  0         32768 i

Total number of prefixes 2

 

Why is 0.0.0.0/0 NOT advertised to its peer ?

 

17 Replies 17

Nagendra Kumar Nainar
Cisco Employee
Cisco Employee

Hi

Any prefix imported from other VRF or GRT will be treated as iBGP learnt prefix and so it will not be advertised to other IBGP neighbor.

 

This is an expected behavior.

 

Regards

Naendra

It should be advertised to eBGP, right ?

gongya001
Level 1
Level 1

thanks so much!!