[c-nsp] BGP conditional advertisemet - NON-EXIST route map's access-list problem
Burak Dikici
bdikici at gmail.com
Sun Mar 15 14:15:33 EDT 2009
Hi Mateusz ,
For better understanding , i have attached the topology screenshot and the
router's configuration files. (By the way , this is a lab config.)
In the attached Router's configuration ,
access-list 65 permit 172.16.1.0 0.0.0.255
command is used and with this command bgp conditional advertisement is
working fine.
But when i use ,
access-list 65 permit any
command , the conditional advertisement doesn't work.
Regards.
On Sun, Mar 15, 2009 at 4:53 PM, Mateusz Blaszczyk <blahu77 at gmail.com>wrote:
> Burak,
>
> ip as-path access-list 1 permit ^200 !!! (ISP-1 AS number) !!!
>>
>> access-list 65 permit any !!! (permit any packet from ISP-2) !!!
>>
>> route-map NON-EXIST permit 10 !!! (this matches any route from AS200) !!!
>> match ip address 65
>> match as-path 1
>>
>
> you can match only on ACL and prefix-list int the *-EXIST-MAPs.
> Also you dont match packets rather prefixes.
>
> So choose a ISP-1 prefix (some infrastructure IPs or so) and match in
> prefix-list/route-map.
> Then if it is gone, start advertisiing to routes in ADVERTISE
>
> Best Regards,
>
> -mat
>
> --
> pgp-key 0x1C655CAB
>
>
More information about the cisco-nsp
mailing list