# How to configure Prefix-List on Cisco Router

**URL:** <https://forum.networklessons.com/t/how-to-configure-prefix-list-on-cisco-router/944>\
**Category:** Lessons Discussion\
**Created:** [December 24, 2016, 6:18pm UTC](https://forum.networklessons.com/t/how-to-configure-prefix-list-on-cisco-router/944 "2016-12-24T18:18:27Z")\
**Posts on this page:** 1\
**Showing post:** 52

<div class="post-metadata">

**Author:** ![alex.w.deel](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/alex.w.deel/32/1085_2.png) [@alex.w.deel](https://forum.networklessons.com/u/alex.w.deel)\
**Post date:** [July 24, 2018, 11:56pm UTC](https://forum.networklessons.com/t/how-to-configure-prefix-list-on-cisco-router/944/52 "2018-07-24T23:56:32Z")

</div>

Rene,

I currently have set up R2 connected to R4.  
R4 is advertising in EIGRP:  
192.168.0.1/24  
192.168.1.1/30 (255.255.255.252)  
192.168.2.1/29 (255.255.255.248  
192.168.3.1/28 (255.255.255.240)

I’m simply just practicing with prefix-list and wanted to filter out the /30 /29 /28 routes, and only advertise the /24

On R4 I have done:

```
R4(config#) ip prefix-list test deny 192.168.0.0/16 ge 28 le 30
R4(config#) ip prefix-list test permit 0.0.0.0/0 le 32

R4(config-router#) distribute-list test out serial0/0/0

```

However, R2 is still showing all of the above mentioned routes in its routing table. I also tried filtering the same routes IN on R2 but to no effect. Where am I going wrong?

Thank you so much!

---

_[View the full topic](https://forum.networklessons.com/t/how-to-configure-prefix-list-on-cisco-router/944)._
