Hello
The "weight" attribute is only locally significant. It is a value that only
makes sense to the specific router and which is not propagated or carried
through any of the route updates.
Instead of using weight you can use "as-path prepend":
route-map AOUT permit 10
match ip address A
set as-prepend myas
route-map AOUT permit 20
match ip address B
Regards
Birsen Ozturk
IsNET Network Team
tel:+903122938025
-----Original Message-----
From: pankaj [mailto:pankaj@worldgatein.net]
Sent: Monday, November 12, 2001 1:59 PM
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
This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:54 EDT