[c-nsp] IP-VPN CE-PE local pref problem

Luan Nguyen luan at netcraftsmen.net
Tue Sep 30 15:03:38 EDT 2008


Try changing the route-map to:

route-map ipvpn_00000001 permit 10
 set extcommunity soo 894:1
 set local-preference 90

instead of:

route-map ipvpn_00000001 permit 10
 set extcommunity soo 894:1

route-map ipvpn_00000001 permit 20
 set local-preference 90

Luan


----------------------------------------------------------------------------
-------------------------------------------------------------------------
Luan Nguyen
Senior Network Engineer
Chesapeake NetCraftsmen, LLC.
www.NetCraftsmen.net
----------------------------------------------------------------------------
-------------------------------------------------------------------------


-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Mark Tech
Sent: Tuesday, September 30, 2008 2:55 PM
To: David Freedman; cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] IP-VPN CE-PE local pref problem

Here you go

PE1#sh ip bgp vpnv4 rd 894:1 5.14.93.0
BGP routing table entry for 894:1:5.14.93.0/24, version 222
Paths: (3 available, best #2, table ipvpn_00000001)
  Advertised to update-groups:
     1
  65535
    5.14.95.244 (metric 11) from 5.14.95.244 (5.14.95.244)
      Origin IGP, metric 0, localpref 100, valid, internal
      Extended Community: SoO:894:1 RT:894:2
      mpls labels in/out 26/23
  65535
    5.14.93.222 from 5.14.93.222 (5.14.93.253)
      Origin IGP, metric 0, localpref 100, valid, external, best
      Extended Community: SoO:894:1 RT:894:2
      mpls labels in/out 26/nolabel
  65535, (received-only)
    5.14.93.222 from 5.14.93.222 (5.14.93.253)
      Origin IGP, metric 0, localpref 100, valid, external
      mpls labels in/out 26/nolabel


PE2#sh ip bgp vpnv4 rd 894:1 5.14.93.0
BGP routing table entry for 894:1:5.14.93.0/24, version 237
Paths: (3 available, best #1, table ipvpn_00000001)
  Advertised to update-groups:
     1
  65535
    5.14.93.226 from 5.14.93.226 (5..14.93.254)
      Origin IGP, metric 0, localpref 100, valid, external, best
      Extended Community: SoO:894:1 RT:894:2
      mpls labels in/out 23/nolabel
  65535, (received-only)
    5.14.93.226 from 5.14.93.226 (5.14.93.254)
      Origin IGP, metric 0, localpref 100, valid, external
      mpls labels in/out 23/nolabel
  65535
    5.14.95.243 (metric 11) from 5.14.95.243 (5.14.95.243)
      Origin IGP, metric 0, localpref 100, valid, internal
      Extended Community: SoO:894:1 RT:894:2
      mpls labels in/out 23/26

inbound route-map from CE2 to PE2
route-map ipvpn_00000001 permit 10
 set extcommunity soo 894:1

route-map ipvpn_00000001 permit 20
 set local-preference 90
!



----- Original Message ----
From: David Freedman <david.freedman at uk.clara.net>
To: cisco-nsp at puck.nether.net
Sent: Tuesday, September 30, 2008 5:51:55 PM
Subject: Re: [c-nsp] IP-VPN CE-PE local pref problem

can you post "show ip bgp vpnv4 rd <rd> x.x.x.x/y" from both PEs ? for
the prefix in question?

Dave

Mark Tech wrote:
> Hi
> I have set up a dual homed IP-VPN network between 2 PE's and 2 CE's using 
SoO - thas all working fine. 

I have added an inbound route-map to the 'backup' PE and CE to reduce
the local preference in order to make the other PE and CE the preferred
gateways.
> 
> CE1--------PE1 primary
> |                  |
> CE2--------PE2 backup
> 
> The CE local pref works fine, however on the PE side, local pref doesn't
seem to have any affect,

i.e. I have reduced the local pref to 90 on the backup link, however if
I check the routing in the backup PE, nothing seems to have changed. Can
I just check that local pref actually works across an MP-BGP environment?
> 
> If so I must be doing something wrong
> 
> Regards
> 
> Mark
> 
> 
>      
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
> 

_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/



      
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list