I don't quite understand what you're asking. By setting AS path prepend, you raise the cost of the route so that it doesn't get used unless the primary is down. If you're trying to influence the route of outbound traffic, you will need to use policy routing
-----Original Message-----
From: "pankaj" <pankaj@worldgatein.net>
Date: Mon, 12 Nov 2001 18:40:41
To: "Ryan OConnell" <ryan@complicity.co.uk>
Subject: Re: [nsp] is set weight usafull to announce backup route??
But i want to control traffic destine to my network, in that case how should
i know as_path information.
So that i want to give higher priority to one netA through provA and lower
priority through provB vice versa for netB and provB.
Thanks
pp
----- Original Message -----
From: "Ryan OConnell" <ryan@complicity.co.uk>
To: "pankaj" <pankaj@worldgatein.net>; "Nsp" <cisco-nsp@puck.nether.net>
Sent: Monday, November 12, 2001 5:26 PM
Subject: Re: [nsp] is set weight usafull to announce backup route??
> Weight is a local metric only, you probably want to use AS path prepending
instead. (Set as-path prepend <your-as> <your-as> <your-as>)
>
> -----Original Message-----
> From: "pankaj" <pankaj@worldgatein.net>
> Date: Mon, 12 Nov 2001 17:28:37
> To: <cisco-nsp@puck.nether.net>
> Subject: [nsp] is set weight usafull to announce backup route??
>
> Dear friends,
> I have connectivity from two different multihome provider( PROVIDER-A and
> PROVIDER-B) now i have one IP block of /23 i have divided it in to two /24
> networkA and networkB.
> Now i want to annouce netA to providerA and backup of that to provider B.
> and netB to providerB and backup of that to providerA.
>
> should i do it using weight attribute.
> My proposed solution is as follow , will it work????
>
> router bgp myas
> neighbour ip-providerA remote-as A-AS
> neighbour ip-providerA route-map AS AOUT out
> neighbour ip-providerB remote-as B-AS
> neighbour ip-provider B route-map AS BOUT out
> network IP-networkA mask-networkA
> network IP-networkB mask-networkB
>
> route-map AOUT permit 10
> match ip address A
> set weight 100
> route-map AOUT permit 20
> match ip address B
> set weight 200
>
> route-map BOUT permit 10
> match ip address A
> set weight 200
> route-map BOUT permit 20
> match ip address B
> set weight 100
>
> access-list A permit networkA
> access-list B permit networkB
>
> Is this config work as my requirement.
> Waiting for your all's immediate reply.
>
> Thanks
> pp
>
>
>
>
> __________________________
> BlackBerry Wireless Email!
> www.blackberry.net
__________________________
BlackBerry Wireless Email!
www.blackberry.net
This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:54 EDT