Saturday, January 23, 2021

cisco prefix-list ge vs. le

We're a Juniper shop but have a few quagga instances here and there. Our prefix-lists are pretty straight forward and simple:

ip prefix-list CustomerA seq 5 permit 192.168.240.0/24
ip prefix-list CustomerA seq 10 permit 192.168.241.0/24
ip prefix-list CustomerA seq 15 permit 192.168.242.0/24
ip prefix-list CustomerA seq 20 permit 192.168.243.0/24
ip prefix-list CustomerA seq 25 permit 192.168.244.0/24
ip prefix-list CustomerA seq 30 permit 192.168.245.0/24
ip prefix-list CustomerA seq 35 permit 192.168.246.0/24
ip prefix-list CustomerA seq 40 permit 192.168.247.0/24

But the prefix-list can get very long, quick!

I need to add a /18 soon, that's 64 Class C's . Yikes!

Does the below prefix-list example match my prefix-list above?

ip prefix-list CustomerA seq 5 permit 192.168.240.0/21 le 24

Thank you in advance, your input is greatly appreciated!



No comments:

Post a Comment