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
This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:13:23 EDT