Cyber Code Academy
Tutorials Academy Courses
Home / CCA-CCNP-Enterprise-Tutorials / Prefix Lists, ACLs, and Route Filtering

Prefix Lists, ACLs, and Route Filtering

Match precisely

ACLs can filter packets; prefix lists are designed to match IP prefixes and prefix lengths for routing policy. For example, 10.0.0.0/8 le 24 matches subnets within 10/8 up to /24, while exact-prefix matches should be used when that is the intent.

ip prefix-list SITE-A seq 10 permit 10.10.0.0/16 le 24
ip prefix-list SITE-A seq 100 deny 0.0.0.0/0 le 32

Prefix lists have implicit deny behavior. Validate the intended match set carefully before applying to a production neighbor.

Quick revision

  • Explain the concept in your own words.
  • Run the relevant verification commands in a lab.
  • Record one common failure and how you would isolate it.

Want to learn this professionally?

Explore practical IT training at Cyber Code Academy.

View Academy Courses