Prefix Lists - Examples
Deny default route
- ip prefix-list Example deny 0.0.0.0/0
Permit the prefix 35.0.0.0/8
- ip prefix-list Example permit 35.0.0.0/8
Deny the prefix 172.16.0.0/12
- ip prefix-list Example deny 172.16.0.0/12
In 192/8 allow up to /24
- ip prefix-list Example permit 192.0.0.0/8 le 24
- This will allow all prefix sizes in 192.0.0.0/8 address block, except /25, /26, /27, /28, /29, /30, /31 and /32