From: Mustafa M Bayramov (spyroot@azeronline.com)
Date: Sat Jan 11 2003 - 22:41:22 GMT-3
Dear group
I have trouble with router-map and access-list for EBGP originated
packet.
My configuration.
router bgp 1
network 12.0.0.0 mask 255.255.255.0
network 13.0.0.0 mask 255.255.255.0
network 14.0.0.0 mask 255.255.255.0
network 15.0.0.0 mask 255.255.255.0
aggregate-address 12.0.0.0 255.255.0.0
neighbor 11.0.0.2 remote-as 2
neighbor 11.0.0.2 route-map advert out
access-list 111 permit ip host 12.0.0.0 0.0.0.255 any
access-list 111 deny ip any any
access-list 113 permit ip 12.0.0.0 0.0.255.255 any
access-list 113 deny ip any any
route-map advert permit 10
match ip address 111
set as-path prepend 1 1 1
!
route-map advert permit 20
match ip address 113
set metric 200
Problem is in router map it doesn't work correct.
When the condition in advert seq 10 is meet router-map select both
Updates 12.0.0.0/24 and 12.0.0.0/16 and set as-path attribute, as
I understand router-map doesn't check mask in ACL.
What I want it prepend my AS only for 12.0.0.0/24 class and leave
12.0.0.0/16.
How I can achieve my task?
Mustafa
.
This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 07:33:47 GMT-3