BGP - Route-Map - Prefix-List


I’m playing about with route-maps and prefix-list and assigning the route-map to my BGP configuration in my lab. I have aggregate address of and i would like advertise routes that are greater than /24 only. However when i change seq 10 permit le 32 to permit ge 24 my routes stop be advertised. All i would like to do in my test is stop advertising this prefix and allow those prefixes that are /29, /32. I will be adding /25, /26 etc at a later date once i understand this problem.

Could you please help me understand what i’m doing wrong and is there away of doing this

ip prefix-list PL-LAB-OUT: 3 entries
   seq 5 deny
   seq 10 permit le 32

router bgp 40002
 bgp log-neighbor-changes
 neighbor remote-as 40001
 address-family ipv4
  network mask
  aggregate-address as-set summary-only
  neighbor activate
  neighbor soft-reconfiguration inbound
  neighbor route-map RM-LAB-PRI-OUT out

Gateway of last resort is to network

B* [20/0] via, 01:14:45 is subnetted, 1 subnets
B [20/0] via, 01:14:45 is variably subnetted, 2 subnets, 2 masks
C is directly connected, GigabitEthernet0/1
L is directly connected, GigabitEthernet0/1 is variably subnetted, 12 subnets, 5 masks
B [200/0], 00:51:49, Null0
C is directly connected, Loopback5
C is directly connected, GigabitEthernet0/0
L is directly connected, GigabitEthernet0/0
C is directly connected, Vlan200
L is directly connected, Vlan200
O [110/2] via, 01:13:35, Vlan200
C is directly connected, Vlan201
L is directly connected, Vlan201
O [110/2] via, 01:13:45, Vlan201
C is directly connected, Vlan10
L is directly connected, Vlan10

Kind Regards

Hello Thomas

Can you also share with us the configuration of the route-map named RM-LAB-PRI-OUT? Once you share that we’ll be able to respond more appropriately.

Looking forward to hearing from you!