From: Mark Lewis (mark@mjlnet.com)
Date: Tue Feb 07 2006 - 07:21:03 GMT-3
Hi,
You are missing the config of the VPN-IPv4 (VPNv4) address family.
For more info, see:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/swtch_r/swi_a1.htm#wp1090985
http://www.ciscopress.com/articles/article.asp?p=391649&seqNum=2
HTH,
Mark
CCIE#6280 / CCSI#21051 / JNCIS / etc.
Author:
www.ciscopress.com/title/1587051796
www.ciscopress.com/title/1587051044
>From: Rajib Khan <rajib56666@yahoo.com>
>Reply-To: Rajib Khan <rajib56666@yahoo.com>
>To: "ccielab@groupstudy.com" <ccielab@groupstudy.com>
>Subject: mpls-vpn help
>Date: Tue, 7 Feb 2006 01:54:03 -0800 (PST)
>
>Hi There,
>
> I am trying to setup basic MPLS VPN in lab environment. But for some
>reason MP-BGP is not advertising router to other end PE router. I have
>attached configuration from both PE router.
>
> Could some one help me with this?
>
> Thanks in Advance
>
>
> CE --- PE1 ---- P --- PE2 -- CE
>
>
> PE1
>
> ip cef
> no ip domain lookup
> no ip dhcp use vrf connected
> !
> !
> ip vrf donald
> rd 100:2
> route-target export 100:20
> route-target import 100:20
>
> mpls label protocol ldp
> no tag-switching ip propagate-ttl
> tag-switching tdp router-id Loopback0
>
> router bgp 100
> bgp log-neighbor-changes
> neighbor 90.0.0.1 remote-as 100
> neighbor 90.0.0.1 update-source Loopback0
> neighbor 100.0.0.1 remote-as 100
> neighbor 100.0.0.1 update-source Loopback0
> !
> address-family ipv4
> neighbor 90.0.0.1 activate
> neighbor 90.0.0.1 send-community extended
> neighbor 90.0.0.1 next-hop-self
> neighbor 100.0.0.1 activate
> neighbor 100.0.0.1 send-community extended
> neighbor 100.0.0.1 next-hop-self
> no auto-summary
> no synchronization
> exit-address-family
> !
> !
> address-family ipv4 vrf donald
> no auto-summary
> no synchronization
> network 172.16.1.0 mask 255.255.255.0
> network 172.16.2.0 mask 255.255.255.252
> exit-address-family
>
> ip route vrf donald 172.16.1.0 255.255.255.0 172.16.2.1
>
>
> interface Ethernet3/0
> ip vrf forwarding donald
> ip address 172.16.2.2 255.255.255.252
> duplex half
>
> interface Ethernet3/2
> ip address 30.0.0.2 255.0.0.0
> duplex half
> tag-switching ip
>
> Andold#sh ip bgp vpnv4 all
> BGP table version is 9, local router ID is 80.0.0.1
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
>internal,
> r RIB-failure, S Stale
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> Route Distinguisher: 100:1 (default for vrf earnie)
> *> 172.16.1.0/24 172.16.2.1 0 32768 i
> *> 172.16.2.0/30 0.0.0.0 0 32768 i
> Route Distinguisher: 100:2 (default for vrf donald)
> *> 172.16.1.0/24 172.16.2.1 0 32768 i
> *> 172.16.2.0/30 0.0.0.0 0 32768 i
> Andold#
>
>
>
> PE2:
>
>
>
> ip cef
> no ip domain lookup
> no ip dhcp use vrf connected
> !
> !
> ip vrf donald
> rd 100:2
> route-target export 100:20
> route-target import 100:20
> !
> mpls label protocol ldp
> no tag-switching ip propagate-ttl
> tag-switching tdp router-id Loopback0
> !
> router bgp 100
> bgp log-neighbor-changes
> neighbor 80.0.0.1 remote-as 100
> neighbor 80.0.0.1 update-source Loopback0
> !
> address-family ipv4
> neighbor 80.0.0.1 activate
> neighbor 80.0.0.1 send-community extended
> neighbor 80.0.0.1 next-hop-self
> no auto-summary
> no synchronization
> exit-address-family
> !
> address-family ipv4 vrf donald
> no auto-summary
> no synchronization
> network 100.0.0.0
> exit-address-family
> !
> ip classless
> ip route vrf donald 100.0.0.0 255.0.0.0 50.0.0.2
>
> Herbert#sh ip bgp vpnv4 all
> BGP table version is 3, local router ID is 90.0.0.1
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
>internal,
> r RIB-failure, S Stale
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> Route Distinguisher: 100:2 (default for vrf donald)
> *> 100.0.0.0 50.0.0.2 0 32768 i
> Herbert#
>
>
>
>
>
>---------------------------------
>Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
>
>_______________________________________________________________________
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Wed Mar 01 2006 - 11:28:17 GMT-3