From: dave.awatere@xxxxxxxxxx
Date: Sun Nov 05 2000 - 01:33:01 GMT-3
Hi all,
I am trying to control the exit point to 2 different /24 nets in an external AS
using local-pref. It seems to work OK but I am hoping there is a "tidier" way
.
Also, on my AS1 iBGP routers (lots of them) when I do show ip bgp 172.16.1.0
there is only one entry (pref300). I am sure there should be the second pref
100 route in the table with no >. If I shut one of the exit points and clear i
p
bgp *, the pref 100 replaces the lost 300 but I still think both entrys should
exist when show ip bgp net.
R1---------------------------iBGP----------------------------R2
|
|
|
| AS1
-------------------------------------------------------------------------------
-----------------------------
|
| AS2
|
|
R3---------------------------iBGP----------------------------R4
AS2 networks:
172.16.1.0/24
172.16.2.0/24
**************************************************
R1
router bgp 1
neighbor AS2 route-map LOCAL in
!
access-list 1 permit any
access-list 25 permit 172.16.2.0 0.0.0.255
!
route-map LOCAL permit 10
match ip address 25
set local-preference 300
!
route-map LOCAL permit 20
match ip address 1
set local-preference 100
**************************************************
R2
router bgp 1
neighbor AS2 route-map LOCAL in
!
access-list 1 permit any
access-list 25 permit 172.16.1.0 0.0.0.255
!
route-map LOCAL permit 10
match ip address 25
set local-preference 300
!
route-map LOCAL permit 20
match ip address 1
set local-preference 100
***************************************************
R\Davo
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:25:41 GMT-3