[nsp] FW: Why does'nt this config work?

Stephen J. Wilcox steve at telecomplete.co.uk
Tue Sep 30 09:34:50 EDT 2003


Strange, could be something to do with default-originate and the way the route
is passed (or not) thro route-maps

Does it work if you remove the match line?

You could either set the pref inbound on the peer router or you could try adding 
the default to the routing table with a static default to null and a bgp network 
on 0.0.0.0 using the route-map :

router bgp xxx
 network 0.0.0.0 mask 0.0.0.0 route-map OUT
ip route 0.0.0.0 0.0.0.0 null0

altho neither of these will work exactly the same as you want it..

Steve


Lo! On Tue, 30 Sep 2003, Damien Holloway did sayeth:

> 
> Question that's bending my brain...
> I have applied the following config
> 
> ************************************************
> router bgp xxxx
> neighbor x.x.x.x remote-as xxxx   		! iBGP peer
>  neighbor x.x.x.x default-originate
>  neighbor x.x.x.x route-map OUT out		! Set LocalPref to 110
> !
> access-list 2 permit 0.0.0.0
> !
> route-map OUT permit 5
>  match ip address 2
>  set local-preference 110
> *************************************************
> 
> However the neighbor is not seeing the local pref being set, what have I
> missed?
> 
> 
> 
> 
> _______________________________________________
> 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