IP Prefix List Question

From: Mohammad Saeed (mzsaeed@gmail.com)
Date: Sun Dec 17 2006 - 04:39:25 ART


Hello Every Body,
Here is the configuration...

conf t
!
ip prefix-list VLAN45 seq 5 permit 150.1.4.0/23
!
route-map ADDASPATH permit 10
 match ip address prefix-list VLAN45
 set as-path prepend 100 100 100
!
route-map ADDASPATH permit 20
router bgp 100
neighbor 204.12.1.254 route-map ADDASPATH out
end
wr

Now as per my understanding above IP prefix-list shall match 150.1.4.0
and 150.1.5.0. But if IP Prefix list is like this:

ip prefix-list VLAN45 seq 5 permit 150.1.4.0/23 le 24

what diffirence it will make?

And if it is like this:

ip prefix-list VLAN45 seq 5 permit 150.1.4.0/24
ip prefix-list VLAN45 seq 5 permit 150.1.5.0/24
route-map ADDASPATH permit 10
 match ip address prefix-list VLAN45
 set as-path prepend 100 100 100

Would the abobe route map will prepend 100 100 100 for both networks
or it will add only for the first one?

Thanks for any help in advance.

Regards,

Mohamamd Zahid Saeed



This archive was generated by hypermail 2.1.4 : Tue Jan 02 2007 - 07:50:38 ART