BGP advertise-map with PL

Unanswered Question
Aug 6th, 2009
User Badges:

Hi Experts,

I am configuring BGP "aggregate-address advertise-map" command. Below is the config details for your kind reference

ip prefix-list FILT-PL seq 5 deny

ip prefix-list FILT-PL seq 10 permit

access-list 1 deny

access-list 1 permit any


route-map FILT permit 10

match ip address prefix-list FILT-PL

router bgp 200

no synchronization

bgp log-neighbor-changes

network mask

network mask

network mask

network mask

aggregate-address as-set summary-only advertise-map FILT

neighbor remote-as 100

neighbor send-community

neighbor route-map SAIRAM-NOEXP out

neighbor remote-as 300

no auto-summary

When I use access-list 1, it working fine by not considering attributes of network for aggregation.

Whereas if I use prefix-list FILT-PL it is not working, meaning it is taking the AS number of net also in the aggregation.

I am confused why it is working when using ACL and not PREFIX-LIST

Thanks in advance


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Peter Paluch Thu, 08/06/2009 - 10:24
User Badges:
  • Cisco Employee,


I haven't analyzed your configuration in detail right now but I see a problem in your prefix-list.

The second line says:

ip prefix-list FILT-PL seq 10 permit

Obviously, you wanted to write something similar to "permit any". However, the correct syntax in prefix-lists for this is:

ip prefix-list FILT-PL seq 10 permit le 32

In other words, any network (anything AND 0 = 0) with any mask (from /0 to /32).

Try it with this prefix-list and let us know if it worked for you.

Best regards,


snarayanaraju Thu, 08/06/2009 - 10:41
User Badges:

Hi Peter,

Thanks for correcting the configuration, it is working. Great



This Discussion