Address-family ipv4 vrf vpnxx does not appear under BGP on GNS3

From: Darlington Ngaiso <ngaissod_at_gmail.com>
Date: Fri, 23 Nov 2012 06:51:54 +0300

Hi Experts

I have got a problem that Im getting on GNS3 and not sure if anyone has
encountered the same problem .

Below is the setup

Rx(mpls/isis/mpbgp)-----------------Ry(mpls/isis)--------------------------Rz(mpls/isis/mpbgp))

When I create a VRF instance under BGP on either Rx/Rz ,that vrf does not
appear under BGP until I use redistribute connected. Once the
 address-family ipv4 vrf vpnxx
appears in BGP,Im unable to exchange VPNv4 routes between Rx and Rz. I
 tried to use BGP/EIGRP as the PE-CE routing protocol but still getting
the same results.

Rx(config-router)#router bgp 200
Rx(config-router)#address-family ipv4 vrf vpnb

Rx#sh run | sec router bgp
router bgp 200
 no synchronization
 bgp router-id 19.19.19.19
 bgp log-neighbor-changes
 neighbor 20.20.20.20 remote-as 200
 neighbor 20.20.20.20 update-source Loopback0
 no auto-summary
 !
 address-family vpnv4
  neighbor 20.20.20.20 activate
  neighbor 20.20.20.20 send-community both
 exit-address-family
 !
 address-family ipv4 vrf vpna
  no synchronization
  redistribute rip
 exit-address-family

now let me try redistribute connected under the vrf and you will notice
the address-family appears now in the config.

Rx(config)#router bgp 200
Rx(config-router)#address-family ipv4 vrf vpnb
Rx(config-router-af)#redistribute connected

Rx#sh run | sec router bgp
router bgp 200
 no synchronization
 bgp router-id 19.19.19.19
 bgp log-neighbor-changes
 neighbor 20.20.20.20 remote-as 200
 neighbor 20.20.20.20 update-source Loopback0
 no auto-summary
 !
 address-family vpnv4
  neighbor 20.20.20.20 activate
  neighbor 20.20.20.20 send-community both
 exit-address-family
 !
 address-family ipv4 vrf vpna
  no synchronization
  redistribute rip
 exit-address-family
 !
 address-family ipv4 vrf vpnb
  no synchronization
  redistribute connected
 exit-address-family
Rx#

Now let me check for VPNv4 routes under Rx because these routes are
already available on Rz

Rz#sh ip bgp vpnv4 all
BGP table version is 25, local router ID is 20.20.20.20
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
              r RIB-failure, S Stale, m multipath, b backup-path, x
best-external
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 200:1 (default for vrf vpna)
*> 10.0.0.0 30.10.20.10 1 32768 ?
*>i30.1.19.0/24 19.19.19.19 0 100 0 ?
*> 30.10.20.0/24 0.0.0.0 0 32768 ?
Route Distinguisher: 200:2 (default for vrf vpnb)
*> 8.8.8.8/32 40.8.20.8 0 0 65000 ?
* 40.8.20.0/24 40.8.20.8 0 0 65000 ?
*> 0.0.0.0 0 32768 ?
Rz#

VPNv4 routes appear on Rz but nothing on Ry

Rx#sh ip bgp vpnv4 all
BGP table version is 18, local router ID is 19.19.19.19
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
              r RIB-failure, S Stale, m multipath, b backup-path, x
best-external
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 200:1 (default for vrf vpna)
*>i10.0.0.0 20.20.20.20 1 100 0 ?
*> 30.1.19.0/24 0.0.0.0 0 32768 ?
*>i30.10.20.0/24 20.20.20.20 0 100 0 ?
Rx#

Below is the config on Rz

router bgp 200
 bgp router-id 20.20.20.20
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 19.19.19.19 remote-as 200
 neighbor 19.19.19.19 update-source Loopback0
 !
 address-family ipv4
  no synchronization
  no auto-summary
 exit-address-family
 !
 address-family vpnv4
  neighbor 19.19.19.19 activate
  neighbor 19.19.19.19 send-community extended
 exit-address-family
 !
 address-family ipv4 vrf vpna
  no synchronization
  redistribute rip
 exit-address-family
 !
 address-family ipv4 vrf vpnb
  no synchronization
  neighbor 40.8.20.8 remote-as 65000
  neighbor 40.8.20.8 activate
 exit-address-family

Blogs and organic groups at http://www.ccie.net
Received on Fri Nov 23 2012 - 06:51:54 ART

This archive was generated by hypermail 2.2.0 : Sat Dec 01 2012 - 07:27:51 ART